2023-06-05 14:51:01 -04:00
|
|
|
[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"
|
2023-11-06 12:22:30 -05:00
|
|
|
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"
|
2023-11-23 11:57:04 -05:00
|
|
|
keywords = ["tor", "lox", "bridges","anti-censorship", "distributor"]
|
2023-11-06 12:22:30 -05:00
|
|
|
categories = ["web-programming::http-server"]
|
|
|
|
repository = "https://gitlab.torproject.org/tpo/anti-censorship/lox/-/tree/main/crates/lox-distributor"
|
2023-11-22 14:41:22 -05:00
|
|
|
readme = "README.md"
|
2023-06-05 13:24:42 -04:00
|
|
|
|
2023-06-05 14:51:01 -04:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2023-06-05 13:24:42 -04:00
|
|
|
|
2023-06-05 14:51:01 -04:00
|
|
|
[dependencies]
|
2023-06-06 20:27:49 -04:00
|
|
|
julianday = "1.2.0"
|
2024-03-13 14:11:46 -04:00
|
|
|
base64 = "0.22.0"
|
2024-01-08 19:24:46 -05:00
|
|
|
hyper = { version = "0.14.28", features = ["deprecated", "backports","server"] }
|
2024-03-12 11:31:31 -04:00
|
|
|
hex = "0.4.3"
|
2023-06-05 14:51:01 -04:00
|
|
|
hex_fmt = "0.3"
|
2024-02-12 10:10:39 -05:00
|
|
|
futures = "0.3.30"
|
2024-04-10 23:05:35 -04:00
|
|
|
time = "0.3.36"
|
2023-06-05 14:51:01 -04:00
|
|
|
tokio = { version = "1", features = ["full", "macros", "signal"] }
|
|
|
|
rand = "0.8.5"
|
2023-08-25 11:21:38 -04:00
|
|
|
reqwest = { version = "0.11", features = ["json", "stream"]}
|
2023-07-20 14:25:25 -04:00
|
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
2024-03-11 18:09:04 -04:00
|
|
|
serde_with = "3.7.0"
|
2023-11-23 11:44:05 -05:00
|
|
|
lox-zkp = { git = "https://gitlab.torproject.org/onyinyang/lox-zkp", version = "0.8.0" }
|
2023-06-23 08:19:19 -04:00
|
|
|
lox-library = { path = "../lox-library", version = "0.1.0"}
|
2023-06-05 18:26:59 -04:00
|
|
|
lox_utils = { path = "../lox-utils", version = "0.1.0"}
|
2023-06-29 10:17:11 -04:00
|
|
|
rdsys_backend = { path = "../rdsys-backend-api", version = "0.2"}
|
2024-03-25 17:11:47 -04:00
|
|
|
clap = { version = "4.5.4", features = ["derive"] }
|
2024-02-12 10:11:06 -05:00
|
|
|
serde_json = "1.0.113"
|
2023-10-30 12:54:59 -04:00
|
|
|
prometheus = "0.13.3"
|
2023-08-01 15:09:46 -04:00
|
|
|
sled = "0.34.7"
|
2024-03-07 05:37:29 -05:00
|
|
|
prometheus-client = "0.22.2"
|
2023-12-18 14:17:13 -05:00
|
|
|
thiserror = "1"
|
2024-03-15 02:30:57 -04:00
|
|
|
curve25519-dalek = { version = "4", default-features = false, features = ["serde", "rand_core", "digest"] }
|
2024-06-11 02:02:00 -04:00
|
|
|
troll-patrol = { git = "https://git-crysp.uwaterloo.ca/vvecna/troll-patrol.git", version = "0.1.0" }
|
2024-03-15 02:30:57 -04:00
|
|
|
array-bytes = "6.2.0"
|
|
|
|
sha1 = "0.10"
|
2023-06-06 20:27:49 -04:00
|
|
|
|
2024-06-04 06:27:59 -04:00
|
|
|
memory-stats = "1.0.0"
|
|
|
|
|
2023-06-06 20:27:49 -04:00
|
|
|
[dependencies.chrono]
|
2024-04-15 06:06:20 -04:00
|
|
|
version = "0.4.38"
|
2023-06-29 10:17:11 -04:00
|
|
|
features = ["serde"]
|
2024-05-31 10:58:26 -04:00
|
|
|
|
|
|
|
[features]
|
2024-07-08 12:01:45 -04:00
|
|
|
# We need the simulation feature of troll-patrol to fake time while
|
|
|
|
# deserializing reports
|
|
|
|
simulation = ["troll-patrol/simulation"]
|