# 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 = "citadel_user" version = "0.11.3" authors = ["Thomas Braun "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "User backend library for the Citadel Protocol" homepage = "https://avarok.net/" readme = "README.md" categories = [ "cryptography", "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Avarok-Cybersecurity/Citadel-Protocol" [lib] name = "citadel_user" path = "src/lib.rs" doctest = false [[test]] name = "crypto" path = "tests/crypto.rs" [[test]] name = "primary" path = "tests/primary.rs" [dependencies.async-trait] version = "0.1.61" default-features = false [dependencies.bincode] version = "1.3.3" default-features = false [dependencies.bstr] version = "1.1.0" features = [ "alloc", "unicode", ] default-features = false [dependencies.bytes] version = "1.3.0" default-features = false [dependencies.chrono] version = "0.4.23" features = ["clock"] default-features = false [dependencies.citadel_crypt] version = "0.11.2" default-features = false [dependencies.citadel_types] version = "0.11.2" default-features = false [dependencies.firebase-rtdb] version = "0.11.2" optional = true default-features = false [dependencies.futures] version = "0.3.25" features = [ "alloc", "executor", ] default-features = false [dependencies.itertools] version = "0.11.0" features = ["use_alloc"] optional = true default-features = false [dependencies.jwt] version = "0.16.0" features = ["openssl"] optional = true default-features = false [dependencies.log] version = "0.4.17" default-features = false [dependencies.mobc] version = "0.8.1" features = ["tokio"] optional = true default-features = false [dependencies.multimap] version = "0.9.0" features = ["serde_impl"] default-features = false [dependencies.openssl] version = "0.10.46" optional = true default-features = false [dependencies.parking_lot] version = "0.12.1" features = ["serde"] [dependencies.rand] version = "0.8.5" default-features = false [dependencies.redis-base] version = "0.23.0" features = [ "tokio-comp", "tokio-native-tls-comp", ] optional = true package = "redis" [dependencies.serde] version = "1.0.152" features = [ "rc", "derive", ] default-features = false [dependencies.serde_json] version = "1.0.91" features = ["alloc"] default-features = false [dependencies.sha3] version = "0.10" default-features = false [dependencies.sqlx] version = "0.7.2" features = [ "all-databases", "runtime-tokio-native-tls", ] optional = true [dependencies.tokio] version = "1.36.0" features = ["io-util"] [dependencies.tokio-stream] version = "0.1.11" optional = true default-features = false [dependencies.tokio-util] version = "0.7.4" features = ["io"] optional = true default-features = false [dependencies.uuid] version = "1.2.2" features = ["v4"] default-features = false [features] default = [ "filesystem", "std", ] filesystem = [ "citadel_crypt/filesystem", "tokio-util", "tokio-stream", ] google-services = [ "openssl", "jwt", "firebase-rtdb", ] jwt-testing = [] localhost-testing = [] redis = [ "redis-base", "mobc", ] sql = [ "sqlx", "itertools", ] std = [ "citadel_crypt/std", "tokio/fs", "rand/std", "sha3/std", "bstr/std", ] vendored = ["openssl/vendored"] wasm = ["citadel_crypt/wasm"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(coverage)"]