Crate shapely_derive

Source
Expand description

§shapely-derive

experimental free of syn crates.io documentation MIT/Apache-2.0 licensed

shapely-derive provides procedural macros to derive the Shapely trait from shapely.

This crate implements the #[derive(Shapely)] macro which automatically generates runtime reflection code for Rust structs, providing:

  • Structure parsing and representation
  • Field access and manipulation
  • Integration with the shapely runtime reflection system

The implementation uses unsynn for efficient and fast compilation.

§Funding

Thanks to Namespace for providing fast GitHub Actions workers:

§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.

Derive Macros§

Shapely
Derive the [shapely_core::Shapely] trait for structs, tuple structs, and enums.