| Crates.io | data-encoding-macro |
| lib.rs | data-encoding-macro |
| version | 0.1.18 |
| created_at | 2017-11-18 21:35:58.384825+00 |
| updated_at | 2025-04-12 09:59:39.725986+00 |
| description | Macros for data-encoding |
| homepage | |
| repository | https://github.com/ia0/data-encoding |
| max_upload_size | |
| id | 39849 |
| size | 13,583 |
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"