forked from ATLAS-Space-Operations/rust-freedom-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (37 loc) · 1.28 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "freedom-api"
version = "1.1.0"
edition = "2021"
authors = ["Caleb Leinz <[email protected]>"]
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 = "1.0.56" }
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"