forked from
microcosm.blue/microcosm-rs
Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
1[package]
2name = "constellation"
3version = "0.1.0"
4edition = "2021"
5default-run = "main"
6
7[dependencies]
8anyhow = "1.0.95"
9askama = { version = "0.12.1", features = ["serde-json"] }
10axum = "0.8.1"
11axum-extra = { version = "0.10.0", features = ["query", "typed-header"] }
12axum-metrics = "0.2"
13bincode = "1.3.3"
14clap = { version = "4.5.26", features = ["derive"] }
15ctrlc = "3.4.5"
16flume = { version = "0.11.1", default-features = false }
17fs4 = { version = "0.12.0", features = ["sync"] }
18headers-accept = "0.1.4"
19links = { path = "../links" }
20mediatype = "0.19.18"
21metrics = "0.24.1"
22metrics-exporter-prometheus = { version = "0.16.1", default-features = false, features = ["http-listener"] }
23metrics-process = "2.4.0"
24num-format = "0.4.4"
25ratelimit = "0.10.0"
26rocksdb = { version = "0.23.0", optional = true }
27serde = { version = "1.0.215", features = ["derive"] }
28serde_json = "1.0.139"
29serde_with = { version = "3.12.0", features = ["hex"] }
30tinyjson = "2.5.1"
31tokio-util = "0.7.13"
32tower-http = { version = "0.6.2", features = ["cors"] }
33zstd = "0.13.2"
34
35[dependencies.tokio]
36version = "1.44"
37features = ["full"]
38
39[dependencies.tungstenite]
40version = "0.26.1"
41features = ["native-tls"]
42
43[dev-dependencies]
44tempfile = "3.15.0"
45
46[features]
47default = ["rocks"]
48rocks = ["dep:rocksdb"]