summaryrefslogtreecommitdiff
path: root/crates/arti-ureq/Cargo.toml
blob: 7ff492b0f487f85fc39e3a7e988be27bc43d0fb8 (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
[package]
name = "arti-ureq"
version = "0.30.0"
edition = "2021"
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.30.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.30.0" }
tor-proto = { path = "../tor-proto", features = [ "stream-ctrl" ], version = "0.30.0" }
tor-rtcompat = { path = "../tor-rtcompat", default-features = false, version = "0.30.0" }
ureq = { version = "~3.0", default-features = false, features = ["rustls-no-provider", "platform-verifier"] }

[dev-dependencies]
serde_json = "1.0.104"
test-temp-dir = { version = "0.3.0", path = "../test-temp-dir" }

[features]
default = ["rustls", "tokio"]

rustls = ["ureq/rustls", "tor-rtcompat/rustls", "__is_nonadditive"]

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"]

__is_nonadditive = []