Derive macros for the InferaDB SDK.
This crate provides derive macros for implementing the Resource and Subject
traits, enabling type-safe authorization operations.
Usage
Add to your Cargo.toml:
[]
= { = "0.1", = ["derive"] }
Examples
use ;
// Now you can use these with the InferaDB SDK
let doc = Document ;
let user = User ;
// Type-safe API
assert_eq!;
assert_eq!;