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
use chrono::{DateTime, Utc};
use facet::Facet;

#[derive(Facet)]
#[facet(rename_all = "camelCase")]
pub struct Foo {
    pub time: DateTime<Utc>,
}