19 releases (7 breaking)
Uses new Rust 2024
new 0.10.0 | Apr 19, 2025 |
---|---|
0.9.1 | Apr 19, 2025 |
0.8.2 | Apr 16, 2025 |
0.7.0 | Apr 15, 2025 |
0.2.5 | Apr 10, 2025 |
#30 in #core
1,606 downloads per month
Used in 15 crates
(14 directly)
330KB
7K
SLoC
Logo by Misiasart
Thanks to all individual and corporate sponsors, without whom this work could not exist:
Defines the core types and traits used throughout the facet ecosystem for runtime reflection:
Facet
: exposes aSHAPE
associated constShape
: The central type that describes the memory layout and capabilities of a type- Various vtables that define how to manipulate types at runtime
- The
Def
tree, which describes type definitions (structs, enums, etc.)
This crate is foundational to facet's reflection capabilities, providing the type system that enables runtime type manipulation.
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~180KB