# 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 = "aliri_tokens" version = "0.3.2" authors = ["Marcus Griep "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Background token management and renewal based on best practices" readme = "README.md" keywords = [ "jwt", "oauth2", "auth", ] categories = ["authentication"] license = "MIT OR Apache-2.0" repository = "https://github.com/neoeinstein/aliri" resolver = "2" [package.metadata.docs.rs] rustc-args = [ "--cfg", "docsrs", ] [lib] name = "aliri_tokens" path = "src/lib.rs" [[example]] name = "periodic_refresh" path = "examples/periodic_refresh.rs" [dependencies.aliri] version = "0.6.4" [dependencies.aliri_braid] version = "0.4.0" [dependencies.aliri_clock] version = "0.1.4" [dependencies.async-trait] version = "0.1.79" [dependencies.rand] version = "0.8.5" optional = true [dependencies.reqwest] version = "0.12" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "time", "io-util", ] [dependencies.tracing] version = "0.1.40" [dev-dependencies.clap] version = "4.5.4" features = [ "derive", "env", ] [dev-dependencies.color-eyre] version = "0.6" [dev-dependencies.dotenvy] version = "0.15.7" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", ] [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "env-filter", ] [features] default = [ "file", "oauth2", "rand", ] file = [ "serde_json", "tokio/fs", ] oauth2 = ["reqwest"]