forked from RGB-WG/rgb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
77 lines (68 loc) · 2.15 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
[workspace]
members = [
"fs",
".",
]
default-members = [
"fs",
"."
]
[workspace.package]
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://github.com/RGB-WG"
repository = "https://github.com/RGB-WG/rgb-wallet"
rust-version = "1.66" # Due to strict encoding library (caused by GAD)
edition = "2021"
license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.0.0"
baid58 = "0.3.1"
strict_encoding = "2.0.1"
strict_types = "1.0.0"
rgb-std = { version = "0.10.0", features = ["fs"] }
rgb-wallet = { version = "0.10.0", features = ["fs"] }
[package]
name = "rgb-contracts"
version = "0.10.0"
description = " RGB: scalable & confidential smart contracts for Bitcoin & Lightning network"
keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"]
categories = ["cryptography::cryptocurrencies"]
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
readme = "README.md"
exclude = [".github", "std"]
[lib]
name = "rgb"
[[bin]]
name = "rgb"
required-features = ["cli"]
[dependencies]
amplify = { workspace = true }
baid58 = { workspace = true }
strict_types = { workspace = true, features = ["serde"] }
commit_verify = "0.10.0"
bp-core = { version = "0.10.0", features = ["serde"] }
rgb-std = { workspace = true }
rgb-wallet = { workspace = true }
rgb-persist-fs = { version = "0.10.0", path = "fs" }
bitcoin = { version = "0.30.0", features = ["serde"] }
electrum-client = { version = "0.13.0", optional = true }
log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"], optional = true }
env_logger = "0.10.0"
clap = { version = "4.1.8", features = ["derive", "env"], optional = true }
shellexpand = { version = "3.0.0", optional = true }
serde = "1.0.159"
serde_yaml = "0.9.19"
[features]
default = []
all = ["cli", "log"]
electrum = ["electrum-client"]
cli = ["clap", "shellexpand", "log", "electrum"]
[package.metadata.docs.rs]
features = [ "all" ]
[patch.crates-io]
electrum-client = { git = "https://github.com/RCasatta/rust-electrum-client", branch = "bitcoin_0_30" }