27 releases (14 breaking)
Uses new Rust 2024
new 0.20.0 | May 2, 2025 |
---|---|
0.18.0 | Apr 26, 2025 |
#31 in #core
3,955 downloads per month
Used in 20 crates
(17 directly)
325KB
6.5K
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
~115–540KB