idubrov / json-patch

RFC 6902 (JSON Patch) / RFC 7396 (JSON Merge Patch) implementation for Rust
Apache License 2.0
127 stars 17 forks source link

error[E0554]: #![feature] may not be used on the stable release channel #2

Closed harindaka closed 6 years ago

harindaka commented 6 years ago

I get the following error when running cargo build after adding the json-patch dependency to the Cargo.toml file

error[E0554]: #![feature] may not be used on the stable release channel --> /home/harindaka/.cargo/registry/src/github.com-1ecc6299db9ec823/json-patch-0.2.0/src/lib.rs:84:1 | 84 | #![feature(test)] | ^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile json-patch.

What can I do to make it work with Rust stable? Wouldn't being unable to compile with stable be detrimental to the adoption of this awesome library?

idubrov commented 6 years ago

Should be fixed in version 0.2.1. Let me know if it doesn't.