# 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-log"
version = "3.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Log-structured storage engine 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_log"
path = "src/lib.rs"

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

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

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

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

[[bench]]
name = "log_bench"
path = "benches/log_bench.rs"
harness = false

[dependencies.byteorder]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.crc32fast]
version = "1"

[dependencies.fs2]
version = "0.4"

[dependencies.hashbrown]
version = "0.15"

[dependencies.log]
version = "0.4"

[dependencies.lru]
version = "0.12"

[dependencies.memmap2]
version = "0.9"

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

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

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

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

[dependencies.thiserror]
version = "2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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