obj-core 1.0.2

Storage engine internals for the obj embedded document database (pager, WAL, B-tree, codec, catalog).
Documentation
# 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 = "2021"
rust-version = "1.93"
name = "obj-core"
version = "1.0.2"
authors = ["obj contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Storage engine internals for the obj embedded document database (pager, WAL, B-tree, codec, catalog)."
homepage = "https://github.com/uname-n/obj"
documentation = "https://docs.rs/obj-core"
readme = "README.md"
keywords = [
    "database",
    "embedded",
    "storage",
    "wal",
    "btree",
]
categories = [
    "database-implementations",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/uname-n/obj"

[features]
compression = ["dep:lz4_flex"]
default = []
encryption = [
    "dep:chacha20poly1305",
    "dep:hkdf",
    "dep:sha2",
    "dep:getrandom",
    "dep:zeroize",
]
fault-injection = []
tracing = ["dep:tracing"]

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

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

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

[[test]]
name = "crash_cycles"
path = "tests/crash_cycles.rs"
required-features = ["fault-injection"]

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

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

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

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

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

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

[dependencies.chacha20poly1305]
version = "0.10"
features = ["alloc"]
optional = true
default-features = false

[dependencies.crc32c]
version = "0.6"

[dependencies.getrandom]
version = "0.2"
optional = true

[dependencies.heapless]
version = "0.8"

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

[dependencies.lz4_flex]
version = "0.11"
features = ["std"]
optional = true
default-features = false

[dependencies.postcard]
version = "1"
features = [
    "alloc",
    "experimental-derive",
]
default-features = false

[dependencies.rand]
version = "0.9"

[dependencies.rand_chacha]
version = "0.9"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.sha2]
version = "0.10"
optional = true
default-features = false

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.zeroize]
version = "1.8"
features = [
    "alloc",
    "serde",
]
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

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

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.rustix]
version = "1"
features = ["fs"]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_IO",
]

[lints.clippy.all]
level = "warn"
priority = -1

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