# 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 = "kvarn-auth" version = "0.2.0" description = "JWT authentication for Kvarn" homepage = "https://github.com/Icelk/kvarn-auth/" readme = "README.md" keywords = [ "authentication", "jwt", "token", "kvarn", ] categories = [ "authentication", "algorithms", "web-programming", ] license = "Apache-2.0" repository = "https://github.com/Icelk/kvarn-auth/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.base64] version = "0.21" [dependencies.bincode] version = "2.0.0-rc.3" features = ["serde"] optional = true [dependencies.chacha20] version = "0.9" optional = true [dependencies.compact_str] version = "0.7" optional = true [dependencies.dashmap] version = "5.5" features = ["serde"] optional = true [dependencies.futures] version = "0.3" features = ["std"] default-features = false [dependencies.hmac] version = "0.12" optional = true [dependencies.kvarn] version = "0.6" default-features = false [dependencies.log] version = "0.4" [dependencies.p256] version = "0.13" features = ["ecdsa"] optional = true default-features = false [dependencies.rand] version = "0.8.5" [dependencies.rsa] version = "0.9" optional = true [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.sha2] version = "0.10" features = ["oid"] optional = true [dependencies.tokio] version = "1" optional = true [dependencies.xxhash-rust] version = "0.8" features = ["xxh3"] optional = true [features] default = [ "ecdsa", "structured", ] ecdsa = [ "p256", "chacha20", "sha2", ] hmac = [ "dep:hmac", "chacha20", "sha2", ] integration-fs = [ "serde/derive", "dashmap", "bincode", "compact_str/serde", "xxhash-rust", "tokio/fs", ] rsa = [ "dep:rsa", "sha2", ] structured = [ "serde", "serde_json", ]