forked from Sovereign-Labs/sovereign-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
82 lines (75 loc) · 2.93 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
[package]
name = "sov-modules-api"
description = "Defines the interface of the Sovereign SDK module system"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
version = { workspace = true }
readme = "README.md"
resolver = "2"
[dependencies]
jsonrpsee = { workspace = true, optional = true }
anyhow = { workspace = true }
arbitrary = { workspace = true, optional = true }
sov-state = { path = "../sov-state", version = "0.3" }
sov-modules-core = { path = "../sov-modules-core", version = "0.3" }
sov-rollup-interface = { path = "../../rollup-interface", version = "0.3" }
sov-modules-macros = { path = "../sov-modules-macros", version = "0.3", optional = true }
sov-prover-storage-manager = { path = "../../full-node/sov-prover-storage-manager", optional = true }
serde = { workspace = true }
borsh = { workspace = true }
proptest = { workspace = true, optional = true }
proptest-derive = { workspace = true, optional = true }
thiserror = { workspace = true }
sha2 = { workspace = true }
bech32 = { workspace = true, default-features = true }
derive_more = { workspace = true, default-features = true }
jmt = { workspace = true }
serde_json = { workspace = true, optional = true }
hex = { workspace = true }
clap = { workspace = true, optional = true }
schemars = { workspace = true, optional = true, features = [] }
# The risc0 patch only applies to version 2.0.0 exactly.
ed25519-dalek = { version = "=2.0.0", default-features = false, features = ["serde"] }
rand = { workspace = true, optional = true }
sov-zk-cycle-macros = { path = "../../utils/zk-cycle-macros", version = "0.3", optional = true }
risc0-zkvm = { workspace = true, default-features = false, features = ["std"], optional = true }
risc0-zkvm-platform = { workspace = true, optional = true }
[dev-dependencies]
bincode = { workspace = true }
tempfile = { workspace = true }
sov-modules-api = { path = ".", features = ["native"] }
sov-modules-core = { path = "../sov-modules-core", features = ["mocks"] }
sov-mock-da = { path = "../../adapters/mock-da", features = ["native"] }
sov-bank = { path = "../module-implementations/sov-bank", features = ["native"] }
sov-db = { path = "../../full-node/db/sov-db" }
sov-prover-storage-manager = { path = "../../full-node/sov-prover-storage-manager", features = ["test-utils"] }
[features]
arbitrary = [
"dep:arbitrary",
"dep:proptest",
"dep:proptest-derive",
"proptest/default",
"sov-state/arbitrary",
]
bench = ["sov-zk-cycle-macros", "risc0-zkvm", "risc0-zkvm-platform"]
default = ["macros"]
native = [
"serde_json",
"rand",
"schemars",
"serde",
"ed25519-dalek/default",
"ed25519-dalek/rand_core",
"clap",
"jsonrpsee",
"macros",
"sov-modules-core/native",
"sov-modules-macros/native",
"sov-state/native",
"sov-prover-storage-manager",
]
macros = ["sov-modules-macros"]
serde = ["sov-modules-core/serde"]