16 releases

Uses old Rust 2015

0.7.0 Sep 10, 2020
0.6.6 Jan 17, 2020
0.6.5 Nov 23, 2019
0.6.4 Feb 19, 2019
0.4.0 Mar 5, 2017

#55 in Web programming

Download history 149/week @ 2020-06-01 84/week @ 2020-06-08 93/week @ 2020-06-15 88/week @ 2020-06-22 58/week @ 2020-06-29 87/week @ 2020-07-06 156/week @ 2020-07-13 48/week @ 2020-07-20 29/week @ 2020-07-27 59/week @ 2020-08-03 107/week @ 2020-08-10 96/week @ 2020-08-17 73/week @ 2020-08-24 51/week @ 2020-08-31 145/week @ 2020-09-07 132/week @ 2020-09-14

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

MIT license

49KB
879 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

Note - Until this crate reaches v1.0.0 breaking changes that are not backwards compatible will be announced in the CHANGELOG.

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.6–3.5MB
~91K SLoC