Skip to content

Commit 2436a35

Browse files
committed
Release v9.1.1
1 parent 3388a5f commit 2436a35

File tree

4 files changed

+27
-5
lines changed

4 files changed

+27
-5
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v9.1.1
2+
- Integrate `serde_bytes`.
3+
14
### v9.1.0
25
- Use reference instead of value in `Hexify` trait and related serialize functions.
36

Cargo.lock

+11-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+11-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ authors = ["Xavier Lau <[email protected]>"]
33
categories = [
44
"algorithms",
55
"encoding",
6-
"parsing",
76
"no-std",
7+
"parsing",
88
"wasm",
99
]
1010
description = "A collection of Array/Bytes/Hex utilities with full No-STD compatibility."
@@ -21,15 +21,22 @@ license = "Apache-2.0/GPL-3.0"
2121
name = "array-bytes"
2222
readme = "README.md"
2323
repository = "https://github.com/hack-ink/array-bytes"
24-
version = "9.1.0"
24+
version = "9.1.1"
2525

2626
[profile.ci-dev]
2727
incremental = false
2828
inherits = "dev"
2929

30+
[features]
31+
serde = [
32+
"dep:serde",
33+
"serde_bytes",
34+
]
35+
3036
[dependencies]
31-
serde = { version = "1.0", optional = true, default-features = false }
32-
smallvec = { version = "1.13" }
37+
serde = { version = "1.0", optional = true, default-features = false }
38+
serde_bytes = { version = "0.11", optional = true, default-features = false, features = ["alloc"] }
39+
smallvec = { version = "1.13" }
3340

3441
[dev-dependencies]
3542
const-hex = { version = "1.14" }

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ mod prelude {
6060
#[cfg(test)] pub use test::*;
6161
}
6262

63+
#[cfg(feature = "serde")] pub use serde_bytes;
64+
6365
#[allow(missing_docs)]
6466
pub type Result<T, E = Error> = core::result::Result<T, E>;
6567

0 commit comments

Comments
 (0)