-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from RGB-WG/v0.11
Changes required by RGB wallet PSBT operations
- Loading branch information
Showing
35 changed files
with
3,214 additions
and
1,234 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
[workspace] | ||
members = [ | ||
".", | ||
"invoice", | ||
"stl" | ||
] | ||
default-members = [ | ||
".", | ||
"invoice" | ||
] | ||
resolver = "2" | ||
|
||
|
@@ -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" | ||
|
@@ -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 } | ||
|
@@ -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] | ||
|
@@ -69,6 +76,7 @@ serde = [ | |
"commit_verify/serde", | ||
"bp-core/serde", | ||
"rgb-core/serde", | ||
"rgb-invoice/serde" | ||
] | ||
fs = [] | ||
|
||
|
@@ -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" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.