Skip to content

Commit e8af859

Browse files
joseluisknickish
authored andcommitted
improve crate description
- use the project's tagline. Remove the embedded (unreadable) example. - reorder the features.
1 parent edca208 commit e8af859

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

Cargo.toml

+6-17
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,19 @@ name = "nanoserde"
33
version = "0.2.0-beta.2"
44
authors = ["makepad <[email protected]>", "Fedor <[email protected]>"]
55
license = "MIT OR Apache-2.0"
6-
description = """
7-
Fork of makepad-tinyserde without any external dependencies.
8-
Supports json, binary and ron.
9-
10-
```rust
11-
#[derive(Clone, Debug, Default, DeJson, SerJson)]
12-
pub struct Property {
13-
pub name: String,
14-
#[nserde(default)]
15-
pub value: String,
16-
#[nserde(rename = "type")]
17-
pub ty: String,
18-
}
19-
```
20-
"""
6+
description = """Serialization library with zero dependencies.
7+
Supports Binary, JSON, RON and TOML."""
218
edition = "2018"
229
repository = "https://github.com/not-fl3/nanoserde"
2310

2411
[features]
25-
default = ["json", "binary", "ron", "toml", "std"]
26-
json = ["dep:nanoserde-derive", "nanoserde-derive/json"]
12+
default = ["binary", "json", "ron", "toml", "std"]
13+
2714
binary = ["dep:nanoserde-derive", "nanoserde-derive/binary"]
15+
json = ["dep:nanoserde-derive", "nanoserde-derive/json"]
2816
ron = ["dep:nanoserde-derive", "nanoserde-derive/ron"]
2917
toml = []
18+
3019
std = []
3120

3221
[dependencies]

0 commit comments

Comments
 (0)