forked from ChainLearnOfficial/chainlearn-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (53 loc) · 1.24 KB
/
Copy pathCargo.toml
File metadata and controls
65 lines (53 loc) · 1.24 KB
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
[package]
name = "chainlearn-contracts"
version = "0.1.0"
edition = "2021"
publish = false
[workspace]
resolver = "2"
members = [
".",
"contracts/learn-token",
"contracts/credential-nft",
"contracts/progress-tracker",
"packages/shared",
]
[workspace.lints.clippy]
all = "warn"
[workspace.dependencies]
soroban-sdk = "21.0.0"
soroban-token-sdk = "21.0.0"
[workspace.package]
rust-version = "1.70"
[dev-dependencies]
soroban-sdk = { workspace = true, features = ["testutils"] }
learn-token = { path = "contracts/learn-token" }
credential-nft = { path = "contracts/credential-nft" }
progress-tracker = { path = "contracts/progress-tracker" }
chainlearn-shared = { path = "packages/shared" }
[[test]]
name = "token_tests"
path = "tests/unit/token_tests.rs"
[[test]]
name = "progress_tests"
path = "tests/unit/progress_tests.rs"
[[test]]
name = "credential_tests"
path = "tests/unit/credential_tests.rs"
[[test]]
name = "token_flow"
path = "tests/integration/token_flow.rs"
[[test]]
name = "credential_flow"
path = "tests/integration/credential_flow.rs"
[profile.release]
opt-level = "z"
overflow-checks = true
debug = 0
strip = "symbols"
debug-assertions = false
panic = "abort"
codegen-units = 1
lto = true
[profile.dev]
overflow-checks = true