[package] name = "nanoserde" version = "0.2.0-beta.0" authors = ["makepad ", "Fedor "] license = "MIT OR Apache-2.0" description = """ Fork of makepad-tinyserde without any external dependencies. Supports json, binary and ron. ```rust #[derive(Clone, Debug, Default, DeJson, SerJson)] pub struct Property { pub name: String, #[nserde(default)] pub value: String, #[nserde(rename = "type")] pub ty: String, } ``` """ edition = "2018" repository = "https://github.com/not-fl3/nanoserde" [features] default = ["json", "binary", "ron", "toml", "std"] json = ["dep:nanoserde-derive", "nanoserde-derive/json"] binary = ["dep:nanoserde-derive", "nanoserde-derive/binary"] ron = ["dep:nanoserde-derive", "nanoserde-derive/ron"] toml = [] std = [] [dependencies] nanoserde-derive = { path = "derive", version = "=0.2.0-beta.0", optional = true }