forked from stellar/rs-soroban-env
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
61 lines (52 loc) · 1.87 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
[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.1.2"
rust-version = "1.79.0"
[workspace.dependencies]
soroban-env-common = { version = "=22.1.2", path = "soroban-env-common", default-features = false }
soroban-env-guest = { version = "=22.1.2", path = "soroban-env-guest" }
soroban-env-host = { version = "=22.1.2", path = "soroban-env-host" }
soroban-env-macros = { version = "=22.1.2", path = "soroban-env-macros" }
soroban-builtin-sdk-macros = { version = "=22.1.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 = "=22.1.0"
#git = "https://github.com/stellar/rs-stellar-xdr"
#rev = "67be5955a15f1d3a4df83fe86e6ae107f687141b"
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"]
# [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