Skip to content

Commit

Permalink
chore: update edition to 2021 and msrv to 1.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
h4sh3d committed Sep 15, 2023
1 parent 5045e8d commit 677dcf5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
rust: [
1.49.0,
1.63.0,
stable,
nightly
]
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Rust edition `2021` and MSRV `1.63.0`

## [1.1.0] - 2023-03-11

### Added
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ readme = "README.md"
repository = "https://github.com/monero-rs/base58-monero"
description = "Library with support for encoding/decoding Monero base58 strings."

edition = "2018"
edition = "2021"
rust-version = "1.63.0"

[package.metadata]
msrv = "1.49.0"

[features]
check = ["tiny-keccak"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Crates.io](https://img.shields.io/crates/v/base58-monero.svg)](https://crates.io/crates/base58-monero)
[![Documentation](https://docs.rs/base58-monero/badge.svg)](https://docs.rs/base58-monero)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![MSRV](https://img.shields.io/badge/MSRV-1.49.0-blue)](https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html)
[![MSRV](https://img.shields.io/badge/MSRV-1.63.0-blue)](https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html)

# Rust Monero Base58

Expand Down
2 changes: 1 addition & 1 deletion src/base58.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ where

while let Some(value) = data.next().await {
buf[clen % len] = value?;
if (clen >= CHECKSUM_SIZE) {
if clen >= CHECKSUM_SIZE {
check[0] = buf[(clen - CHECKSUM_SIZE) % len];
hasher.update(&check[0..1]);
yield check[0];
Expand Down

0 comments on commit 677dcf5

Please sign in to comment.