Skip to content

Disabling axum feature renders the crate inoperable #48

@blind-oracle

Description

@blind-oracle

Due to an upgrade to axum 0.8 and incompatibility of tower-governor with it yet I wanted to disable the feature, but then crate fails to build:

error[E0433]: failed to resolve: use of undeclared crate or module `axum`
 --> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower_governor-0.5.0/src/governor.rs:5:5
  |
5 | use axum::body::Body;
  |     ^^^^ use of undeclared crate or module `axum`

error[E0433]: failed to resolve: use of undeclared crate or module `axum`
  --> /Users/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower_governor-0.5.0/src/lib.rs:12:5
   |
12 | use axum::body::Body;
   |     ^^^^ use of undeclared crate or module `axum`

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