Crates.io | static-reflect |
lib.rs | static-reflect |
version | 0.2.0-alpha.9 |
created_at | 2021-04-20 02:26:11.95436+00 |
updated_at | 2025-07-09 04:31:59.94504+00 |
description | Static type information, giving a form of compile-time reflection |
homepage | |
repository | https://github.com/DuckLogic/rust-static-reflect |
max_upload_size | |
id | 386900 |
size | 74,090 |
Compile-time reflection in rust!
The original use case is type-checking generated code in a JIT compiler (with zero runtime cost). However, other use cases are certainly possible :)
Contributions are welcome! I'd be happy to add more features as long as they align with the general philosophy of compile-time reflection.
Unfortunately, there is very little documentation right now. Hopefully, that will change in the future.
#[repr(C)]
to manipulate type layout.Licensed under either the Apache 2.0 License or MIT License at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.