Crates.io | data-encoding-macro |
lib.rs | data-encoding-macro |
version | 0.1.15 |
source | src |
created_at | 2017-11-18 21:35:58.384825 |
updated_at | 2024-04-28 08:39:46.772878 |
description | Macros for data-encoding |
homepage | |
repository | https://github.com/ia0/data-encoding |
max_upload_size | |
id | 39849 |
size | 11,837 |
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"