-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
46 lines (43 loc) · 1.52 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
44
45
46
[package]
name = "ohttp-relay"
version = "0.0.9"
authors = ["Dan Gould <[email protected]>"]
description = "Relay Oblivious HTTP requests to protect IP metadata"
repository = "https://github.com/payjoin/ohttp-relay"
readme = "README.md"
keywords = ["ohttp", "privacy"]
categories = ["web-programming", "network-programming"]
license = "MITNFA"
edition = "2021"
rust-version = "1.63.0"
resolver = "2"
exclude = ["tests"]
[features]
default = ["bootstrap"]
bootstrap = ["connect-bootstrap", "ws-bootstrap"]
connect-bootstrap = []
ws-bootstrap = ["futures", "hyper-tungstenite", "rustls", "tokio-tungstenite"]
_test-util = []
[dependencies]
futures = { version = "0.3", optional = true }
http = "1"
http-body-util = "0.1"
hyper = { version = "1", features = ["http1", "server"] }
hyper-rustls = { version = "0.26", features = ["webpki-roots"] }
hyper-tungstenite = { version = "0.13", optional = true }
hyper-util = { version = "0.1", features = ["client-legacy"] }
once_cell = "1"
rustls = { version = "0.22", optional = true }
tokio = { version = "1", features = ["io-std", "macros", "net", "rt-multi-thread"] }
tokio-tungstenite = { version = "0.21", optional = true }
tokio-util = { version = "0.7", features = ["net", "codec"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
[dev-dependencies]
hex = { package = "hex-conservative", version = "0.1.1" }
rcgen = "0.12"
tempfile = "3"
tokio = { version = "1", features = ["process"] }
tokio-rustls = "0.25"
ureq = "=2.9.6"
uuid = { version = "0.8", features = ["v4"] }