From 667319b314c773ccbbedefff9d71e8692d1eb4ed Mon Sep 17 00:00:00 2001 From: inspier Date: Tue, 24 Nov 2020 18:32:36 -0600 Subject: [PATCH] hexlit: Bumped version to 0.3.1. --- Cargo.toml | 2 +- README.md | 2 +- rustfmt.toml | 1 + src/lib.rs | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 rustfmt.toml diff --git a/Cargo.toml b/Cargo.toml index a57a4f2..0152fc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hexlit" -version = "0.3.0" +version = "0.3.1" authors = ["inspier "] edition = "2018" documentation = "https://docs.rs/hexlit" diff --git a/README.md b/README.md index ce3cd77..d4034c0 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A zero-allocation no_std-compatible zero-cost way to convert hex-strings to byte To add to your Cargo.toml: ```toml -hexlit = "0.3.0" +hexlit = "0.3.1" ``` ## Example diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..df99c69 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +max_width = 80 diff --git a/src/lib.rs b/src/lib.rs index 5b331a6..59669d5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,8 @@ macro_rules! require_even_number_digits { }; } -pub type Even = <::Marker as LengthIsEvenNumberOfHexDigits>::Check; +pub type Even = + <::Marker as LengthIsEvenNumberOfHexDigits>::Check; pub enum IsEvenNumberofDigits {} pub enum IsOddNumberofDigits {}