v_utils_macros 2.11.51

Macros for my utils crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
use v_utils_macros::MyConfigPrimitives;

// Unknown content inside a struct-level `#[primitives(...)]` must be a hard error.
// A typo here would otherwise silently fail to opt out of the generated Serialize impl.
#[derive(Clone, Debug, MyConfigPrimitives)]
#[primitives(skip_serialise)] //~ ERROR: unknown `#[primitives(skip_serialise)]` on struct
pub struct BadConfig {
	pub raw: String,
}

fn main() {}