#[lucia_macros::pkg(api(Foo), data_format(json))] mod pkg { #[derive(Debug)] #[pkg::req_data] pub struct Req; #[pkg::req_data] struct Res; } fn main() { }