-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathCargo.toml
65 lines (61 loc) · 1.94 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
[package]
name = "oasis-runtime-sdk"
version = "0.10.0"
authors = ["Oasis Protocol Foundation <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
[dependencies]
cbor = { version = "0.5.1", package = "oasis-cbor" }
oasis-core-runtime = { git = "https://github.com/oasisprotocol/oasis-core", tag = "runtime/v24.3-rt1" }
oasis-core-keymanager = { git = "https://github.com/oasisprotocol/oasis-core", tag = "runtime/v24.3-rt1" }
oasis-runtime-sdk-macros = { path = "../runtime-sdk-macros", optional = true }
# Third party.
async-trait = "0.1.77"
byteorder = "1.4.3"
curve25519-dalek = "4.1.3"
ed25519-dalek = { version = "2.0.0", features = ["digest", "hazmat"] }
x25519-dalek = { version = "2.0.1", features = ["static_secrets"] }
digest = "0.10.3"
hmac = "0.12.1"
sha2 = "0.10.8"
sha3 = { version = "0.10.1", default-features = false }
k256 = "0.13.1"
p256 = "0.13.2"
p384 = { version = "0.13.0", default-features = false, features = ["std", "ecdsa"] }
schnorrkel = "0.11.2"
merlin = "3.0.0"
thiserror = "1.0.61"
hex = "0.4.2"
anyhow = "1.0.86"
bech32 = "0.11.0"
num-traits = "0.2.14"
impl-trait-for-tuples = "0.2.1"
base64 = "0.22.1"
once_cell = "1.8.0"
rand = "0.8.5"
rand_core = { version = "0.6.4", default-features = false }
slog = "2.7.0"
tiny-keccak = { version = "2.0", features = ["tuple_hash"] }
tokio = { version = "1.38", features = ["rt", "rt-multi-thread", "sync", "time", "macros"] }
tokio-retry = "0.3.0"
zeroize = "1.8"
lru = "0.12.3"
[dev-dependencies]
blake3 = { version = "1.5.1", features = ["traits-preview"] }
[features]
default = ["oasis-runtime-sdk-macros"]
unsafe-allow-debug = []
test = []
# TDX build.
tdx = ["oasis-core-runtime/tdx"]
# Enables debug-level logging in release builds.
debug-logging = [
"oasis-core-runtime/debug-logging",
"slog/max_level_debug",
"slog/release_max_level_debug",
]
# Enables mock SGX in non-SGX builds.
debug-mock-sgx = [
"oasis-core-runtime/debug-mock-sgx",
"oasis-core-keymanager/debug-mock-sgx",
]