Skip to content

Commit

Permalink
v0.3.0 release
Browse files Browse the repository at this point in the history
- RGB Core Library is extracted and externalized from LNP/BP Core Library to
  <https://github.com/rgb-org/rgb-core>
- LNP Core Library is extracted and externalized from LNP/BP Core Library
  <https://github.com/LNP-BP/lnb-core>
- Internet2 repo & crates are extracted & externalized from LNP/BP Core Library
  <https://github.com/internet-org/rust-internet2>
- Bitcoin descriptors wallet repo & crates are extracted & externalized from 
  LNP/BP Core Library to <https://github.com/LNP-BP/descriptor-wallet>
- Repository split into multiple crates (lnpbp, client_side_validation, 
  strict_encoding, strict_encoding_derive)
- Serde encoding fixes (proper use of `serde_as` for wrapped types)
- Miniscript 4.0 & bitcoin 0.26 migration
- Refactored unified network address format & encodings (inside strict_encoding)
- Refactored deterministic bitcoin commitments (LNPBP-4)
  • Loading branch information
dr-orlovsky committed Jan 20, 2021
1 parent 9d7115f commit 27322f4
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
strategy:
fail-fast: false
matrix:
toolchain: [ nightly, beta, stable, 1.41.1 ]
toolchain: [ nightly, beta, stable, 1.47.0 ]
steps:
- uses: actions/checkout@v2
- name: Install rust ${{ matrix.toolchain }}
Expand Down
28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Change Log
==========

v0.3.0-alpha.3
--------------
- Internet2, LNP Core, Descriptor Wallet crates externalized and removed from
this repository
v0.3.0
------
- RGB Core Library is extracted and externalized from LNP/BP Core Library to
<https://github.com/rgb-org/rgb-core>
- LNP Core Library is extracted and externalized from LNP/BP Core Library
<https://github.com/LNP-BP/lnb-core>
- Internet2 repo & crates are extracted & externalized from LNP/BP Core Library
<https://github.com/internet-org/rust-internet2>
- Bitcoin descriptors wallet repo & crates are extracted & externalized from
LNP/BP Core Library to <https://github.com/LNP-BP/descriptor-wallet>
- Repository split into multiple crates (lnpbp, client_side_validation,
strict_encoding)

v0.3.0-alpha.2
--------------
- RGB Core Library is extracted and externalized from LNP/BP Core Library

v0.3.0-alpha.1
--------------
strict_encoding, strict_encoding_derive)
- Serde encoding fixes (proper use of `serde_as` for wrapped types)
- BIP32 & descriptor enhancements
- Miniscript 4.0 migration
- Miniscript 4.0 & bitcoin 0.26 migration
- Refactored unified network address format & encodings (inside strict_encoding)
- Refactored deterministic bitcoin commitments (LNPBP-4)

v0.2.1, v0.2.2
--------------
Expand Down
49 changes: 31 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lnpbp"
version = "0.3.0-beta.1+5"
version = "0.3.0"
license = "MIT"
authors = ["Dr. Maxim Orlovsky <orlovsky@pandoracore.com>"]
description = "LNP/BP Core Library implementing LNPBP specifications & standards"
Expand Down Expand Up @@ -37,25 +37,25 @@ crate-type = ["rlib", "staticlib"]
# -----------------------------------------
amplify = { version = "3", features = ["stringly_conversions"] }
amplify_derive = "2.4.3"
strict_encoding = { version = "1.0.0-rc.6", features = ["miniscript"] }
strict_encoding_derive = "1.0.0-rc.1"
client_side_validation = { version = "1.0.0-rc.2", path = "client_side_validation" }
strict_encoding = { version = "1", features = ["miniscript"] }
strict_encoding_derive = { version = "1" }
client_side_validation = { version = "0.3" }
descriptor-wallet = "0.3"
# Dependencies on core rust-bitcoin ecosystem projects
# ----------------------------------------------------
bitcoin = { version = "~0.26.0", features = ["rand"] }
bitcoin_hashes = "~0.9.4" # we need macro from here
# <https://github.com/LNP-BP/LNPBPs/blob/master/lnpbp-0002.md#deterministic-public-key-extraction-from-bitcoin-script>
# We have to fix version of miniscript as required by LNPBP-2 specification
miniscript = { version = "=5.0.0", features = ["compiler"] }
descriptor-wallet = "~0.3.0-rc.3"
# Serialization
# -------------
# This strange naming is a workaround for cargo inability to define required
# features for a dependency. See
# <https://github.com/rust-lang/api-guidelines/issues/180> for the explanation
# and references.
serde_crate = { package = "serde", version = "1.0", features = ["derive"], optional = true }
serde_with = { version = "1.5", features = ["hex"], optional = true }
serde_crate = { package = "serde", version = "~1.0.0", features = ["derive"], optional = true }
serde_with = { version = "~1.5.0", features = ["hex"], optional = true }
serde_with_macros = { version = "~1.2.0", optional = true } # Fix for the problem in 1.3.0
# Core rust projects
# ------------------
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ brew cargo pkg-config zmq

### Clone and compile library

Minimum supported rust compiler version (MSRV): 1.45 (if determined by tokio
feature is used) and 1.41.1 (if used without tokio)
Minimum supported rust compiler version (MSRV): 1.47 (caused by array size
limitation to 32 bytes only in `strict_encoding` crate).

```shell script
git clone https://github.com/lnp-bp/rust-lnpbp
Expand Down
4 changes: 2 additions & 2 deletions client_side_validation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "client_side_validation"
version = "1.0.0-rc.2+1"
version = "0.3.0"
license = "Apache-2.0"
authors = ["Dr. Maxim Orlovsky <orlovsky@pandoracore.com>"]
description = "Client-side validation library"
Expand All @@ -20,7 +20,7 @@ crate-type = ["dylib", "rlib", "staticlib"]
[dependencies]
amplify = "3"
amplify_derive = "2.4.3"
strict_encoding = { version = "1.0.0-rc.3", features = [] }
strict_encoding = { version = "1", features = [] }
bitcoin_hashes = "0.9"
grin_secp256k1zkp = { version = "0.7", optional = true }

Expand Down
6 changes: 3 additions & 3 deletions strict_encoding/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "strict_encoding"
version = "1.0.0-rc.6+3"
version = "1.0.1"
license = "Apache-2.0"
authors = ["Dr. Maxim Orlovsky <orlovsky@pandoracore.com>"]
description = "Strict encoding: deterministic binary serialization for networking & client-side validation"
Expand All @@ -15,12 +15,12 @@ exclude = ["derive"]
[lib]
name = "strict_encoding"
path = "src/lib.rs"
crate-type = ["dylib", "rlib", "staticlib"]
crate-type = ["rlib", "staticlib"]

[dependencies]
amplify = "3"
amplify_derive = "2.4.3"
strict_encoding_derive = { version = "1.0.0-rc.1", path = "./derive", optional = true }
strict_encoding_derive = { version = "1", optional = true }
bitcoin = "0.26" # TODO: Replace on bitcoin encoding crate with 0.27 release
miniscript = { version = "5", optional = true }
ed25519-dalek = { version = "1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion strict_encoding/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "strict_encoding_derive"
version = "1.0.0-rc.1"
version = "1.0.0"
license = "Apache-2.0"
authors = ["Dr. Maxim Orlovsky <orlovsky@pandoracore.com>"]
description = "Strict encoding derivation macro"
Expand Down

0 comments on commit 27322f4

Please sign in to comment.