Skip to content

Dependency version regressions in v0.2.1 #1

@sedbytes

Description

@sedbytes

I added versioning to swim crate local dependencies in f480af2 which introduced a regression in published crates.io version.

The published version is unable to locate newly re-exported types:

error[E0433]: failed to resolve: could not find `routerify` in `swim_core`
   --> /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/swim-0.2.1/src/lib.rs:155:24
    |
155 |     pub use swim_core::routerify::ext::RequestExt;
    |                        ^^^^^^^^^ could not find `routerify` in `swim_core`

error[E0432]: unresolved import `swim_core::async_trait`
   --> /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/swim-0.2.1/src/lib.rs:154:13
    |
154 |     pub use swim_core::async_trait;
    |             ^^^^^^^^^^^^^^^^^^^^^^ no `async_trait` in the root

error[E0432]: unresolved import `swim_core::async_trait`
   --> /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/swim-0.2.1/src/lib.rs:166:9
    |
166 | pub use swim_core::async_trait;
    |         ^^^^^^^^^^^^^^^^^^^^^^ no `async_trait` in the root
    |
help: consider importing this unresolved item instead
    |
166 | pub use crate::prelude::async_trait;
    |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error[E0432]: unresolved import `swim_core::hyper`
   --> /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/swim-0.2.1/src/lib.rs:167:9
    |
167 | pub use swim_core::hyper;
    |         ^^^^^^^^^^^^^^^^ no `hyper` in the root

error[E0432]: unresolved import `swim_core::routerify`
   --> /home/syed/.cargo/registry/src/github.com-1ecc6299db9ec823/swim-0.2.1/src/lib.rs:168:9
    |
168 | pub use swim_core::routerify;
    |         ^^^^^^^^^^^^^^^^^^^^ no `routerify` in the root

Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `swim` due to 5 previous errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions