v_utils_macros 2.12.3

Macros for my utils crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
#![feature(default_field_values)]

use v_utils_macros::MyConfigPrimitives;

// Same hazard as `private_value_with_smart_default.rs`, but via the nightly
// `field: T = expr` syntax instead of the SmartDefault attribute.
#[derive(Clone, Debug, Default, MyConfigPrimitives)] //~ ERROR: proc-macro derive panicked
pub struct BadConfig {
	#[private_value]
	pub port: u16 = 42,
}