[workspace] members = [ "fs", ".", ] default-members = [ "fs", "." ] [workspace.package] authors = ["Dr Maxim Orlovsky "] homepage = "https://github.com/RGB-WG" repository = "https://github.com/RGB-WG/rgb" rust-version = "1.67" # For command-line tool it is 1.70 because of clap edition = "2021" license = "Apache-2.0" [workspace.dependencies] amplify = "4.5.0" baid58 = "0.4.4" strict_encoding = "2.6.1" strict_types = "1.6.3" rgb-std = { version = "0.10.9", features = ["fs"] } rgb-wallet = { version = "0.10.9", features = ["fs"] } [package] name = "rgb-contracts" version = "0.10.2" description = " RGB: scalable & confidential smart contracts for Bitcoin & Lightning network" keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"] categories = ["cryptography::cryptocurrencies"] authors = { workspace = true } repository = { workspace = true } homepage = { workspace = true } edition = { workspace = true } license = { workspace = true } rust-version = { workspace = true } readme = "README.md" exclude = [".github", "std"] [lib] name = "rgb" [[bin]] name = "rgb" required-features = ["cli"] [dependencies] amplify = { workspace = true } baid58 = { workspace = true } strict_types = { workspace = true, features = ["serde"] } commit_verify = "0.10.5" bp-core = { version = "0.10.11", features = ["serde"] } rgb-std = { workspace = true } rgb-wallet = { workspace = true } rgb-persist-fs = { version = "0.10.0", path = "fs" } bitcoin = { version = "0.30.1", features = ["serde"] } electrum-client = { version = "0.17.0", optional = true } log = { version = "0.4", features = ["max_level_trace", "release_max_level_debug"], optional = true } env_logger = "0.10.0" clap = { version = "4.1.8", features = ["derive", "env"], optional = true } shellexpand = { version = "3.0.0", optional = true } serde = "1.0.159" serde_yaml = "0.9.19" [features] default = ["electrum", "log"] all = ["cli", "log"] electrum = ["electrum-client", "log"] cli = ["clap", "shellexpand", "log", "electrum"] [package.metadata.docs.rs] features = [ "all" ]