forked from RGB-WG/rgb-std
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
99 lines (90 loc) · 2.57 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
[workspace]
members = [
".",
"invoice",
"stl"
]
default-members = [
".",
"invoice"
]
resolver = "2"
[workspace.package]
version = "0.11.0-beta.8"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://github.com/RGB-WG"
repository = "https://github.com/RGB-WG/rgb-std"
keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"]
categories = ["cryptography::cryptocurrencies"]
rust-version = "1.76.0" # Due to use of `inspect_err`
edition = "2021"
license = "Apache-2.0"
[workspace.dependencies]
amplify = "4.7.0"
nonasync = "0.1.0"
ascii-armor = "0.7.2"
baid64 = "0.2.2"
strict_encoding = "2.7.0"
strict_types = "2.7.0"
commit_verify = { version = "0.11.0-beta.8", features = ["stl"] }
bp-core = { version = "0.11.0-beta.8", features = ["stl"] }
bp-invoice = { version = "0.11.0-beta.8" }
rgb-core = { version = "0.11.0-beta.8", features = ["stl"] }
indexmap = "2.4.0"
serde_crate = { package = "serde", version = "1", features = ["derive"] }
[package]
name = "rgb-std"
version = { workspace = true }
description = "RGB standard library for working with smart contracts on Bitcoin & Lightning"
keywords = { workspace = true }
categories = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
readme = "README.md"
[lib]
name = "rgbstd"
crate-type = ["cdylib", "rlib"] # We need this for WASM
[dependencies]
amplify = { workspace = true }
nonasync = { workspace = true }
ascii-armor = { workspace = true }
baid64 = { workspace = true }
strict_encoding = { workspace = true }
strict_types = { workspace = true }
commit_verify = { workspace = true }
bp-core = { workspace = true }
rgb-core = { workspace = true }
rgb-invoice = { version = "0.11.0-beta.6", path = "invoice" }
aluvm = "0.11.0-beta.7"
base85 = "=2.0.0"
chrono = "0.4.38"
indexmap = { workspace = true }
serde_crate = { workspace = true, optional = true }
rand = "0.8.5"
[features]
default = []
all = ["fs", "serde"]
serde = [
"serde_crate",
"chrono/serde",
"amplify/serde",
"strict_encoding/serde",
"strict_types/serde",
"commit_verify/serde",
"bp-core/serde",
"rgb-core/serde",
"rgb-invoice/serde"
]
fs = []
[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"
[package.metadata.docs.rs]
features = ["all"]