forked from stellar/rs-soroban-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
91 lines (79 loc) · 2.44 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[workspace]
resolver = "2"
members = [
"soroban-sdk",
"soroban-sdk-macros",
"soroban-spec",
"soroban-spec-rust",
"soroban-ledger-snapshot",
"soroban-token-sdk",
"tests/empty",
"tests/empty2",
"tests/add_u64",
"tests/add_i128",
"tests/add_u128",
"tests/import_contract",
"tests/invoke_contract",
"tests/udt",
"tests/contract_data",
"tests/events",
"tests/logging",
"tests/errors",
"tests/alloc",
"tests/auth",
"tests/fuzz",
"tests/multiimpl",
"tests/workspace_contract",
"tests/workspace_lib",
]
[workspace.package]
version = "20.5.0"
rust-version = "1.74.0"
[workspace.dependencies]
soroban-sdk = { version = "20.5.0", path = "soroban-sdk" }
soroban-sdk-macros = { version = "20.5.0", path = "soroban-sdk-macros" }
soroban-spec = { version = "20.5.0", path = "soroban-spec" }
soroban-spec-rust = { version = "20.5.0", path = "soroban-spec-rust" }
soroban-ledger-snapshot = { version = "20.5.0", path = "soroban-ledger-snapshot" }
soroban-token-sdk = { version = "20.5.0", path = "soroban-token-sdk" }
[workspace.dependencies.soroban-env-common]
version = "=21.0.0"
git = "https://github.com/stellar/rs-soroban-env"
rev = "4d9b1020f7b5baa0f972eb08ed8aa2cd3343ad7c"
[workspace.dependencies.soroban-env-guest]
version = "=21.0.0"
git = "https://github.com/stellar/rs-soroban-env"
rev = "4d9b1020f7b5baa0f972eb08ed8aa2cd3343ad7c"
[workspace.dependencies.soroban-env-host]
version = "=21.0.0"
git = "https://github.com/stellar/rs-soroban-env"
rev = "4d9b1020f7b5baa0f972eb08ed8aa2cd3343ad7c"
[workspace.dependencies.stellar-strkey]
version = "=0.0.8"
[workspace.dependencies.stellar-xdr]
version = "=20.1.0"
default-features = false
features = ["curr"]
git = "https://github.com/stellar/rs-stellar-xdr"
rev = "a80c899c61e869fd00b7b475a4947ab6aaf9dcac"
#[patch."https://github.com/stellar/rs-soroban-env"]
#soroban-env-common = { path = "../rs-soroban-env/soroban-env-common" }
#soroban-env-guest = { path = "../rs-soroban-env/soroban-env-guest" }
#soroban-env-host = { path = "../rs-soroban-env/soroban-env-host/" }
#[patch."https://github.com/stellar/rs-stellar-xdr"]
#stellar-xdr = { path = "../rs-stellar-xdr/" }
[profile.dev]
overflow-checks = true
panic = "abort"
[profile.release]
opt-level = "z"
overflow-checks = true
debug = 0
strip = "symbols"
debug-assertions = false
panic = "abort"
codegen-units = 1
lto = true
[profile.release-with-logs]
inherits = "release"
debug-assertions = true