txn-db 0.2.0

MVCC transaction engine for Rust storage layers. Snapshot isolation and serializable transactions with multi-version concurrency control, conflict detection, and a durable transaction log on wal-db. The transaction layer for embedded databases and Hive DB.
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 = "2024"
rust-version = "1.85"
name = "txn-db"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MVCC transaction engine for Rust storage layers. Snapshot isolation and serializable transactions with multi-version concurrency control, conflict detection, and a durable transaction log on wal-db. The transaction layer for embedded databases and Hive DB."
homepage = "https://github.com/jamesgober/txn-db"
documentation = "https://docs.rs/txn-db"
readme = "README.md"
keywords = [
    "mvcc",
    "transactions",
    "snapshot-isolation",
    "database",
    "concurrency",
]
categories = [
    "database-implementations",
    "concurrency",
    "data-structures",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/txn-db"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
durability = []
serializable = []
std = []

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

[[example]]
name = "bank_transfer"
path = "examples/bank_transfer.rs"

[[example]]
name = "concurrent_counter"
path = "examples/concurrent_counter.rs"

[[example]]
name = "custom_store"
path = "examples/custom_store.rs"

[[example]]
name = "quick_start"
path = "examples/quick_start.rs"

[[example]]
name = "snapshot_reads"
path = "examples/snapshot_reads.rs"

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

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

[dependencies.error-forge]
version = "1.0"
default-features = false

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

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

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

[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"