facet_generate 0.16.0

Generate Swift, Kotlin and TypeScript from types annotated with `#[derive(Facet)]`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use facet::Facet;

#[derive(Facet)]
pub struct MyStruct {
    a: i32,
    #[facet(skip)]
    b: i32,
    // TODO: #[facet(swift(skip))]
    c: i32,
    // TODO: #[facet(skip)]
    d: i32,
}

// TODO: enable swift, typescript (expect files need updating for no-encoding output)
crate::test! {
    MyStruct for kotlin
}