-
Notifications
You must be signed in to change notification settings - Fork 39
/
Cargo.toml
77 lines (70 loc) · 2.28 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
[package]
name = "soroban-env-host"
description = "Soroban contract host environment."
homepage = "https://github.com/stellar/rs-soroban-env"
repository = "https://github.com/stellar/rs-soroban-env"
authors = ["Stellar Development Foundation <info@stellar.org>"]
license = "Apache-2.0"
version.workspace = true
readme = "../README.md"
edition = "2021"
rust-version = "1.70"
[dependencies]
soroban-native-sdk-macros = { workspace = true }
soroban-env-common = { workspace = true, features = ["std", "wasmi"] }
stellar-strkey = { workspace = true }
wasmi = { workspace = true }
static_assertions = "1.1.0"
sha2 = "0.9.0"
ed25519-dalek = "1.0.1"
# NB: this must match the same curve25519 version used by ed25519-dalek above
curve25519-dalek = "3.0.0"
# NB: this must match the same rand version used by ed25519-dalek above
rand = "0.7.3"
# NB: this must match the same rand_chacha version used by ed25519-dalek above
rand_chacha = "0.2.2"
hex = "0.4.3"
num-traits = "0.2.15"
num-integer = "0.1.45"
num-derive = "0.3.3"
log = "0.4.17"
backtrace = "0.3"
k256 = {version = "0.13.1", features=["ecdsa", "arithmetic"]}
# NB: getrandom is a transitive dependency of k256 which we're not using directly
# but we have to specify it here in order to enable its 'js' feature which
# is needed to build the host for wasm (a rare but supported config).
getrandom = { version = "0.2", features=["js"] }
sha3 = "0.10.8"
[dev-dependencies]
env_logger = "0.9.0"
itertools = "0.10.3"
log = "0.4.17"
tracking-allocator = "0.4.0"
tabwriter = "1.2.1"
thousands = "0.2.0"
soroban-test-wasms = { package = "soroban-test-wasms", path = "../soroban-test-wasms" }
soroban-synth-wasm = { package = "soroban-synth-wasm", path = "../soroban-synth-wasm" }
bytes-lit = "0.0.5"
textplots = "0.8.0"
wasmprinter = "0.2.41"
expect-test = "1.4.0"
more-asserts = "0.3.1"
linregress = "0.5.1"
[features]
testutils = ["soroban-env-common/testutils"]
[target.'cfg(target_os = "linux")'.dev-dependencies]
perf-event = "0.4.7"
[[bench]]
required-features = ["testutils"]
harness = false
bench = true
name = "worst_case_linear_models"
path = "benches/worst_case_linear_models.rs"
[[bench]]
required-features = ["testutils"]
harness = false
bench = true
name = "variation_histograms"
path = "benches/variation_histograms.rs"
[package.metadata.docs.rs]
all-features = true