Skip to content

Commit

Permalink
improve crate description
Browse files Browse the repository at this point in the history
- use the project's tagline. Remove the embedded (unreadable) example.
- reorder the features.
  • Loading branch information
joseluis authored and knickish committed Nov 17, 2024
1 parent edca208 commit e8af859
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,19 @@ name = "nanoserde"
version = "0.2.0-beta.2"
authors = ["makepad <info@makepad.nl>", "Fedor <not.fl3@gmail.com>"]
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]
Expand Down

0 comments on commit e8af859

Please sign in to comment.