forked from stellar/rs-soroban-env
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (51 loc) · 1.85 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
[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 = "21.0.2"
rust-version = "1.74.0"
[workspace.dependencies]
soroban-env-common = { version = "=21.0.2", path = "soroban-env-common", default-features = false }
soroban-env-guest = { version = "=21.0.2", path = "soroban-env-guest" }
soroban-env-host = { version = "=21.0.2", path = "soroban-env-host" }
soroban-env-macros = { version = "=21.0.2", path = "soroban-env-macros" }
soroban-builtin-sdk-macros = { version = "=21.0.2", 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 = "=21.0.1"
# git = "https://github.com/stellar/rs-stellar-xdr"
# rev = "d0138770652a615e3cd99447f2f2727658c17450"
default-features = false
[workspace.dependencies.wasmi]
package = "soroban-wasmi"
version = "=0.31.1-soroban.20.0.1"
git = "https://github.com/stellar/wasmi"
rev = "0ed3f3dee30dc41ebe21972399e0a73a41944aa0"
# [patch."https://github.com/stellar/rs-stellar-xdr"]
# 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