facet_generate 0.17.2

Generate Swift, Kotlin, TypeScript, and C# from types annotated with `#[derive(Facet)]`
Documentation
1
2
3
4
5
6
7
8
9
10
11
use facet::Facet;
use uuid::Uuid;

#[derive(Facet)]
#[facet(rename_all = "camelCase")]
pub struct Foo {
    pub id: Uuid,
    pub maybe_id: Option<Uuid>,
}

crate::test! { Foo for kotlin, swift, typescript, csharp }