-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
Cargo.toml
62 lines (55 loc) · 1.91 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
[package]
name = "rgb-core"
version = "0.11.0-beta.9"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
description = "RGB Core Library: confidential & scalable smart contracts on Bitcoin & Lightning (consensus layer)"
repository = "https://github.com/RGB-WG/rgb-core"
homepage = "https://rgb.tech"
keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"]
categories = ["cryptography::cryptocurrencies"]
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.77.0" # Due to `rustfix`
exclude = [".github"]
[lib]
name = "rgbcore"
crate-type = ["cdylib", "rlib"] # We need this for WASM
[[bin]]
name = "rgbcore-stl"
required-features = ["stl"]
[dependencies]
amplify = { version = "~4.7.0", features = ["rand"] }
baid64 = "~0.2.2"
strict_encoding = "~2.7.0"
strict_types = { version = "~2.7.2", features = ["armor"] }
aluvm = { version = "~0.11.0-beta.9", features = ["std", "ascii-armor"] }
commit_verify = { version = "~0.11.0-beta.9", features = ["rand", "derive"] }
single_use_seals = "~0.11.0-beta.9"
bp-core = { version = "~0.11.0-beta.9" }
secp256k1-zkp = { version = "0.11.0", features = ["rand", "rand-std", "global-context"] } # TODO: Update version before the release
mime = "~0.3.17"
serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true }
chrono = "0.4.38"
[features]
default = []
all = ["stl", "serde"]
stl = ["commit_verify/stl", "bp-core/stl", "aluvm/stl"]
serde = [
"serde_crate",
"amplify/serde",
"strict_encoding/serde",
"strict_types/serde",
"commit_verify/serde",
"bp-core/serde",
"aluvm/serde",
"secp256k1-zkp/serde"
]
[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"]