jmap-rs
jmap-rs copied to clipboard
A JMAP parser/generator in Rust
Fix some warnings, use `?` operator instead of `try!` macro.
This basically runs `cargo build` and `cargo test` on current stable toolchain, for pull requests and after push to master (i.e. PR merged).
This is a library, which should not have its Cargo.lock file committed, see e.g. https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries. Reverts commit 6e4f4200039e18a405e18f2ff8aa57a3769266c4
Also fixes #2
`Cargo.lock` should be version controlled in binary packages and **only** binary packages. Libraries should _not_ check `Cargo.lock` in to version control. For more information see [this page][cargo.lock-vcs] [cargo.lock-vcs]: http://doc.crates.io/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries