hodei-derive
Derive macros for the Hodei authorization framework.
Overview
This crate provides procedural macros to automatically generate Cedar Policy schemas from Rust types:
#[derive(HodeiEntity)]- Generate entity schemas#[derive(HodeiAction)]- Generate action schemas
Usage
use ;
use Hrn;
Features
- Auto-generate Cedar schemas from Rust types
- Type-safe authorization at compile time
- Inventory integration for schema discovery
- Zero runtime overhead
Documentation
For more information, see the Hodei documentation.
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.