# 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 = "axum-casbin-auth" version = "2.0.1" authors = ["Omprakash Sridharan "] include = [ "/src", "LICENSE", "/examples/*", "/casbin/*", ] description = "Casbin axum access control middleware" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/omprakashsridharan/axum-casbin-auth" [profile.dev] split-debuginfo = "unpacked" [profile.release] opt-level = 3 lto = true codegen-units = 1 [lib] name = "axum_casbin_auth" path = "src/lib.rs" [[bin]] name = "restful" path = "./examples/restful_model/main.rs" [dependencies.axum] version = "0.6.6" features = ["headers"] [dependencies.casbin] version = "2.0.9" features = ["cached"] [dependencies.chrono] version = "0.4.22" [dependencies.futures] version = "0.3" [dependencies.http-body] version = "0.4.5" [dependencies.jsonwebtoken] version = "8.1.1" [dependencies.pin-project-lite] version = "0.2.9" [dependencies.serde] version = "1.0.143" [dependencies.serde_json] version = "1.0.83" [dependencies.tokio] version = "1.20.1" features = ["full"] [dependencies.tower] version = "0.4.13" [dev-dependencies.tokio] version = "1.20.1" features = ["full"]