15 releases

0.6.6 Jan 17, 2020
0.6.5 Nov 23, 2019
0.6.4 Feb 19, 2019
0.6.1 Dec 31, 2018
0.4.0 Mar 5, 2017

#50 in Web programming

Download history 224/week @ 2020-03-14 139/week @ 2020-03-21 75/week @ 2020-03-28 108/week @ 2020-04-04 184/week @ 2020-04-11 75/week @ 2020-04-18 78/week @ 2020-04-25 123/week @ 2020-05-02 164/week @ 2020-05-09 167/week @ 2020-05-16 251/week @ 2020-05-23 160/week @ 2020-05-30 77/week @ 2020-06-06 93/week @ 2020-06-13 92/week @ 2020-06-20 61/week @ 2020-06-27

396 downloads per month
Used in 3 crates (2 directly)

MIT license

45KB
852 lines

jsonapi-rust

Build Status Crates.io Status License Documentation FOSSA Status

This is an implementation of the JSON-API v1 specification at jsonapi.org.

Use

Add this crate to your Cargo.toml file,

[dependencies]
jsonapi = "*"

Or use the master branch directly from github,

[dependencies]
jsonapi = { git = "https://github.com/michiel/jsonapi-rust", branch = "master" }

Examples of most serialization and deserialization cases can be found in the tests/ directory or the documentation.

Development

Testing

The command cargo test will run all tests. For more verbose output or output with cargo watch,

RUST_BACKTRACE=1 cargo test -- --nocapture
RUST_BACKTRACE=1 cargo watch "test -- --nocapture"

Contributing

Contributions are welcome. Please add tests and write commit messages using using conventional format. The Changelog is updated using the clog tool. The configuration is found in .clog.toml.

The current configuration works for commit messages prefixed with feat:, bug:, test:, doc: and refactor:.

License

FOSSA Status

Dependencies

~2.5–3.5MB
~84K SLoC