-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
52 lines (45 loc) · 1.18 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
[package]
name = "nebula"
version = "0.2.0"
description = "Nebula is a tool for easing development of Soroban smart contracts"
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2021"
[dependencies]
nebula-importer = { path = "crates/nebula-importer", optional = true}
nebula-publish = { path = "crates/nebula-publish", optional = true }
[features]
default = ["build"]
build = ["nebula-importer"]
publish = ["nebula-publish"]
[workspace]
# We want to use v2 of the cargo dependency resolver.
resolver = "2"
# Our workspace members include the packages in the contracts directory.
members = [
"contracts/governance",
"contracts/shared",
"contracts/voting",
"contracts/simple_voting",
"contracts/raffle",
"contracts/payment_splitter",
"contracts/marketplace",
"contracts/lottery",
"crates/nebula-importer",
"crates/nebula-publish",
"examples/oci_cross_contract",
]
[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
[workspace.dependencies.soroban-sdk]
version = "20.0.0-rc2"