forked from graze-social/aip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (68 loc) · 2.6 KB
/
Copy pathCargo.toml
File metadata and controls
79 lines (68 loc) · 2.6 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "aip"
version = "0.1.0"
edition = "2024"
rust-version = "1.89"
[[bin]]
name = "aip"
path = "src/bin/aip.rs"
[[bin]]
name = "aip-client-management"
path = "src/bin/aip-client-management.rs"
[lib]
name = "aip"
path = "src/lib.rs"
[dependencies]
axum = { version = "0.8" }
atproto-identity = { version = "0.11.3", features = ["lru", "zeroize", "hickory-dns"] }
atproto-oauth = { version = "0.11.3", features = ["lru", "zeroize", "hickory-dns"] }
atproto-oauth-axum = { version = "0.11.3", features = ["zeroize"] }
atproto-client = { version = "0.11.3" }
atproto-xrpcs = { version = "0.11.3", features = ["hickory-dns"] }
axum-template = { version = "3.0", features = ["minijinja"] }
minijinja = { version = "2.7", features = ["builtins"] }
minijinja-autoreload = { version = "2.7", optional = true }
minijinja-embed = { version = "2.7", optional = true }
rust-embed = { version = "8.5", optional = true }
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "chrono", "json"], optional = true }
redis = { version = "0.27", optional = true }
deadpool = { version = "0.12", optional = true }
deadpool-redis = { version = "0.18", optional = true }
anyhow = "1.0"
thiserror = "1.0"
tokio = { version = "1.41", features = ["macros", "rt", "rt-multi-thread", "fs", "signal", "sync"] }
tokio-util = { version = "0.7", features = ["rt"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
clap = { version = "4.4", features = ["derive"] }
tower = { version = "0.5", features = ["util"] }
tower-http = { version = "0.5", features = ["fs", "cors", "trace"] }
reqwest = { version = "0.12", default-features = false, features = ["charset", "http2", "system-proxy", "json", "rustls-tls"] }
async-trait = "0.1"
http = "1.0"
# OAuth 2.1 dependencies
base64 = "0.22"
uuid = { version = "1.11", features = ["v4", "serde"] }
ulid = { version = "1.1", features = ["serde"] }
url = "2.5"
sha2 = "0.10"
rand = "0.8"
time = { version = "0.3", features = ["serde"] }
chrono = { version = "0.4", features = ["serde"] }
metrohash = "1.0.7"
crockford = "1.2.1"
duration-str = "0.11"
[dev-dependencies]
axum-test = "15"
futures = "0.3"
[build-dependencies]
minijinja-embed = {version = "2.7", optional = true}
[features]
default = ["reload", "redis", "postgres"]
embed = ["dep:minijinja-embed", "dep:rust-embed"]
reload = ["dep:minijinja-autoreload", "minijinja/loader", "axum-template/minijinja-autoreload"]
sqlite = ["dep:sqlx", "sqlx/sqlite"]
postgres = ["dep:sqlx", "sqlx/postgres"]
redis = ["dep:redis", "dep:deadpool", "dep:deadpool-redis"]