From e55ed4283048c912d6e6cc9c7f0696a0f54c0ce2 Mon Sep 17 00:00:00 2001 From: Andrei Volnin Date: Sat, 25 Nov 2023 12:53:14 +0700 Subject: [PATCH] Bump version --- Cargo.toml | 4 ++-- tests/tests.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d2dea70..dc2c765 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pretty-hex" -version = "0.3.0" +version = "0.4.0" authors = ["Andrei Volnin "] license = "MIT" description = "Pretty hex dump of bytes slice in the common style." @@ -14,7 +14,7 @@ keywords = ["logging", "hex", "dump", "binary"] [dependencies] [dev-dependencies] -heapless = "0.5.5" +heapless = "0.7" [features] default = ["alloc"] diff --git a/tests/tests.rs b/tests/tests.rs index 3d01907..2bbc641 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -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::::new(); + let mut buffer = heapless::Vec::::new(); hex_write(&mut buffer, &bytes, config).unwrap();