# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "noxu-cleaner"
version = "7.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Log file garbage collection for Noxu DB"
homepage = "https://codeberg.org/gregburd/noxu"
readme = "README.md"
keywords = [
    "database",
    "embedded",
    "transactional",
    "btree",
    "wal",
]
categories = [
    "database-implementations",
    "data-structures",
    "concurrency",
]
license = "Apache-2.0 OR MIT"
repository = "https://codeberg.org/gregburd/noxu"
resolver = "2"

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

[[test]]
name = "cleaner_test"
path = "tests/cleaner_test.rs"

[[test]]
name = "prop_tests"
path = "tests/prop_tests.rs"

[dependencies.bytes]
version = "1"

[dependencies.hashbrown]
version = "0.15"

[dependencies.log]
version = "0.4"

[dependencies.noxu-log]
version = "7.1.0"

[dependencies.noxu-sync]
version = "7.1.0"

[dependencies.noxu-tree]
version = "7.1.0"

[dependencies.noxu-txn]
version = "7.1.0"

[dependencies.noxu-util]
version = "7.1.0"

[dependencies.parking_lot]
version = "0.12"
features = ["arc_lock"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.bytes]
version = "1"

[dev-dependencies.proptest]
version = "1"

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

[lints.clippy]
large_stack_frames = "warn"
large_types_passed_by_value = "warn"
or_fun_call = "warn"
redundant_clone = "warn"
undocumented_unsafe_blocks = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(noxu_shuttle)"]
