# 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 = "authifier" version = "1.0.9" authors = ["Pawel Makles "] description = "Opinionated Rust authentication library" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/authifier/authifier" resolver = "1" [dependencies.async-std] version = "1.9.0" features = [ "tokio02", "tokio1", "attributes", ] optional = true [dependencies.async-trait] version = "0.1.56" [dependencies.base32] version = "0.4.0" [dependencies.bson] version = "2.2.0" optional = true [dependencies.chrono] version = "0.4.19" [dependencies.futures] version = "0.3.21" [dependencies.handlebars] version = "4.3.0" [dependencies.iso8601-timestamp] version = "0.1.10" [dependencies.lazy_static] version = "1.4.0" [dependencies.lettre] version = "0.10.0-alpha.4" [dependencies.log] version = "0.4" [dependencies.mongodb] version = "2.2.1" optional = true default-features = false [dependencies.nanoid] version = "0.4.0" [dependencies.rand] version = "0.8.5" [dependencies.regex] version = "1.3.9" [dependencies.reqwest] version = "0.11.10" features = ["json"] optional = true [dependencies.revolt_okapi] version = "0.9.1" optional = true [dependencies.revolt_rocket_okapi] version = "0.10.0" features = ["swagger"] optional = true [dependencies.rocket] version = "0.5.1" features = ["json"] optional = true default-features = false [dependencies.rust-argon2] version = "1.0.0" [dependencies.schemars] version = "0.8.8" optional = true [dependencies.serde] version = "1.0.116" features = ["derive"] [dependencies.serde_json] version = "1.0.81" [dependencies.totp-lite] version = "2.0.0" [dependencies.ulid] version = "0.5.0" [dependencies.validator] version = "0.15.0" [features] async-std-runtime = [ "async-std", "mongodb/async-std-runtime", ] database-mongodb = [ "mongodb", "bson", ] default = [ "async-std-runtime", "database-mongodb", "default_inbuilts", ] default_inbuilts = [ "pwned100k", "hcaptcha", "shield", ] have_i_been_pwned = [] hcaptcha = ["reqwest"] okapi_impl = [ "revolt_rocket_okapi", "revolt_okapi", "schemas", ] pwned100k = [] revolt_source_list = [] rocket_impl = ["rocket"] schemas = ["schemars"] shield = ["reqwest"]