Skip to content
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ jobs:
run: ./contrib/test.sh

MSRV:
name: Test - 1.56.1 toolchain
name: Test - 1.74.0 toolchain
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout Crate
uses: actions/checkout@v4
- name: Checkout Toolchain
uses: dtolnay/rust-toolchain@1.56.1
uses: dtolnay/rust-toolchain@1.74.0
- name: Running test script
env:
DO_FEATURE_MATRIX: true
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ readme = "README.md"
keywords = ["base32", "encoding", "bech32", "bitcoin", "cryptocurrency"]
categories = ["encoding", "cryptography::cryptocurrencies"]
license = "MIT"
edition = "2018"
edition = "2021"
rust-version = "1.74.0"

[features]
default = ["std"]
Expand Down
1 change: 0 additions & 1 deletion clippy.toml

This file was deleted.

2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bech32-fuzz"
edition = "2021"
rust-version = "1.56.1"
rust-version = "1.74.0"
version = "0.0.1"
authors = ["Automatically generated"]
publish = false
Expand Down
2 changes: 1 addition & 1 deletion src/primitives/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ where
/// The number of fes encoded by n bytes, rounded up because we pad the fes.
fn bytes_len_to_fes_len(bytes: usize) -> usize {
let bits = bytes * 8;
(bits + 4) / 5
bits.div_ceil(5)
}

impl<I> ExactSizeIterator for BytesToFes<I>
Expand Down
Loading