Skip to content

Commit 77e36c5

Browse files
authored
Merge pull request #195 from LNP-BP/revision
Revision for the release v0.12
2 parents 0fab906 + 2357928 commit 77e36c5

38 files changed

+1343
-501
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches:
66
- master
77
tags:
8-
- 'v[0-9]+\.*'
8+
- 'v[0-9]+.*'
99
pull_request:
1010
branches:
1111
- master
1212
- develop
13-
- 'v[0-9]+.[0-9]+'
13+
- 'v[0-9]+.?*'
1414

1515
env:
1616
CARGO_TERM_COLOR: always
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
feature: [ derive, rand, stl, serde ]
36+
feature: [ derive, rand, stl, vesper, serde ]
3737
steps:
3838
- uses: actions/checkout@v4
3939
- uses: dtolnay/rust-toolchain@stable

.github/workflows/codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches:
66
- master
77
tags:
8-
- 'v[0-9]+\.*'
8+
- 'v[0-9]+.*'
99
pull_request:
1010
branches:
1111
- master
1212
- develop
13-
- 'v[0-9]+.[0-9]+'
13+
- 'v[0-9]+.?*'
1414

1515
env:
1616
CARGO_TERM_COLOR: always

.github/workflows/lint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- master
77
- develop
8-
- 'v[0-9]+.[0-9]+'
8+
- 'v[0-9]+.?*'
99

1010
env:
1111
CARGO_TERM_COLOR: always
@@ -38,3 +38,8 @@ jobs:
3838
components: rust-docs
3939
- name: Formatting
4040
run: cargo +nightly doc --workspace --all-features
41+
typos:
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: crate-ci/typos@master

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55
branches:
66
- master
77
tags:
8-
- 'v[0-9]+\.*'
8+
- 'v[0-9]+.*'
99
pull_request:
1010
branches:
1111
- master
1212
- develop
13-
- 'v[0-9]+.[0-9]+'
13+
- 'v[0-9]+.?*'
1414

1515
env:
1616
CARGO_TERM_COLOR: always
@@ -36,4 +36,4 @@ jobs:
3636
- name: Add wasm32 target
3737
run: rustup target add wasm32-unknown-unknown
3838
- name: Test in headless Chrome
39-
run: wasm-pack test --headless --chrome
39+
run: RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack test --headless --chrome

Cargo.lock

Lines changed: 68 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ edition = "2021"
2222
license = "Apache-2.0"
2323

2424
[workspace.dependencies]
25-
amplify = "~4.8.0"
26-
strict_encoding = "~2.8.2"
27-
strict_types = "~2.8.3"
25+
amplify = "~4.9.0"
26+
strict_encoding = "~2.9.1"
27+
strict_types = "~2.9.0"
2828
serde = { version = "1", features = ["derive"] }
2929

3030
[package]
@@ -53,11 +53,15 @@ serde = { workspace = true, optional = true }
5353

5454
[features]
5555
default = ["derive"]
56-
all = ["serde", "rand", "stl"]
57-
stl = ["commit_verify/stl"]
58-
rand = ["commit_verify/rand"]
56+
all = ["serde", "rand", "stl", "vesper"]
5957
derive = ["commit_verify/derive"]
58+
rand = ["commit_verify/rand"]
59+
stl = ["commit_verify/stl"]
60+
vesper = ["commit_verify/vesper"]
6061
serde = ["dep:serde", "commit_verify/serde"]
6162

6263
[package.metadata.docs.rs]
6364
features = ["all"]
65+
66+
[lints.rust]
67+
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(coverage_nightly)'] }

LICENSE

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -174,28 +174,3 @@
174174
of your accepting any such warranty or additional liability.
175175

176176
END OF TERMS AND CONDITIONS
177-
178-
APPENDIX: How to apply the Apache License to your work.
179-
180-
To apply the Apache License to your work, attach the following
181-
boilerplate notice, with the fields enclosed by brackets "[]"
182-
replaced with your own identifying information. (Don't include
183-
the brackets!) The text should be enclosed in the appropriate
184-
comment syntax for the file format. We also recommend that a
185-
file or class name and description of purpose be included on the
186-
same "printed page" as the copyright notice for easier
187-
identification within third-party archives.
188-
189-
Copyright 2019-2024 LNP/BP Standards Association, Switzerland
190-
191-
Licensed under the Apache License, Version 2.0 (the "License");
192-
you may not use this file except in compliance with the License.
193-
You may obtain a copy of the License at
194-
195-
http://www.apache.org/licenses/LICENSE-2.0
196-
197-
Unless required by applicable law or agreed to in writing, software
198-
distributed under the License is distributed on an "AS IS" BASIS,
199-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200-
See the License for the specific language governing permissions and
201-
limitations under the License.

_typos.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[files]
2+
# exclude the directory "stl/"
3+
extend-exclude = ["stl/"]
4+
5+
[default.extend-words]
6+
# Don't correct the name "Jon Atack".
7+
Atack = "Atack"
8+
9+
[default]
10+
extend-ignore-re = [
11+
# Don't correct URIs
12+
"([a-z]+:)*[$!0-9A-Za-z-]+",
13+
]

codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ codecov:
44
coverage:
55
precision: 1
66
round: nearest
7-
range: "0...95"
7+
range: "0...80"
88
status:
99
project:
1010
default:

0 commit comments

Comments
 (0)