Skip to content

Commit

Permalink
hexlit: Bumped version to 0.5.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
inspier committed Oct 5, 2021
1 parent 9c62391 commit ee9d078
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hexlit"
version = "0.5.2"
version = "0.5.3"
authors = ["inspier <[email protected]>"]
edition = "2018"
documentation = "https://docs.rs/hexlit"
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.5.2"
hexlit = "0.5.3"
```

## Example
Expand All @@ -23,5 +23,10 @@ fn main() {
assert_eq!(hex!(1a 0_b 0C 0d), [0x1a, 11, 12, 13]);
assert_eq!(hex!(0F 03|0B|0C|0d), [15, 3, 11, 12, 13]);
assert_eq!(hex!(0A-0B-0C-0d), [10, 11, 12, 13]);
assert_eq!(hex!(
A1 B2
C3
D4
), [0xA1, 0xB2, 0xC3, 0xD4]);
}
```

0 comments on commit ee9d078

Please sign in to comment.