data-encoding-macro

Crates.iodata-encoding-macro
lib.rsdata-encoding-macro
version0.1.15
sourcesrc
created_at2017-11-18 21:35:58.384825
updated_at2024-04-28 08:39:46.772878
descriptionMacros for data-encoding
homepage
repositoryhttps://github.com/ia0/data-encoding
max_upload_size
id39849
size11,837
osm-publishers (github:georust:osm-publishers)

documentation

https://docs.rs/data-encoding-macro

README

This library provides macros to define compile-time byte slices and arrays from encoded strings (using common bases like base64, base32, or hexadecimal, and also custom bases). It also provides a macro to define compile-time custom encodings to be used with the data-encoding crate.

See the documentation for more details.

Up to Rust 1.50, you may need to add the following to your .cargo/config.toml to use this library in no-std or no-alloc environments:

[unstable]
features = ["host_dep"]

From Rust 1.51, you may need to add the following to your Cargo.toml:

[package]
resolver = "2"
Commit count: 206

cargo fmt