codama-macros 0.9.3

Procedural macros for the Codama standard
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use codama_macros::codama;

#[codama(default_value = pda)]
pub struct TestEmpty;

#[codama(default_value = pda())]
pub struct TestEmptyWithBraces;

#[codama(default_value = pda(seeds = []))]
pub struct TestWithExplicitSeeds;

#[codama(default_value = pda([]))]
pub struct TestWithImplicitSeeds;

fn main() {}