summaryrefslogtreecommitdiffhomepage
path: root/talpid-tunnel-config-client/Cargo.toml
blob: 04c7968050fcaafdb61c280e1114bee1f259e0a1 (plain)
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
[package]
name = "talpid-tunnel-config-client"
description = "Uses the relay RPC service to set up PQ-safe peers, etc."
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[dependencies]
log = { workspace = true }
# Upgrading to rand 0.9 is blocked on ml-kem dropping their dependency on rand_core 0.6 (as of ml-kem 0.21)
rand = "0.8"
talpid-types = { path = "../talpid-types" }
tonic = { workspace = true }
tower = { workspace = true }
prost = { workspace = true }
hyper-util = { workspace = true }
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

ml-kem = { version = "0.2.1", features = ["zeroize"] }
pqcrypto-traits = "0.3.5"
# This is a wrapper to the C implementation of HQC in PQClean.
# Keep eyes open for alternatives, preferably pure Rust implementations.
pqcrypto-hqc = { version = "0.2.1", default-features = false }
sha2 = { workspace = true }
zeroize = "1.5.7"

[target.'cfg(unix)'.dependencies]
nix = { workspace = true, features = ["socket"] }

[build-dependencies]
tonic-build = { workspace = true, default-features = false, features = [
    "transport",
    "prost",
] }

[target.'cfg(target_os = "ios")'.dependencies]
oslog = "0.2"

[lib]
crate-type = ["staticlib", "rlib"]