Skip to content

Commit

Permalink
Merge pull request #113 from RGB-WG/v0.11
Browse files Browse the repository at this point in the history
Changes required by RGB wallet PSBT operations
  • Loading branch information
dr-orlovsky authored Dec 25, 2023
2 parents f560515 + 8137ca4 commit 24c9909
Show file tree
Hide file tree
Showing 35 changed files with 3,214 additions and 1,234 deletions.
191 changes: 129 additions & 62 deletions Cargo.lock

Large diffs are not rendered by default.

22 changes: 19 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[workspace]
members = [
".",
"invoice",
"stl"
]
default-members = [
".",
"invoice"
]
resolver = "2"

Expand All @@ -13,6 +15,8 @@ version = "0.11.0-beta.2"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://github.com/RGB-WG"
repository = "https://github.com/RGB-WG/rgb-wallet"
keywords = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"]
categories = ["cryptography::cryptocurrencies"]
rust-version = "1.67" # Due to strict encoding library
edition = "2021"
license = "Apache-2.0"
Expand All @@ -24,15 +28,17 @@ strict_encoding = "2.6.1"
strict_types = "1.6.3"
commit_verify = { version = "0.11.0-beta.1", features = ["stl"] }
bp-core = { version = "0.11.0-beta.1", features = ["stl"] }
bp-invoice = { version = "0.11.0-beta.2" }
rgb-core = { version = "0.11.0-beta.2", features = ["stl"] }
indexmap = "2.0.2"
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 = ["bitcoin", "lightning", "rgb", "smart-contracts", "lnp-bp"]
categories = ["cryptography::cryptocurrencies"]
keywords = { workspace = true }
categories = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
Expand All @@ -52,10 +58,11 @@ strict_types = { workspace = true }
commit_verify = { workspace = true }
bp-core = { workspace = true }
rgb-core = { workspace = true }
rgb-invoice = { version = "0.11.0-beta.2", path = "invoice" }
baid58 = { workspace = true }
base85 = "=2.0.0"
chrono = "0.4.31"
indexmap = "2.0.2"
indexmap = { workspace = true }
serde_crate = { workspace = true, optional = true }

[features]
Expand All @@ -69,6 +76,7 @@ serde = [
"commit_verify/serde",
"bp-core/serde",
"rgb-core/serde",
"rgb-invoice/serde"
]
fs = []

Expand All @@ -82,3 +90,11 @@ wasm-bindgen-test = "0.3"

[package.metadata.docs.rs]
features = [ "all" ]

[patch.crates-io]
bp-consensus = { git = "https://github.com/BP-WG/bp-core", branch = "doubleanchors" }
bp-dbc = { git = "https://github.com/BP-WG/bp-core", branch = "doubleanchors" }
bp-seals = { git = "https://github.com/BP-WG/bp-core", branch = "doubleanchors" }
bp-core = { git = "https://github.com/BP-WG/bp-core", branch = "doubleanchors" }
bp-invoice = { git = "https://github.com/BP-WG/bp-std", branch = "v0.11" }
rgb-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "validation" }
34 changes: 34 additions & 0 deletions invoice/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[package]
name = "rgb-invoice"
version = { workspace = true }
description = "Invoicing library for RGB smart contracts"
keywords = { workspace = true }
categories = { workspace = true }
readme = "../README.md"
authors = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
rust-version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }

[lib]
name = "invoice"

[dependencies]
amplify = { workspace = true }
baid58 = { workspace = true }
strict_encoding = { workspace = true }
strict_types = { workspace = true }
bp-core = { workspace = true }
bp-invoice = { workspace = true }
rgb-core = { workspace = true }
indexmap = { workspace = true }
fluent-uri = "0.1.4"
percent-encoding = "2.3.0"
serde_crate = { workspace = true, optional = true }

[features]
default = []
serde = ["serde_crate"]
# TODO: Separate URL with a feature gate
Loading

0 comments on commit 24c9909

Please sign in to comment.