-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
136 lines (117 loc) · 4.35 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[workspace]
resolver = "2"
members = [
"examples/certification/certified-counter/src/backend",
"examples/http-certification/assets/src/backend",
"examples/http-certification/custom-assets/src/backend",
"examples/http-certification/json-api/src/backend",
"examples/http-certification/skip-certification/src/backend",
"examples/http-certification/upgrade-to-update-call/src/rust-backend",
"packages/ic-asset-certification",
"packages/ic-cbor",
"packages/ic-certification",
"packages/ic-certificate-verification",
"packages/ic-certification-testing",
"packages/ic-http-certification",
"packages/ic-http-certification-tests",
"packages/ic-representation-independent-hash",
"packages/ic-response-verification",
"packages/ic-response-verification-test-utils",
"packages/ic-response-verification-tests/src/rust-tests",
"packages/ic-response-verification-wasm",
"packages/ic-certification-testing-wasm",
]
# https://github.com/rust-lang/cargo/issues/9406
# includes all members except those that must be compiled to WASM
default-members = [
"packages/ic-asset-certification",
"packages/ic-cbor",
"packages/ic-certification",
"packages/ic-certificate-verification",
"packages/ic-certification-testing",
"packages/ic-http-certification",
"packages/ic-http-certification-tests",
"packages/ic-representation-independent-hash",
"packages/ic-response-verification",
"packages/ic-response-verification-test-utils",
"packages/ic-response-verification-tests/src/rust-tests",
]
[workspace.package]
version = "2.6.0"
authors = ["DFINITY Stiftung"]
edition = "2021"
repository = "https://github.com/dfinity/response-verification"
homepage = "https://github.com/dfinity/response-verification#readme"
license = "Apache-2.0"
[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
[workspace.dependencies]
nom = "7.1"
leb128 = "0.2"
log = "0.4"
hex = "0.4"
base64 = "0.21"
http = "0.2"
flate2 = "1.0"
sha2 = "0.10"
urlencoding = "2.1"
rstest = "0.18"
rstest_reuse = "0.2"
tokio = { version = "1.35", features = ["full"] }
cached = "0.47"
lazy_static = "1.4"
parking_lot = "0.12"
assert_matches = "1.5"
serde_bytes = "0.11"
serde_cbor = "0.11"
thiserror = "1.0"
anyhow = "1.0"
candid = "0.10"
ic-agent = "0.31"
ic-utils = "0.31"
ic-cdk = "0.12"
ic-cdk-macros = "0.8"
wasm-bindgen = "0.2"
wasm-bindgen-test = "0.3"
serde-wasm-bindgen = "0.5"
js-sys = "0.3"
console_error_panic_hook = "0.1"
wasm-bindgen-console-logger = "0.1"
# https://github.com/rust-random/rand#wasm-support
# https://docs.rs/getrandom/latest/getrandom/#webassembly-support
rand = "0.8"
getrandom = { version = "0.2", features = ["js"] }
rand_chacha = "0.3"
ic-asset-certification = { path = "./packages/ic-asset-certification", version = "2.6.0" }
ic-certification = { path = "./packages/ic-certification", default-features = false, version = "2.6.0" }
ic-http-certification = { path = "./packages/ic-http-certification", version = "2.6.0" }
ic-certification-testing = { path = "./packages/ic-certification-testing" }
ic-representation-independent-hash = { path = "./packages/ic-representation-independent-hash", version = "2.6.0" }
ic-certificate-verification = { path = "./packages/ic-certificate-verification", version = "2.6.0" }
ic-response-verification = { path = "./packages/ic-response-verification", version = "2.6.0" }
ic-response-verification-test-utils = { path = "./packages/ic-response-verification-test-utils" }
ic-cbor = { path = "./packages/ic-cbor", version = "2.6.0" }
[workspace.dependencies.ic-types]
git = "https://github.com/dfinity/ic"
rev = "1290256484f59c3d950c5e9a098e97383b248ad6"
[workspace.dependencies.ic-crypto-tree-hash]
git = "https://github.com/dfinity/ic"
rev = "1290256484f59c3d950c5e9a098e97383b248ad6"
[workspace.dependencies.ic-crypto-internal-threshold-sig-bls12381]
git = "https://github.com/dfinity/ic"
rev = "1290256484f59c3d950c5e9a098e97383b248ad6"
[workspace.dependencies.ic-crypto-internal-seed]
git = "https://github.com/dfinity/ic"
rev = "1290256484f59c3d950c5e9a098e97383b248ad6"
[workspace.dependencies.ic-crypto-internal-types]
git = "https://github.com/dfinity/ic"
rev = "1290256484f59c3d950c5e9a098e97383b248ad6"
[workspace.dependencies.serde]
version = "1.0"
features = ["derive"]
[workspace.dependencies.miracl_core_bls12381]
version = "4.2"
default-features = false
features = ["std", "allow_alt_compress"]