[workspace] members = [ "psbt", "cli", "." ] default-members = [ "psbt", "." ] [workspace.package] version = "0.11.0-beta.9" keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"] categories = ["cryptography::cryptocurrencies"] authors = ["Dr Maxim Orlovsky "] homepage = "https://rgb.tech" repository = "https://github.com/RGB-WG/rgb" rust-version = "1.77.0" edition = "2021" license = "Apache-2.0" [workspace.dependencies] amplify = "4.7.0" nonasync = { version = "0.1.2", features = ["log"] } baid64 = "0.2.2" strict_encoding = "2.7.0" strict_types = "2.7.2" commit_verify = "0.11.0-beta.9" bp-core = "0.11.0-beta.9" bp-std = { version = "0.11.0-beta.9", features = ["client-side-validation"] } bp-electrum = "0.11.0-beta.9" bp-esplora = { version = "0.11.0-beta.9", default-features = false } bp-wallet = { version = "0.11.0-beta.9" } rgb-std = { version = "0.11.0-beta.9" } rgb-psbt = { version = "0.11.0-beta.9", path = "psbt" } indexmap = "2.4.0" chrono = "0.4.38" serde_crate = { package = "serde", version = "1", features = ["derive"] } serde_yaml = "0.9.19" log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"] } [package] name = "rgb-runtime" version.workspace = true description = "RGB smart contracts wallet runtime" keywords.workspace = true categories.workspace = true readme = "README.md" authors.workspace = true homepage.workspace = true repository.workspace = true rust-version.workspace = true edition.workspace = true license.workspace = true [lib] name = "rgb" crate-type = ["cdylib", "rlib"] [dependencies] amplify = { workspace = true } nonasync = { workspace = true } baid64 = { workspace = true } bp-electrum = { workspace = true, optional = true } commit_verify = { workspace = true } strict_types = { workspace = true } bp-core = { workspace = true } bp-std = { workspace = true } bp-esplora = { workspace = true, optional = true } bp-wallet = { workspace = true } rgb-std = { workspace = true } rgb-psbt = { workspace = true } indexmap = { workspace = true } chrono = { workspace = true } serde_crate = { workspace = true, optional = true } serde_yaml = { workspace = true, optional = true } log = { workspace = true, optional = true } [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" [features] default = [] all = ["esplora_blocking", "electrum_blocking", "mempool_blocking", "serde", "log", "fs", "cli"] fs = ["serde", "bp-wallet/fs", "rgb-std/fs"] cli = ["fs", "bp-wallet/cli"] esplora_blocking = ["bp-esplora", "bp-esplora/blocking"] esplora_blocking-wasm = ["bp-esplora", "bp-esplora/blocking-wasm"] electrum_blocking = ["bp-electrum"] mempool_blocking = ["esplora_blocking"] serde = ["serde_crate", "serde_yaml", "bp-std/serde", "rgb-psbt/serde"] [package.metadata.docs.rs] features = ["all"]