-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
49 lines (44 loc) · 1.97 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
[package]
name = "tankersdk"
version = "0.1.0"
edition = "2021"
authors = ["Tanker Team"]
license = "Apache-2.0"
publish = ["tanker", "tanker-dev"]
include = ["native", "src", "tests", "build.rs"]
[dependencies]
futures = "0.3"
num_enum = "0.7.0"
lazy_static = "1.4"
tokio = { version = "1.12", features = ["sync"], default-features = false }
libloading = "0.8.1"
reqwest = { version = "0.12", features = ["rustls-tls"], default-features = false, optional = true }
bytes = { version = "1.1.0", optional = true }
[dev-dependencies]
tokio = { version = "1.12", features = ["macros", "rt-multi-thread"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
serde_json = "1.0"
double-checked-cell-async = "2.0.2"
rand = "0.8.5"
variant_count = "1.0"
blake2 = "0.10.2"
ed25519-dalek = { version = "2.0.0", features = ["rand_core"] }
x25519-dalek = { version = "2.0.0", features = ["static_secrets"] }
axum = "0.7.4"
tempfile = "3.3.0"
base64 = "0.22"
# This dep really depends on feature http, but can't express that due to https://github.com/rust-lang/cargo/issues/6915
async-std = { version = "1.12.0", features = ["attributes"] }
# Self reference to enable "test only" features
tankersdk = { path = ".", features = ["experimental-oidc"], default-features = false }
[features]
default = ["http"]
http = ["tokio/rt-multi-thread", "dep:reqwest", "dep:bytes"]
experimental-oidc = []
# Use system certificate store in addition to WebPKI roots.
# Rustls only supports the sytem store on Windows/Linux/Mac, but this feature also enables the SSL_CERT_FILE env var.
# If you use self-signed certificates, enable this feature and add your cert to SSL_CERT_FILE or to the system store.
http-system-certs = ["http", "reqwest?/rustls-tls-native-roots"]
# For mobile targets, the crate normally links statically with the platform's C++ stdlib
# If you want to provide your own c++ stdlib instead of using the crate's vendored version, enable this feature
without_vendored_libcxx = []