No description
Find a file
David Tolnay 668328a578
Ignore manual_range_contains clippy lint
error: manual `RangeInclusive::contains` implementation
       --> src/reader.rs:286:28
        |
    286 |                         if value >= 0xd800_u32 && value <= 0xdfff_u32
        |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0xd800_u32..=0xdfff_u32).contains(&value)`
        |
        = note: `-D clippy::manual-range-contains` implied by `-D clippy::all`
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains

    error: manual `RangeInclusive::contains` implementation
       --> src/reader.rs:391:20
        |
    391 |                 || value >= 0x20_u32 && value <= 0x7e_u32
        |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x20_u32..=0x7e_u32).contains(&value)`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains

    error: manual `RangeInclusive::contains` implementation
       --> src/reader.rs:393:20
        |
    393 |                 || value >= 0xa0_u32 && value <= 0xd7ff_u32
        |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0xa0_u32..=0xd7ff_u32).contains(&value)`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains

    error: manual `RangeInclusive::contains` implementation
       --> src/reader.rs:394:20
        |
    394 |                 || value >= 0xe000_u32 && value <= 0xfffd_u32
        |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0xe000_u32..=0xfffd_u32).contains(&value)`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains

    error: manual `RangeInclusive::contains` implementation
       --> src/reader.rs:395:20
        |
    395 |                 || value >= 0x10000_u32 && value <= 0x10ffff_u32)
        |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x10000_u32..=0x10ffff_u32).contains(&value)`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains

    error: manual `RangeInclusive::contains` implementation
        --> src/scanner.rs:2611:48
         |
    2611 |   ...                   if value >= 0xd800_u32
         |  __________________________^
    2612 | | ...                       && value <= 0xdfff_u32
         | |________________________________________________^ help: use: `(0xd800_u32..=0xdfff_u32).contains(&value)`
         |
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
2022-07-23 13:50:33 -07:00
.github/workflows Add CI build to cover fuzz target 2022-07-08 12:54:46 -07:00
fuzz Clean up error checking in fuzzer and bins 2022-07-23 12:47:09 -07:00
src Ignore manual_range_contains clippy lint 2022-07-23 13:50:33 -07:00
tests Deal with clippy lints 2022-07-08 12:54:44 -07:00
.gitignore Add parser fuzz target 2022-07-08 12:54:44 -07:00
Cargo.toml Release 0.1.3 2022-07-23 01:21:48 -07:00
LICENSE-MIT MIT license 2022-07-03 07:58:18 -07:00
README.md Release 0.1.0 2022-07-08 12:54:47 -07:00

unsafe-libyaml

github crates.io docs.rs build status

This library is libyaml translated from C to unsafe Rust with the assistance of c2rust.

[dependencies]
unsafe-libyaml = "0.1"

Compiler support: requires rustc 1.56+

License

MIT license, same as libyaml.