-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
85 lines (77 loc) · 2.57 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
[package]
name = "dcap-qvl"
version = "0.1.5"
edition = "2021"
license = "MIT"
description = "This crate implements the quote verification logic for DCAP (Data Center Attestation Primitives) in pure Rust."
authors = ["Kevin Wang <[email protected]>"]
[dependencies]
hex = { version = "0.4", default-features = false, features = ["alloc"] }
serde = { version = "1", default-features = false, features = ["derive"] }
base64 = { version = "0.21", default-features = false, features = ["alloc"] }
scale = { package = "parity-scale-codec", version = "3.6.5", default-features = false, features = [
"derive",
] }
scale-info = { version = "2", default-features = false, features = ["derive"] }
chrono = { version = "0.4.31", default-features = false, features = [
"alloc",
"serde",
] }
const-oid = { version = "0.9.5", default-features = false }
x509-cert = { version = "0.2.4", default-features = false }
byteorder = { version = "1.5.0", default-features = false }
pem = { version = "3", default-features = false }
asn1_der = { version = "0.7", default-features = false, features = [
"native_types",
] }
der = { version = "0.7.8", default-features = false, features = ["alloc"] }
log = { version = "0.4.20", default-features = false }
anyhow = { version = "1", optional = true }
ring = { version = "0.17", default-features = false, features = [
"alloc",
] }
reqwest = { version = "0.11.27", optional = true, default-features = false, features = [
"rustls-tls",
"blocking",
"hickory-dns",
] }
urlencoding = { version = "2", optional = true }
serde_json = { version = "1.0.108", optional = true, features = [
"preserve_order",
] }
tracing = { version = "0.1", optional = true }
futures = { version = "0.3", optional = true }
getrandom = { version = "0.2", optional = true, features = ["js"] }
serde-wasm-bindgen = { version = "0.4", optional = true}
wasm-bindgen = { version = "0.2.95", optional = true }
serde_bytes = { version = "0.11" }
[dependencies.webpki]
version = "0.102.8"
package = "rustls-webpki"
default-features = false
features = ["alloc", "ring"]
[dev-dependencies]
insta = "1"
tokio = { version = "1", features = ["full"] }
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["std", "report"]
std = [
"serde/std",
"scale/std",
"scale-info/std",
"ring/std",
"webpki/std",
"const-oid/std",
"pem/std",
"asn1_der/std",
"der/std",
"serde_json",
"anyhow",
"reqwest",
"urlencoding",
]
report = ["std", "tracing", "futures"]
js = ["ring/wasm32_unknown_unknown_js", "getrandom", "serde-wasm-bindgen", "wasm-bindgen"]
hex-bytes = []