constuneval

Crates.ioconstuneval
lib.rsconstuneval
version0.1.0
sourcesrc
created_at2021-02-20 07:33:10.063231
updated_at2021-02-20 07:33:10.063231
descriptionSimple serializer to embed structs/tables as const Rust code using Debug trait
homepage
repositoryhttps://github.com/ashutoshvarma/constuneval
max_upload_size
id357907
size28,188
Ashutosh Varma (ashutoshvarma)

documentation

README

constuneval

Try to serializes your data/tables to const rust code using Debug trait.

Why?

This crate was inspired by the this Github issue.

Usage

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

Credit

uneval and @burdges

License

MIT

Commit count: 12

cargo fmt