ts-rs 12.0.1

generate typescript bindings from rust types
Documentation
1
2
3
4
5
6
#![allow(dead_code)]

#[derive(ts_rs::TS)]
struct Test<T> {
    field: T,
}