expunge 0.3.5

A simple crate to expunge, redact and transform struct fields declaratively
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use expunge::Expunge;

#[derive(Default)]
struct Location(f64, f64);

#[derive(Expunge)]
#[expunge(default)]
struct UserData {
    username: String,
    password: String,
    location: Location,
}