hexstring

Crates.iohexstring
lib.rshexstring
version0.1.4
sourcesrc
created_at2021-07-20 13:23:58.630055
updated_at2023-09-04 11:23:15.44493
descriptionAn utility library for handling hexadecimal string
homepagehttps://github.com/alekece/hexstring-rs
repositoryhttps://github.com/alekece/hexstring-rs
max_upload_size
id425147
size22,465
Alexis Le Provost (alekece)

documentation

README

crates.io MIT licensed Documentation CI codecov

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.

Requirements

hexstring crate uses unstable constant generic type internally. To compile the library in any project, build it in nightly mode such as :

rustup override set nightly

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)

Commit count: 48

cargo fmt