Skip to content

Commit

Permalink
Release v9.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lau <x@acg.box>
  • Loading branch information
aurexav committed Dec 29, 2024
1 parent c930f4f commit 46ee081
Show file tree
Hide file tree
Showing 19 changed files with 1,880 additions and 2,775 deletions.
63 changes: 36 additions & 27 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,114 +1,123 @@
## v7.1.0
### v9.0.0
- Expose more friendly APIs, `Hexify` and `DeHexify` traits.
- Un-public some tiny functions to encourage using `Hexify` and `DeHexify` traits.
- Improve docs.
- Restructure the code.

### v8.0.0
- Improve performance.

### v7.1.0
- Rename `se_hex` to `ser_hex`.
- Rename `se_hex_without_prefix` to `ser_hex_without_prefix`.

## v7.0.0
### v7.0.0
- Improve docs.
- Improve tests.
- Bump dependencies.
- Add `se_hex`, `se_hex_without_prefix`.
- Rename `de_hex2num` to `de_try_from_hex` and make it support more types.
- Remove `de_hex2bytes`.

## v6.2.3
### v6.2.3
- Add `slice2array_ref` and `slice2array_ref_unchecked`.
- Bump dependencies.

## v6.2.2
### v6.2.2
- Improve documentation.

## v6.2.1
### v6.2.1
- Add `prefix_with` and `suffix_with`.
- Bump dependencies.

## v6.2.0
### v6.2.0
- Adjust generics order.
- Bump dependencies.

## v6.1.0
### v6.1.0
- Improve expression.
- Improve `TryFromHex` and add `Hex`.

## v6.0.0
### v6.0.0
- Optimize algorithm.
- Bump dependencies.

## v5.1.0
### v5.1.0
- Rename error fields.

## v5.0.0
### v5.0.0
- Optimize algorithm.
- Improve documentation.
- Support `AsRef<T>` input.
- Add `hex2slice` and `hex2slice_unchecked`.

## v4.2.0
### v4.2.0
- Bump dependencies.
- Update CI.
- Update license.

## v4.1.0
### v4.1.0
- Mark `hex_bytes2hex_str_unchecked` as unsafe.

## v4.0.0
### v4.0.0
- Use `is_hex_ascii` to optimize performance.
- Add benchmark results.
- Add `hex_bytes2hex_str` and `hex_bytes2hex_str_unchecked`.
- Add fuzzing.

## v3.0.0
### v3.0.0
- Break `hex_into` into `hex_into` and `hex_n_into`.
- Break `hex_into_unchecked` into `hex_into_unchecked` and `hex_n_into_unchecked`.

## v2.0.2
### v2.0.2
- Bump dependencies.
- Update README.
- Update CI.

## v2.0.1
### v2.0.1
- Fix tests.

## v2.0.0
### v2.0.0
- Split `dyn_*` to `slice_*` and `vec_*`.
- Remove all the unsafe usage.

## v1.6.0
### v1.6.0
- Disable generic input. (people should know what are they going to do)
- Bump dependencies.

## v1.5.2
### v1.5.2
- Update documentation.
- Update code format.
- Bump dependencies.

## v1.5.1
### v1.5.1
- Update description.

## v1.5.0
### v1.5.0
- Revert *"Use `String` instead `&str` in `serde`"*.
- Bump dependencies.
- Rust edition 2021.

## v1.4.1
### v1.4.1
- Use `String` instead `&str` in `serde`.

## v1.4.0
### v1.4.0
- Bump `serde`.
- Add more documentation.
- Add more tests.
- Rename `hexd2num` to `de_hex2num`, `hexd2bytes` to `de_hex2bytes`.

## v1.3.3
### v1.3.3
- Allow explicit generic argument.

## v1.3.2
### v1.3.2
- Add `dyn_into`.

## v1.3.0
### v1.3.0
- Add `hex2array`, `hex_try_into` and `hex_into_unchecked`.
- Support `serde`.

## v1.2.0
### v1.2.0
- Deprecated macro `hex2array_unchecked`.
- Introduce function `hex2array_unchecked`.
- Require at least Rust `1.51.0`.
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[package]
authors = ["Xavier Lau <x@acg.box>"]
categories = [
"algorithms",
"encoding",
"parsing",
"no-std",
"wasm",
]
description = "A collection of array/bytes/hex utilities."
description = "A collection of Array/Bytes/Hex utilities with full No-STD compatibility."
edition = "2021"
homepage = "https://hack.ink/array-bytes"
keywords = [
Expand All @@ -18,7 +21,7 @@ license = "Apache-2.0/GPL-3.0"
name = "array-bytes"
readme = "README.md"
repository = "https://github.com/hack-ink/array-bytes"
version = "8.0.0"
version = "9.0.0"

[profile.ci-dev]
incremental = false
Expand All @@ -32,7 +35,7 @@ smallvec = { version = "1.13" }
const-hex = { version = "1.14" }
criterion = { version = "0.5" }
faster-hex = { version = "0.10" }
hex = { version = "0.4" }
hex_crate = { package = "hex", version = "0.4" }
rustc-hex = { version = "2.1" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
Expand Down
Loading

0 comments on commit 46ee081

Please sign in to comment.