-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- use the project's tagline. Remove the embedded (unreadable) example. - reorder the features.
- Loading branch information
Showing
1 changed file
with
6 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,30 +3,19 @@ name = "nanoserde" | |
version = "0.2.0-beta.2" | ||
authors = ["makepad <[email protected]>", "Fedor <[email protected]>"] | ||
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, | ||
} | ||
``` | ||
""" | ||
description = """Serialization library with zero dependencies. | ||
Supports Binary, JSON, RON and TOML.""" | ||
edition = "2018" | ||
repository = "https://github.com/not-fl3/nanoserde" | ||
|
||
[features] | ||
default = ["json", "binary", "ron", "toml", "std"] | ||
json = ["dep:nanoserde-derive", "nanoserde-derive/json"] | ||
default = ["binary", "json", "ron", "toml", "std"] | ||
|
||
binary = ["dep:nanoserde-derive", "nanoserde-derive/binary"] | ||
json = ["dep:nanoserde-derive", "nanoserde-derive/json"] | ||
ron = ["dep:nanoserde-derive", "nanoserde-derive/ron"] | ||
toml = [] | ||
|
||
std = [] | ||
|
||
[dependencies] | ||
|