Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand All @@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: false
matrix:
feature: [ derive, rand, stl, serde ]
feature: [ derive, rand, stl, vesper, serde ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -38,3 +38,8 @@ jobs:
components: rust-docs
- name: Formatting
run: cargo +nightly doc --workspace --all-features
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
branches:
- master
tags:
- 'v[0-9]+\.*'
- 'v[0-9]+.*'
pull_request:
branches:
- master
- develop
- 'v[0-9]+.[0-9]+'
- 'v[0-9]+.?*'

env:
CARGO_TERM_COLOR: always
Expand All @@ -36,4 +36,4 @@ jobs:
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Test in headless Chrome
run: wasm-pack test --headless --chrome
run: RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack test --headless --chrome
86 changes: 68 additions & 18 deletions Cargo.lock

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

16 changes: 10 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ edition = "2021"
license = "Apache-2.0"

[workspace.dependencies]
amplify = "~4.8.0"
strict_encoding = "~2.8.2"
strict_types = "~2.8.3"
amplify = "~4.9.0"
strict_encoding = "~2.9.1"
strict_types = "~2.9.0"
serde = { version = "1", features = ["derive"] }

[package]
Expand Down Expand Up @@ -53,11 +53,15 @@ serde = { workspace = true, optional = true }

[features]
default = ["derive"]
all = ["serde", "rand", "stl"]
stl = ["commit_verify/stl"]
rand = ["commit_verify/rand"]
all = ["serde", "rand", "stl", "vesper"]
derive = ["commit_verify/derive"]
rand = ["commit_verify/rand"]
stl = ["commit_verify/stl"]
vesper = ["commit_verify/vesper"]
serde = ["dep:serde", "commit_verify/serde"]

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

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(coverage_nightly)'] }
25 changes: 0 additions & 25 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -174,28 +174,3 @@
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2019-2024 LNP/BP Standards Association, Switzerland

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
13 changes: 13 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[files]
# exclude the directory "stl/"
extend-exclude = ["stl/"]

[default.extend-words]
# Don't correct the name "Jon Atack".
Atack = "Atack"

[default]
extend-ignore-re = [
# Don't correct URIs
"([a-z]+:)*[$!0-9A-Za-z-]+",
]
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ codecov:
coverage:
precision: 1
round: nearest
range: "0...95"
range: "0...80"
status:
project:
default:
Expand Down
Loading