Skip to content

Commit 46ee081

Browse files
committed
Release v9.0.0
Signed-off-by: Xavier Lau <[email protected]>
1 parent c930f4f commit 46ee081

19 files changed

+1880
-2775
lines changed

CHANGELOG

+36-27
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,123 @@
1-
## v7.1.0
1+
### v9.0.0
2+
- Expose more friendly APIs, `Hexify` and `DeHexify` traits.
3+
- Un-public some tiny functions to encourage using `Hexify` and `DeHexify` traits.
4+
- Improve docs.
5+
- Restructure the code.
6+
7+
### v8.0.0
8+
- Improve performance.
9+
10+
### v7.1.0
211
- Rename `se_hex` to `ser_hex`.
312
- Rename `se_hex_without_prefix` to `ser_hex_without_prefix`.
413

5-
## v7.0.0
14+
### v7.0.0
615
- Improve docs.
716
- Improve tests.
817
- Bump dependencies.
918
- Add `se_hex`, `se_hex_without_prefix`.
1019
- Rename `de_hex2num` to `de_try_from_hex` and make it support more types.
1120
- Remove `de_hex2bytes`.
1221

13-
## v6.2.3
22+
### v6.2.3
1423
- Add `slice2array_ref` and `slice2array_ref_unchecked`.
1524
- Bump dependencies.
1625

17-
## v6.2.2
26+
### v6.2.2
1827
- Improve documentation.
1928

20-
## v6.2.1
29+
### v6.2.1
2130
- Add `prefix_with` and `suffix_with`.
2231
- Bump dependencies.
2332

24-
## v6.2.0
33+
### v6.2.0
2534
- Adjust generics order.
2635
- Bump dependencies.
2736

28-
## v6.1.0
37+
### v6.1.0
2938
- Improve expression.
3039
- Improve `TryFromHex` and add `Hex`.
3140

32-
## v6.0.0
41+
### v6.0.0
3342
- Optimize algorithm.
3443
- Bump dependencies.
3544

36-
## v5.1.0
45+
### v5.1.0
3746
- Rename error fields.
3847

39-
## v5.0.0
48+
### v5.0.0
4049
- Optimize algorithm.
4150
- Improve documentation.
4251
- Support `AsRef<T>` input.
4352
- Add `hex2slice` and `hex2slice_unchecked`.
4453

45-
## v4.2.0
54+
### v4.2.0
4655
- Bump dependencies.
4756
- Update CI.
4857
- Update license.
4958

50-
## v4.1.0
59+
### v4.1.0
5160
- Mark `hex_bytes2hex_str_unchecked` as unsafe.
5261

53-
## v4.0.0
62+
### v4.0.0
5463
- Use `is_hex_ascii` to optimize performance.
5564
- Add benchmark results.
5665
- Add `hex_bytes2hex_str` and `hex_bytes2hex_str_unchecked`.
5766
- Add fuzzing.
5867

59-
## v3.0.0
68+
### v3.0.0
6069
- Break `hex_into` into `hex_into` and `hex_n_into`.
6170
- Break `hex_into_unchecked` into `hex_into_unchecked` and `hex_n_into_unchecked`.
6271

63-
## v2.0.2
72+
### v2.0.2
6473
- Bump dependencies.
6574
- Update README.
6675
- Update CI.
6776

68-
## v2.0.1
77+
### v2.0.1
6978
- Fix tests.
7079

71-
## v2.0.0
80+
### v2.0.0
7281
- Split `dyn_*` to `slice_*` and `vec_*`.
7382
- Remove all the unsafe usage.
7483

75-
## v1.6.0
84+
### v1.6.0
7685
- Disable generic input. (people should know what are they going to do)
7786
- Bump dependencies.
7887

79-
## v1.5.2
88+
### v1.5.2
8089
- Update documentation.
8190
- Update code format.
8291
- Bump dependencies.
8392

84-
## v1.5.1
93+
### v1.5.1
8594
- Update description.
8695

87-
## v1.5.0
96+
### v1.5.0
8897
- Revert *"Use `String` instead `&str` in `serde`"*.
8998
- Bump dependencies.
9099
- Rust edition 2021.
91100

92-
## v1.4.1
101+
### v1.4.1
93102
- Use `String` instead `&str` in `serde`.
94103

95-
## v1.4.0
104+
### v1.4.0
96105
- Bump `serde`.
97106
- Add more documentation.
98107
- Add more tests.
99108
- Rename `hexd2num` to `de_hex2num`, `hexd2bytes` to `de_hex2bytes`.
100109

101-
## v1.3.3
110+
### v1.3.3
102111
- Allow explicit generic argument.
103112

104-
## v1.3.2
113+
### v1.3.2
105114
- Add `dyn_into`.
106115

107-
## v1.3.0
116+
### v1.3.0
108117
- Add `hex2array`, `hex_try_into` and `hex_into_unchecked`.
109118
- Support `serde`.
110119

111-
## v1.2.0
120+
### v1.2.0
112121
- Deprecated macro `hex2array_unchecked`.
113122
- Introduce function `hex2array_unchecked`.
114123
- Require at least Rust `1.51.0`.

Cargo.lock

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

Cargo.toml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
[package]
22
authors = ["Xavier Lau <[email protected]>"]
33
categories = [
4+
"algorithms",
45
"encoding",
6+
"parsing",
57
"no-std",
8+
"wasm",
69
]
7-
description = "A collection of array/bytes/hex utilities."
10+
description = "A collection of Array/Bytes/Hex utilities with full No-STD compatibility."
811
edition = "2021"
912
homepage = "https://hack.ink/array-bytes"
1013
keywords = [
@@ -18,7 +21,7 @@ license = "Apache-2.0/GPL-3.0"
1821
name = "array-bytes"
1922
readme = "README.md"
2023
repository = "https://github.com/hack-ink/array-bytes"
21-
version = "8.0.0"
24+
version = "9.0.0"
2225

2326
[profile.ci-dev]
2427
incremental = false
@@ -32,7 +35,7 @@ smallvec = { version = "1.13" }
3235
const-hex = { version = "1.14" }
3336
criterion = { version = "0.5" }
3437
faster-hex = { version = "0.10" }
35-
hex = { version = "0.4" }
38+
hex_crate = { package = "hex", version = "0.4" }
3639
rustc-hex = { version = "2.1" }
3740
serde = { version = "1.0", features = ["derive"] }
3841
serde_json = { version = "1.0" }

0 commit comments

Comments
 (0)