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.