[package]
edition = "2024"
name = "berry"
version = "0.7.2"
authors = ["Shrey Somaiya"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple yarn berry lockfile parser"
readme = false
categories = [
"parsing",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/spanishpear/berry"
resolver = "2"
[lib]
name = "berry"
path = "src/lib.rs"
[[test]]
name = "allocations"
path = "tests/allocations.rs"
[dependencies.memchr]
version = "2.7"
[dependencies.memmap2]
version = "0.9.9"
[dependencies.rayon]
version = "1.11"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[lints.clippy]
cargo_common_metadata = "allow"
cast_precision_loss = "allow"
implicit_return = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
nonstandard-style = "warn"
refining-impl-trait = "warn"
rust-2024-compatibility = "warn"
unused = "warn"
warnings = "warn"