# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tower-casbin-auth" version = "0.1.2" authors = ["Omprakash Sridharan "] include = [ "/src", "LICENSE", ] description = "Casbin tower access control middleware" license = "Apache-2.0" repository = "https://github.com/omprakashsridharan/tower-casbin-auth" resolver = "2" [profile.dev] split-debuginfo = "unpacked" [profile.release] opt-level = 3 lto = true codegen-units = 1 [lib] name = "tower_casbin_auth" path = "src/lib.rs" [dependencies.casbin] version = "2.0.9" features = ["cached"] [dependencies.futures] version = "0.3" [dependencies.http] version = "0.2.8" [dependencies.hyper] version = "0.14.20" [dependencies.tokio] version = "1.20.1" [dependencies.tower] version = "0.4.13" [dependencies.tower-http] version = "0.3.4" features = ["auth"] [dev-dependencies.tokio] version = "1.17.0" features = ["full"]