Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
wolandr committed Nov 25, 2023
1 parent 4a889b6 commit e55ed42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pretty-hex"
version = "0.3.0"
version = "0.4.0"
authors = ["Andrei Volnin <[email protected]>"]
license = "MIT"
description = "Pretty hex dump of bytes slice in the common style."
Expand All @@ -14,7 +14,7 @@ keywords = ["logging", "hex", "dump", "binary"]
[dependencies]

[dev-dependencies]
heapless = "0.5.5"
heapless = "0.7"

[features]
default = ["alloc"]
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ fn test_hex_write_with_simple_config() {
let config = HexConfig::simple();
let bytes = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
let expected = core::str::from_utf8(b"00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f").unwrap();
let mut buffer = heapless::Vec::<u8, heapless::consts::U50>::new();
let mut buffer = heapless::Vec::<u8, 50>::new();

hex_write(&mut buffer, &bytes, config).unwrap();

Expand Down

0 comments on commit e55ed42

Please sign in to comment.