-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
132 lines (127 loc) · 4.42 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
[package]
name = "rgb-lib"
version = "0.3.0-alpha.11"
authors = [
"Zoe Faltibà <[email protected]>",
"Nicola Busanello <[email protected]>",
]
edition = "2021"
rust-version = "1.77.0"
repository = "https://github.com/RGB-Tools/rgb-lib"
homepage = "https://github.com/RGB-Tools/rgb-lib"
license = "MIT"
description = "RGB wallet library"
exclude = ["migration"]
[workspace]
members = [".", "migration"]
[dependencies]
base64 = { version = "0.22.1", default-features = false, features = [
"std",
] }
bdk = { version = "0.29", default-features = false, features = [
"key-value-db",
"keys-bip39",
"std",
] }
bitcoin = { version = "0.30.1", default-features = false }
chacha20poly1305 = { version = "0.10.1", default-features = false, features = [
"alloc",
"stream",
] }
electrum-client = { version = "0.19.0", optional = true, default-features = false, features = [
"proxy",
"use-rustls",
] }
futures = { version = "0.3", default-features = false, features = [
"executor",
] }
hex = { version = "0.4.3", default-features = false }
rand = { version = "0.8.5", default-features = false }
reqwest = { version = "0.12", optional = true, default-features = false, features = [
"blocking",
"json",
"multipart",
"rustls-tls",
] }
rgb-lib-migration = { path = "migration", version = "0.3.0-alpha.11" }
scrypt = { version = "0.11.0", default-features = false, features = [
"simple",
"std",
] }
sea-orm = { version = "=1.1.0", default-features = false, features = [
"macros",
"runtime-async-std-rustls",
"sqlx-sqlite",
] }
sea-query = { version = "=0.32.0", default-features = false }
serde = { version = "^1.0", default-features = false, features = [
"derive",
] }
serde_json = { version = "^1.0", default-features = false, features = [
"preserve_order",
] }
slog = { version = "2.7.0", default-features = false }
slog-async = { version = "2.8.0", default-features = false }
slog-term = { version = "2.9.1", default-features = false }
tempfile = { version = "3.14.0", default-features = false }
thiserror = { version = "2.0", default-features = false }
time = { version = "0.3.36", default-features = false }
file-format = { version = "0.25.0", default-features = false, features = [
"reader",
] }
typenum = { version = "1.17.0", default-features = false }
walkdir = { version = "2.5.0", default-features = false }
zip = { version = "2.2.0", default-features = false, features = [
"zstd",
] }
# RGB-related deps
amplify = { version = "=4.7.0", default-features = false }
bp-core = { version = "=0.11.0-beta.8", default-features = false }
bp-electrum = { version = "=0.11.0-beta.8.1", optional = true, default-features = false, features = [
"proxy",
"use-rustls",
] }
bp-esplora = { version = "=0.11.0-beta.8", optional = true, default-features = false, features = [
"blocking",
] }
bp-seals = { version = "=0.11.0-beta.8", default-features = false }
bp-std = { version = "=0.11.0-beta.8", default-features = false }
commit_verify = { version = "=0.11.0-beta.8", default-features = false }
rgb-core = { version = "=0.11.0-beta.8", default-features = false, features = [
"stl",
] }
rgb-interfaces = { version = "=0.11.0-beta.8", default-features = false }
rgb-invoice = { version = "=0.11.0-beta.8", default-features = false }
rgb-psbt = { version = "=0.11.0-beta.8", default-features = false }
rgb-runtime = { version = "=0.11.0-beta.8", default-features = false, features = [
"fs",
"serde",
] }
rgb-schemata = { version = "=0.11.0-beta.8", default-features = false }
rgb-std = { version = "=0.11.0-beta.8", default-features = false }
strict_encoding = { version = "=2.7.0", default-features = false }
strict_types = { version = "=2.7.0", default-features = false } # temporary dependency pin
[dev-dependencies]
copy_dir = { version = "0.1.3", default-features = false }
dircmp = { version = "0.2.0", default-features = false }
lazy_static = { version = "1.5.0", default-features = false }
once_cell = { version = "1.20.2", default-features = false }
regex = { version = "1.11.1", default-features = false }
serial_test = { version = "3.1.1", default-features = false }
[features]
default = ["electrum"]
all = ["electrum", "esplora"]
electrum = [
"bdk/electrum",
"bp-electrum",
"electrum-client",
"reqwest",
"rgb-runtime/electrum_blocking",
]
esplora = [
"bdk/use-esplora-blocking",
"bp-esplora",
"reqwest",
"rgb-runtime/esplora_blocking",
]
camel_case = ["default"]