6 releases
| 0.1.5 | Feb 11, 2026 |
|---|---|
| 0.1.4 | Sep 4, 2023 |
| 0.1.3 | Apr 28, 2022 |
| 0.1.2 | Aug 11, 2021 |
| 0.1.1 | Jul 21, 2021 |
#1841 in Encoding
17KB
268 lines
hexstring
The hexstring crate provide a convenient hexadecimal string wrapper.
It allows all the common conversion expected from a hexadecimal string :
- Contains a structured representation of uppercase or lowercase hexadecimal string
- Construct from both string and string literal
- Convert from and into array of bytes
The HexString type is a tiny
immutable wrapper around string and insure it always contains a valid hexadecimal string.
Feature flags
The following are a list of Cargo features that can be enabled or disabled:
- serde: Enable serde support.
License
Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)
Dependencies
~0.7–1.5MB
~27K SLoC