# 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-tree"
version = "6.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "B-tree implementation 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_tree"
path = "src/lib.rs"

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

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

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

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

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

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

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

[dependencies.byteorder]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.hashbrown]
version = "0.15"

[dependencies.log]
version = "0.4"

[dependencies.noxu-latch]
version = "6.4.0"

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

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

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

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

[dependencies.thiserror]
version = "2"

[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"
