forked from RGB-Tools/rgb-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
123 lines (118 loc) · 4.25 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
[package]
name = "rgb-lib"
version = "0.3.0-alpha.2"
authors = [
"Zoe Faltibà <[email protected]>",
"Nicola Busanello <[email protected]>",
]
edition = "2021"
rust-version = "1.67"
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.0", 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", default-features = false, features = [
"blocking",
"json",
"multipart",
"native-tls",
] }
rgb-lib-migration = { path = "migration", version = "0.3.0-alpha.1" }
scrypt = { version = "0.11.0", default-features = false, features = [
"simple",
"std",
] }
sea-orm = { version = "=0.12.15", default-features = false, features = [
"macros",
"runtime-async-std-native-tls",
"sqlx-sqlite",
] }
sea-query = { version = "=0.30.7", 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.10.1", default-features = false }
thiserror = { version = "1.0", default-features = false }
time = { version = "0.3.34", default-features = false }
tree_magic = { version = "0.2.3", default-features = false }
typenum = { version = "1.17.0", default-features = false }
walkdir = { version = "2.5.0", default-features = false }
zip = { version = "0.6.6", default-features = false, features = [
"zstd",
] }
# RGB-related deps
amplify = { version = "=4.6.0", default-features = false }
bp-core = { version = "=0.11.0-beta.5", default-features = false }
bp-electrum = { version = "=0.11.0-beta.5", optional = true, default-features = false, features = [
"proxy",
"use-rustls",
] }
bp-seals = { version = "=0.11.0-beta.5", default-features = false }
bp-std = { version = "=0.11.0-beta.5", default-features = false }
commit_verify = { version = "=0.11.0-beta.5", default-features = false }
rgb-core = { version = "=0.11.0-beta.5", default-features = false, features = [
"stl",
] }
rgb-invoice = { version = "=0.11.0-beta.5", default-features = false }
rgb-persist-fs = { version = "=0.11.1", default-features = false }
rgb-psbt = { version = "=0.11.0-beta.5", default-features = false }
rgb-runtime = { version = "=0.11.0-beta.5", default-features = false, features = [
"serde",
] }
rgb-schemata = { version = "=0.11.0-beta.5", default-features = false }
rgb-std = { version = "=0.11.0-beta.5", default-features = false }
strict_encoding = { version = "=2.7.0-beta.1", default-features = false }
strict_encoding_derive = { version = "=2.7.0-beta.1", default-features = false } # temporary dependency pin
strict_types = { version = "=2.7.0-beta.2", default-features = false }
[dev-dependencies]
copy_dir = { version = "0.1.3", default-features = false }
dircmp = { version = "0.2.0", default-features = false }
lazy_static = { version = "1.4.0", default-features = false }
once_cell = { version = "1.19.0", default-features = false }
regex = { version = "1.10.4", default-features = false }
serial_test = { version = "3.0.0", default-features = false }
[features]
default = ["electrum"]
all = ["electrum", "esplora"]
electrum = [
"bdk/electrum",
"bp-electrum",
"electrum-client",
"rgb-runtime/electrum",
]
esplora = [
"bdk/use-esplora-blocking",
"rgb-runtime/esplora_blocking",
]