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
import Foundation

struct MyStruct: Codable {
    var field: String
    @Yolo var wrapped_field: String
    var another_field: String

    init(field: String, wrapped_field: String, another_field: String) {
        self.field = field
        self.wrapped_field = wrapped_field
        self.another_field = another_field
    }
}