# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "nanoserde" version = "0.2.0-beta.0" authors = [ "makepad ", "Fedor ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false 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, } ``` ''' readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/not-fl3/nanoserde" [lib] name = "nanoserde" path = "src/lib.rs" [[test]] name = "bin" path = "tests/bin.rs" [[test]] name = "json" path = "tests/json.rs" [[test]] name = "parse" path = "tests/parse.rs" [[test]] name = "ron" path = "tests/ron.rs" [[test]] name = "ser_de" path = "tests/ser_de.rs" [[test]] name = "toml" path = "tests/toml.rs" [dependencies.nanoserde-derive] version = "=0.2.0-beta.0" optional = true [features] binary = [ "dep:nanoserde-derive", "nanoserde-derive/binary", ] default = [ "json", "binary", "ron", "toml", "std", ] json = [ "dep:nanoserde-derive", "nanoserde-derive/json", ] ron = [ "dep:nanoserde-derive", "nanoserde-derive/ron", ] std = [] toml = []