Walk over compile-time designated Rust types at run-time.

Kestrel 1120725571 Begin adding some documentation. 3 years ago
rustructure 1120725571 Begin adding some documentation. 3 years ago
rustructure-macros a37f046d0d Clippy nits. 3 years ago
rustructure-test e0e93181ff rustfmt pass. 3 years ago
.gitignore 9405467ae2 Initial working version. 3 years ago
.vimrc 9405467ae2 Initial working version. 3 years ago
Cargo.lock 28a08de6ee Added skip_walk attribute. 3 years ago
Cargo.toml 9405467ae2 Initial working version. 3 years ago
README.md 1120725571 Begin adding some documentation. 3 years ago

README.md

rustructure supports walking over designated Rust types at run-time.

This allows for some level of introspection from the perspective of libraries that consume external types that can be prepared for their consumption. One motivating example is when generating code for serialization or deserialization as a complement to serde when a format requires foreknowledge of the type at a time it is impossible to have an actual instance of the type.

This crate can be no_std by removing the default std feature, though without alloc its usefulness is likely limited.