parcode 0.6.1

A high-performance, lazy load and parallelized caching library for complex Rust data structures.
Documentation
[dependencies.bincode]
features = ["serde"]
version = "2.0"

[dependencies.lz4_flex]
optional = true
version = "0.12"

[dependencies.memmap2]
optional = true
version = "0.9"

[dependencies.parcode-derive]
version = "0.4"

[dependencies.rayon]
optional = true
version = "1.11"

[dependencies.serde]
features = ["derive", "rc"]
version = "1.0"

[dependencies.twox-hash]
version = "2.1"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.serde_bytes]
version = "0.11"

[dev-dependencies.tempfile]
version = "3.24"

[features]
default = ["parallel", "mmap"]
lz4_flex = ["dep:lz4_flex"]
mmap = ["dep:memmap2"]
parallel = ["dep:rayon"]

[lib]
name = "parcode"
path = "src/lib.rs"

[lints.clippy]
cargo_common_metadata = "warn"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
dbg_macro = "warn"
doc_markdown = "warn"
indexing_slicing = "warn"
module_name_repetitions = "allow"
panic = "deny"
semicolon_if_nothing_returned = "warn"
todo = "warn"
too_many_arguments = "allow"
unnecessary_wraps = "warn"
unwrap_used = "deny"
use_self = "warn"

[lints.clippy.nursery]
level = "allow"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.clippy.restriction]
level = "allow"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
keyword_idents_2024 = "forbid"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "forbid"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "forbid"
unused_import_braces = "warn"

[package]
authors = ["RetypeOS"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "filesystem", "data-structures"]
description = "A high-performance, lazy load and parallelized caching library for complex Rust data structures."
edition = "2024"
exclude = ["tests/*", "benches/*", "examples/*", ".github/*", "assets/*", ".axes/*"]
keywords = ["parallel", "performance", "storage", "sharding", "lazy"]
license = "MIT"
name = "parcode"
readme = "README.md"
repository = "https://github.com/retypeos/parcode"
version = "0.6.1"