[package] name = "freedom-api" version = "2.0.0-rc1" edition = "2021" authors = ["Caleb Leinz "] description = "Freedom API for Rustaceans" license = "MIT" readme = "README.md" repository = "https://github.com/ATLAS-Space-Operations/rust-freedom-api" # Support for Async fn in traits rust-version = "1.75" [dependencies] async-stream = { version = "0.3.5" } bytes = { version = "1.7.1" } futures-core = { version = "0.3.30" } reqwest = { version = "0.12.4", features = ["json"]} serde = { version = "1.0.195", features = ["derive"] } serde_json = { version = "1.0.111" } thiserror = { version = "2.0.6" } time = { version = "0.3.36", features = ["macros", "parsing", "formatting"] } tracing = { version = "0.1.40" } url = { version = "2.5.0" } # Optional dependencies moka = { version = "0.12.3", features = ["future"], optional = true } # ATLAS internal dependencies freedom-config = { version = "1.0.0", features = ["serde"] } freedom-models = { version = "1.0.0", features = ["serde"] } [dev-dependencies] futures = { version = "0.3.30" } httpmock = { version = "0.7.0" } tokio = { version = "1.28.2", features = ["full"] } tokio-test = { version = "0.4.4"} tracing-test = { version = "0.2.4" } [features] caching = ["dep:moka", "serde/rc"] [[example]] name = "fetch_token"