fastauth-macros 0.3.0

Derive macros for fastauth: Fields, Model and AuthError.
Documentation
1
2
3
4
5
6
7
8
9
10
use fastauth_core::Model;
use fastauth_core::plugin_prelude::Id;

#[derive(Model, Clone)]
struct ApiKey {
    #[model(id)]
    id: Id,
}

fn main() {}