This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
89 lines (82 loc) · 2.24 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[package]
name = "lightarti-rest"
version = "0.4.5"
authors = [
"Linus Gasser <[email protected]>",
"Laurent Girod <[email protected]>",
"Christian Grigis <[email protected]>",
"Valérian Rousset <[email protected]>",
]
edition = "2021"
license-file = "LICENSE"
description = "Simple wrapper around arti to enable mobile apps to make anonymous requests via Tor"
repository = "https://github.com/c4dt/lightarti-rest"
keywords = [
"anonymity",
"privacy",
"tor",
]
categories = [
"cryptography",
"web-programming::http-client",
]
[lib]
crate-type = ["cdylib", "lib", "staticlib"]
[dependencies]
arti-client = { version = "0.10.2", default-features = false, features = [
"error_detail",
"experimental-api",
"rustls",
"tokio",
] }
tor-checkable = "0.5.5"
tor-circmgr = "0.11.0"
tor-config = "0.9.5"
tor-dirmgr = { version = "0.11.2", features = [
"experimental-api",
"static",
] }
tor-llcrypto = "0.5.5"
tor-netdir = "0.9.5"
tor-netdoc = { version = "0.9.0", features = [
"experimental-api",
] }
tor-rtcompat = { version = "0.9.5", features = [
"rustls",
"tokio",
] }
anyhow = "1"
arkiv = { version = "0.7.0", features = ["tar", "gzip"] }
async-trait = "0.1"
futures = "0.3"
hex = "0.4"
http = "0.2"
httparse = "1"
postage = { version = "0.5", default-features = false, features = [
"futures-traits",
] }
rand = "0.8"
reqwest = { version = "0.11.22", default-features = false, features = ["rustls-tls"] }
serde_json = "1"
signature = ">= 2.0, < 2.1" # https://github.com/dalek-cryptography/curve25519-dalek/blob/e6675c67ceadecc3e22b561296490f4b7de9ff39/ed25519-dalek/Cargo.toml#L31
tempfile = "3.8.1"
time = { version = "0.3.30", features = ["std"] }
tokio = { version = "1", features = ["full"] }
tokio-rustls = "0.23"
tracing = "0.1"
url = "2"
webpki-roots = "0.22"
[dev-dependencies]
tempdir = "0.3"
tracing-subscriber = "0.3"
tracing-log = "0.1"
[target.'cfg(target_os="android")'.dependencies]
jni = "0.20"
android_logger = "0.11"
tracing = { version = "0.1", features = ["log"] }
[target.'cfg(target_os = "ios")'.dependencies]
core-foundation = "0.9"
tracing-subscriber = "0.3"
[profile.release]
opt-level = "s" # reduce library size
lto = "fat" # use system linker (needed for iOS)