-
Notifications
You must be signed in to change notification settings - Fork 44
/
Cargo.toml
62 lines (53 loc) · 1.89 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
[workspace]
resolver = "2"
members = [
"soroban-env-host",
"soroban-env-guest",
"soroban-env-common",
"soroban-env-common/tests/no_std",
"soroban-env-macros",
"soroban-builtin-sdk-macros",
"soroban-test-wasms",
"soroban-synth-wasm",
"soroban-bench-utils",
"soroban-simulation",
]
exclude = ["soroban-test-wasms/wasm-workspace"]
[workspace.package]
# NB: When bumping the major version make sure to clean up the
# code guarded by `unstable-*` features to make it enabled
# unconditionally.
version = "22.0.0"
rust-version = "1.79.0"
[workspace.dependencies]
soroban-env-common = { version = "=22.0.0", path = "soroban-env-common", default-features = false }
soroban-env-guest = { version = "=22.0.0", path = "soroban-env-guest" }
soroban-env-host = { version = "=22.0.0", path = "soroban-env-host" }
soroban-env-macros = { version = "=22.0.0", path = "soroban-env-macros" }
soroban-builtin-sdk-macros = { version = "=22.0.0", path = "soroban-builtin-sdk-macros" }
# NB: this must match the wasmparser version wasmi is using
wasmparser = "=0.116.1"
# NB: When updating, also update the version in rs-soroban-env dev-dependencies
[workspace.dependencies.stellar-xdr]
version = "=22.0.0"
git = "https://github.com/stellar/rs-stellar-xdr"
rev = "b5516843b6379e4e29520bf2ba156484f62edc46"
default-features = false
[workspace.dependencies.wasmi]
package = "soroban-wasmi"
version = "=0.36.0-soroban.22.0.0"
git = "https://github.com/stellar/wasmi"
rev = "122a74a7c491929e5ac9de876099154ef7c06d06"
features = ["no-hash-maps"]
# [patch."https://github.com/stellar/rs-stellar-xdr"]
# [patch.crates-io]
# stellar-xdr = { path = "../rs-stellar-xdr" }
# [patch."https://github.com/stellar/wasmi"]
# soroban-wasmi = { path = "../wasmi/crates/wasmi/" }
# soroban-wasmi_core = { path = "../wasmi/crates/core/" }
[profile.release]
lto = true
[profile.test-opt]
inherits = "test"
opt-level = 3
debug = false