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
|
[package]
name = "arti-ureq"
version = "0.42.0"
edition = "2024"
rust-version = "1.89"
authors = ["The Tor Project, Inc.", "Niel Duysters"]
license = "MIT OR Apache-2.0"
description = "Library to use Arti in the ureq http client"
keywords = ["ureq", "http", "client"]
categories = ["network-programming"]
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
[dependencies]
arti-client = { path = "../arti-client", version = "0.42.0" }
async-std = { version = "1.7.0", optional = true }
educe = "0.4.6"
futures = "0.3.14"
thiserror = "2"
tokio = { version = "1.7", optional = true }
tor-error = { path = "../tor-error", version = "0.42.0" }
tor-proto = { path = "../tor-proto", features = [ "stream-ctrl" ], version = "0.42.0" }
tor-rtcompat = { path = "../tor-rtcompat", default-features = false, version = "0.42.0" }
# We rely on some of the APIs in ureq::unversioned, which are allowed to have semver
# breaks between minor releases of ureq. Therefore, we use a tilde here, so that
# we will only get patchlevel updates.
#
# See https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2724#note_3162496
ureq = { version = "~3.3.0", default-features = false, features = ["rustls-no-provider", "platform-verifier"] }
[dev-dependencies]
serde_json = "1.0.104"
test-temp-dir = { version = "0.7.0", path = "../test-temp-dir" }
[features]
default = ["native-tls", "tokio"]
rustls = ["ureq/rustls", "tor-rtcompat/rustls"]
native-tls = ["ureq/native-tls", "tor-rtcompat/native-tls"]
tokio = ["tor-rtcompat/tokio", "dep:tokio"]
async-std = ["tor-rtcompat/async-std", "dep:async-std"]
full = [
"arti-client/full",
"tor-error/full",
"tor-proto/full",
"tor-rtcompat/full",
"native-tls",
"tokio",
"async-std",
"rustls",
]
__is_nonadditive = []
[package.metadata.docs.rs]
all-features = true
|