Skip to content

Commit

Permalink
Use edition 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Oct 22, 2021
1 parent fbb47ab commit f8cb34b
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "data-encoding-bin"
version = "0.3.1"
authors = ["Julien Cretin <git@ia0.eu>"]
license = "MIT"
edition = "2018"
edition = "2021"
keywords = ["base-conversion", "encoding", "base64", "base32", "hex"]
categories = ["command-line-utilities", "encoding"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion cmp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cmp"
version = "0.1.0"
authors = ["ia0 <git@ia0.eu>"]
license = "MIT"
edition = "2018"
edition = "2021"
build = "build.rs"
publish = false

Expand Down
4 changes: 4 additions & 0 deletions lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### Patch

- Switch to edition 2021

## 2.3.2

### Patch
Expand Down
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "data-encoding"
version = "2.3.2"
authors = ["Julien Cretin <git@ia0.eu>"]
license = "MIT"
edition = "2018"
edition = "2021"
keywords = ["no_std", "base64", "base32", "hex"]
categories = ["encoding", "no-std"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion lib/macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "data-encoding-macro"
version = "0.1.12"
authors = ["Julien Cretin <cretin@google.com>"]
license = "MIT"
edition = "2018"
edition = "2021"
keywords = ["no_std", "base64", "base32", "hex", "macro"]
categories = ["encoding", "no-std"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion lib/macro/internal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "data-encoding-macro-internal"
version = "0.1.10"
authors = ["Julien Cretin <cretin@google.com>"]
license = "MIT"
edition = "2018"
edition = "2021"
description = "Internal library for data-encoding-macro"
readme = "README.md"
repository = "https://github.com/ia0/data-encoding"
Expand Down
2 changes: 1 addition & 1 deletion nostd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "nostd"
version = "0.1.0"
authors = ["Julien Cretin <cretin@google.com>"]
edition = "2018"
edition = "2021"
license = "MIT"
publish = false
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion www/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "data-encoding-www"
version = "0.1.0"
authors = ["Julien Cretin <cretin@google.com>"]
license = "MIT"
edition = "2018"
edition = "2021"
repository = "https://github.com/ia0/data-encoding"
description = "Website for data-encoding"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion www/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ fn encoding_update(encoding: &Option<Encoding>, id: i32) {
AllButSymbol,
TrailingBits,
Nothing,
};
}
let hide = match encoding {
None => Hide::AllButSymbol,
Some(encoding) => match encoding.bit_width() {
Expand Down

0 comments on commit f8cb34b

Please sign in to comment.