# 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-dbi"
version = "6.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database internals 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"

[features]
testing = []

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

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

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

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

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

[dependencies.byteorder]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.hashbrown]
version = "0.15"

[dependencies.log]
version = "0.4"

[dependencies.memmap2]
version = "0.9"

[dependencies.noxu-cleaner]
version = "6.4.2"

[dependencies.noxu-config]
version = "6.4.2"

[dependencies.noxu-evictor]
version = "6.4.2"

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

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

[dependencies.noxu-recovery]
version = "6.4.2"

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

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

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

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

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