Skip to content

Commit 27322f4

Browse files
committed
v0.3.0 release
- 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)
1 parent 9d7115f commit 27322f4

File tree

8 files changed

+61
-48
lines changed

8 files changed

+61
-48
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
strategy:
6868
fail-fast: false
6969
matrix:
70-
toolchain: [ nightly, beta, stable, 1.41.1 ]
70+
toolchain: [ nightly, beta, stable, 1.47.0 ]
7171
steps:
7272
- uses: actions/checkout@v2
7373
- name: Install rust ${{ matrix.toolchain }}

CHANGELOG.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
Change Log
22
==========
33

4-
v0.3.0-alpha.3
5-
--------------
6-
- Internet2, LNP Core, Descriptor Wallet crates externalized and removed from
7-
this repository
4+
v0.3.0
5+
------
6+
- RGB Core Library is extracted and externalized from LNP/BP Core Library to
7+
<https://github.com/rgb-org/rgb-core>
8+
- LNP Core Library is extracted and externalized from LNP/BP Core Library
9+
<https://github.com/LNP-BP/lnb-core>
10+
- Internet2 repo & crates are extracted & externalized from LNP/BP Core Library
11+
<https://github.com/internet-org/rust-internet2>
12+
- Bitcoin descriptors wallet repo & crates are extracted & externalized from
13+
LNP/BP Core Library to <https://github.com/LNP-BP/descriptor-wallet>
814
- Repository split into multiple crates (lnpbp, client_side_validation,
9-
strict_encoding)
10-
11-
v0.3.0-alpha.2
12-
--------------
13-
- RGB Core Library is extracted and externalized from LNP/BP Core Library
14-
15-
v0.3.0-alpha.1
16-
--------------
15+
strict_encoding, strict_encoding_derive)
1716
- Serde encoding fixes (proper use of `serde_as` for wrapped types)
18-
- BIP32 & descriptor enhancements
19-
- Miniscript 4.0 migration
17+
- Miniscript 4.0 & bitcoin 0.26 migration
18+
- Refactored unified network address format & encodings (inside strict_encoding)
19+
- Refactored deterministic bitcoin commitments (LNPBP-4)
2020

2121
v0.2.1, v0.2.2
2222
--------------

Cargo.lock

+31-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lnpbp"
3-
version = "0.3.0-beta.1+5"
3+
version = "0.3.0"
44
license = "MIT"
55
authors = ["Dr. Maxim Orlovsky <[email protected]>"]
66
description = "LNP/BP Core Library implementing LNPBP specifications & standards"
@@ -37,25 +37,25 @@ crate-type = ["rlib", "staticlib"]
3737
# -----------------------------------------
3838
amplify = { version = "3", features = ["stringly_conversions"] }
3939
amplify_derive = "2.4.3"
40-
strict_encoding = { version = "1.0.0-rc.6", features = ["miniscript"] }
41-
strict_encoding_derive = "1.0.0-rc.1"
42-
client_side_validation = { version = "1.0.0-rc.2", path = "client_side_validation" }
40+
strict_encoding = { version = "1", features = ["miniscript"] }
41+
strict_encoding_derive = { version = "1" }
42+
client_side_validation = { version = "0.3" }
43+
descriptor-wallet = "0.3"
4344
# Dependencies on core rust-bitcoin ecosystem projects
4445
# ----------------------------------------------------
4546
bitcoin = { version = "~0.26.0", features = ["rand"] }
4647
bitcoin_hashes = "~0.9.4" # we need macro from here
4748
# <https://github.com/LNP-BP/LNPBPs/blob/master/lnpbp-0002.md#deterministic-public-key-extraction-from-bitcoin-script>
4849
# We have to fix version of miniscript as required by LNPBP-2 specification
4950
miniscript = { version = "=5.0.0", features = ["compiler"] }
50-
descriptor-wallet = "~0.3.0-rc.3"
5151
# Serialization
5252
# -------------
5353
# This strange naming is a workaround for cargo inability to define required
5454
# features for a dependency. See
5555
# <https://github.com/rust-lang/api-guidelines/issues/180> for the explanation
5656
# and references.
57-
serde_crate = { package = "serde", version = "1.0", features = ["derive"], optional = true }
58-
serde_with = { version = "1.5", features = ["hex"], optional = true }
57+
serde_crate = { package = "serde", version = "~1.0.0", features = ["derive"], optional = true }
58+
serde_with = { version = "~1.5.0", features = ["hex"], optional = true }
5959
serde_with_macros = { version = "~1.2.0", optional = true } # Fix for the problem in 1.3.0
6060
# Core rust projects
6161
# ------------------

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ brew cargo pkg-config zmq
120120

121121
### Clone and compile library
122122

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

126126
```shell script
127127
git clone https://github.com/lnp-bp/rust-lnpbp

client_side_validation/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "client_side_validation"
3-
version = "1.0.0-rc.2+1"
3+
version = "0.3.0"
44
license = "Apache-2.0"
55
authors = ["Dr. Maxim Orlovsky <[email protected]>"]
66
description = "Client-side validation library"
@@ -20,7 +20,7 @@ crate-type = ["dylib", "rlib", "staticlib"]
2020
[dependencies]
2121
amplify = "3"
2222
amplify_derive = "2.4.3"
23-
strict_encoding = { version = "1.0.0-rc.3", features = [] }
23+
strict_encoding = { version = "1", features = [] }
2424
bitcoin_hashes = "0.9"
2525
grin_secp256k1zkp = { version = "0.7", optional = true }
2626

strict_encoding/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strict_encoding"
3-
version = "1.0.0-rc.6+3"
3+
version = "1.0.1"
44
license = "Apache-2.0"
55
authors = ["Dr. Maxim Orlovsky <[email protected]>"]
66
description = "Strict encoding: deterministic binary serialization for networking & client-side validation"
@@ -15,12 +15,12 @@ exclude = ["derive"]
1515
[lib]
1616
name = "strict_encoding"
1717
path = "src/lib.rs"
18-
crate-type = ["dylib", "rlib", "staticlib"]
18+
crate-type = ["rlib", "staticlib"]
1919

2020
[dependencies]
2121
amplify = "3"
2222
amplify_derive = "2.4.3"
23-
strict_encoding_derive = { version = "1.0.0-rc.1", path = "./derive", optional = true }
23+
strict_encoding_derive = { version = "1", optional = true }
2424
bitcoin = "0.26" # TODO: Replace on bitcoin encoding crate with 0.27 release
2525
miniscript = { version = "5", optional = true }
2626
ed25519-dalek = { version = "1", optional = true }

strict_encoding/derive/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strict_encoding_derive"
3-
version = "1.0.0-rc.1"
3+
version = "1.0.0"
44
license = "Apache-2.0"
55
authors = ["Dr. Maxim Orlovsky <[email protected]>"]
66
description = "Strict encoding derivation macro"

0 commit comments

Comments
 (0)