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

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

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.