# 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 = "2018" name = "svc-authn" version = "0.8.0" authors = ["Andrei Nesterov "] description = "An authentication library." readme = "README.md" keywords = [ "authentication", "authn", "middleware", "jwt", "bearer", ] categories = [ "authentication", "web-programming", ] license = "MIT" repository = "https://github.com/foxford/svc-authn-rs" [[bin]] name = "svc-authn-cli" path = "src/bin/cli/main.rs" required-features = ["cli"] [dependencies.atty] version = "0.2" optional = true [dependencies.chrono] version = "0.4" features = ["serde"] optional = true [dependencies.config] version = "0.13" optional = true [dependencies.diesel] version = "1" features = ["postgres"] optional = true [dependencies.dirs] version = "5" optional = true [dependencies.http] version = "0.2" optional = true [dependencies.jsonwebtoken] version = "7" optional = true [dependencies.serde] version = "1" [dependencies.serde_derive] version = "1" [dependencies.serde_json] version = "1" optional = true [dependencies.sqlx] version = "0.6" features = ["runtime-tokio-native-tls"] optional = true [dependencies.structopt] version = "0.3" optional = true [dependencies.toml] version = "0.7" optional = true [features] bearer = ["http"] cli = [ "dirs", "jose", "structopt", "toml", "atty", "serde_json", "config", ] default = [] jose = [ "bearer", "chrono", "jsonwebtoken", ]