-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathCargo.toml
100 lines (91 loc) · 2.96 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
92
93
94
95
96
97
98
99
100
[workspace]
members = [
"psbt",
"cli",
"."
]
default-members = [
"psbt",
"."
]
[workspace.package]
version = "0.11.0-beta.9"
keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"]
categories = ["cryptography::cryptocurrencies"]
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://rgb.tech"
repository = "https://github.com/RGB-WG/rgb"
rust-version = "1.77.0"
edition = "2021"
license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.7.0"
nonasync = { version = "0.1.2", features = ["log"] }
baid64 = "0.2.2"
strict_encoding = "2.7.0"
strict_types = "2.7.2"
commit_verify = "0.11.0-beta.9"
bp-core = "0.11.0-beta.9"
bp-std = { version = "0.11.0-beta.9", features = ["client-side-validation"] }
bp-electrum = "0.11.0-beta.9"
bp-esplora = { version = "0.11.0-beta.9", default-features = false }
bp-wallet = { version = "0.11.0-beta.9" }
rgb-std = { version = "0.11.0-beta.9" }
rgb-psbt = { version = "0.11.0-beta.9", path = "psbt" }
indexmap = "2.4.0"
chrono = "0.4.38"
serde_crate = { package = "serde", version = "1", features = ["derive"] }
serde_yaml = "0.9.19"
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] }
[package]
name = "rgb-runtime"
version.workspace = true
description = "RGB smart contracts wallet runtime"
keywords.workspace = true
categories.workspace = true
readme = "README.md"
authors.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
name = "rgb"
crate-type = ["cdylib", "rlib"]
[dependencies]
amplify = { workspace = true }
nonasync = { workspace = true }
baid64 = { workspace = true }
bp-electrum = { workspace = true, optional = true }
commit_verify = { workspace = true }
strict_types = { workspace = true }
bp-core = { workspace = true }
bp-std = { workspace = true }
bp-esplora = { workspace = true, optional = true }
bp-wallet = { workspace = true }
rgb-std = { workspace = true }
rgb-psbt = { workspace = true }
indexmap = { workspace = true }
chrono = { workspace = true }
serde_crate = { workspace = true, optional = true }
serde_yaml = { workspace = true, optional = true }
log = { workspace = true, optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.8.4", optional = true }
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
[features]
default = []
all = ["esplora_blocking", "electrum_blocking", "mempool_blocking", "serde", "log", "fs", "cli"]
fs = ["serde", "bp-wallet/fs", "rgb-std/fs"]
cli = ["fs", "bp-wallet/cli"]
esplora_blocking = ["bp-esplora", "bp-esplora/blocking"]
esplora_blocking-wasm = ["bp-esplora", "bp-esplora/blocking-wasm"]
electrum_blocking = ["bp-electrum"]
mempool_blocking = ["esplora_blocking"]
serde = ["serde_crate", "serde_yaml", "bp-std/serde", "rgb-psbt/serde"]
[package.metadata.docs.rs]
features = ["all"]