Expand description
This crate provides proc macros to generate FFI boilerplate for capabilities.
Modules§
- capability
- Transforms:
- config
- #[capability_config] - Marks a struct as configuration
- lifecycle
- Lifecycle function parsing and FFI generation
- methods
- Capability method parsing and validation for impl blocks
- paths
- Path and naming utilities for capability FFI generation
- spec
- Generates interface specifications using the Pyro type system.
Functions§
- generate_
capability - For generating the capability lib.rs (host-side code)
- generate_
interface - For generating the interface lib.rs (module-side code)