Crates.io | constuneval |
lib.rs | constuneval |
version | 0.1.0 |
source | src |
created_at | 2021-02-20 07:33:10.063231 |
updated_at | 2021-02-20 07:33:10.063231 |
description | Simple serializer to embed structs/tables as const Rust code using Debug trait |
homepage | |
repository | https://github.com/ashutoshvarma/constuneval |
max_upload_size | |
id | 357907 |
size | 28,188 |
Try to serializes your data/tables to const rust code using Debug
trait.
This crate was inspired by the this Github issue.
This crate can be used form your build script. It will try to serialize data/tables you provide to any file you specify. After that you can use include! to embed the generated code into your crate.
For full documentation see - https://docs.rs/constuneval
MIT