lox/crates/lox-distributor/Cargo.toml

55 lines
2.0 KiB
TOML

[package]
name = "lox-distributor"
version = "0.1.0"
authors = ["The Tor Project, Inc.", "Lindsey Tulloch <onyinyang@torproject.org", "Cecylia Bocovich <cohosh@torproject.org>"]
edition = "2021"
rust-version = "1.65.0"
license = "MIT"
homepage = "https://gitlab.torproject.org/tpo/anti-censorship/lox/-/wikis/home"
description = "Tool for receving Tor bridges from rdsys and distributing them to users"
keywords = ["tor", "lox", "bridges","anti-censorship", "distributor"]
categories = ["web-programming::http-server"]
repository = "https://gitlab.torproject.org/tpo/anti-censorship/lox/-/tree/main/crates/lox-distributor"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
julianday = "1.2.0"
base64 = "0.22.0"
hyper = { version = "0.14.28", features = ["deprecated", "backports","server"] }
hex = "0.4.3"
hex_fmt = "0.3"
futures = "0.3.30"
time = "0.3.36"
tokio = { version = "1", features = ["full", "macros", "signal"] }
rand = "0.8.5"
reqwest = { version = "0.11", features = ["json", "stream"]}
serde = { version = "1.0", features = ["derive", "rc"] }
serde_with = "3.7.0"
lox-zkp = { git = "https://gitlab.torproject.org/onyinyang/lox-zkp", version = "0.8.0" }
lox-library = { path = "../lox-library", version = "0.1.0"}
lox_utils = { path = "../lox-utils", version = "0.1.0"}
rdsys_backend = { path = "../rdsys-backend-api", version = "0.2"}
clap = { version = "4.5.4", features = ["derive"] }
serde_json = "1.0.113"
prometheus = "0.13.3"
sled = "0.34.7"
prometheus-client = "0.22.2"
thiserror = "1"
curve25519-dalek = { version = "4", default-features = false, features = ["serde", "rand_core", "digest"] }
troll-patrol = { git = "https://git-crysp.uwaterloo.ca/vvecna/troll-patrol.git", version = "0.1.0" }
array-bytes = "6.2.0"
sha1 = "0.10"
memory-stats = "1.0.0"
[dependencies.chrono]
version = "0.4.38"
features = ["serde"]
[features]
# We need the simulation feature of troll-patrol to fake time while
# deserializing reports
simulation = ["troll-patrol/simulation"]