[package]
edition = "2021"
rust-version = "1.86"
name = "artmap"
version = "0.8.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A concurrent in-memory Adaptive Radix Tree (ART) featuring optimistic lock coupling."
documentation = "https://docs.rs/artmap"
readme = "CARGO.md"
keywords = [
"art",
"radix-tree",
"trie",
"concurrent",
"mvcc",
]
categories = [
"data-structures",
"concurrency",
"database-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/surrealdb/artmap"
[lib]
name = "artmap"
path = "src/lib.rs"
[[example]]
name = "memtable"
path = "examples/memtable.rs"
[[test]]
name = "arena_artmap_tests"
path = "tests/arena_artmap_tests.rs"
[[test]]
name = "arena_regressions"
path = "tests/arena_regressions.rs"
[[test]]
name = "byteslice_keys"
path = "tests/byteslice_keys.rs"
[[test]]
name = "concurrency_stress_tests"
path = "tests/concurrency_stress_tests.rs"
[[test]]
name = "concurrent_correctness"
path = "tests/concurrent_correctness.rs"
[[test]]
name = "drop_accounting"
path = "tests/drop_accounting.rs"
[[test]]
name = "linearizability"
path = "tests/linearizability.rs"
[[test]]
name = "model"
path = "tests/model.rs"
[[test]]
name = "panicking_drop"
path = "tests/panicking_drop.rs"
[[test]]
name = "proptest_keys"
path = "tests/proptest_keys.rs"
[[test]]
name = "regressions"
path = "tests/regressions.rs"
[[test]]
name = "retention"
path = "tests/retention.rs"
[[test]]
name = "sim"
path = "tests/sim.rs"
[[test]]
name = "unwind"
path = "tests/unwind.rs"
[[test]]
name = "versioned_artmap_tests"
path = "tests/versioned_artmap_tests.rs"
[[test]]
name = "versioned_reclaim"
path = "tests/versioned_reclaim.rs"
[[test]]
name = "versioned_simulation_tests"
path = "tests/versioned_simulation_tests.rs"
[[bench]]
name = "alloc_comparison"
path = "benches/alloc_comparison.rs"
harness = false
[[bench]]
name = "artmap_bench"
path = "benches/artmap_bench.rs"
harness = false
[[bench]]
name = "comparison_bench"
path = "benches/comparison_bench.rs"
harness = false
[[bench]]
name = "memory_bench"
path = "benches/memory_bench.rs"
harness = false
[[bench]]
name = "safety_bench"
path = "benches/safety_bench.rs"
harness = false
[dependencies.byteslice]
version = "0.2"
[dependencies.crossbeam-epoch]
version = "0.9"
[dev-dependencies.arenaskiplist]
version = "0.2.0"
[dev-dependencies.concread]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.crossbeam-skiplist]
version = "0.1.3"
[dev-dependencies.dashmap]
version = "6.1"
[dev-dependencies.divan]
version = "0.1.14"
[dev-dependencies.imbl]
version = "7.0"
[dev-dependencies.papaya]
version = "0.2"
[dev-dependencies.parking_lot]
version = "0.12"
[dev-dependencies.proptest]
version = "1.10"
features = ["std"]
default-features = false
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.scc]
version = "3.8"
[dev-dependencies.vart]
version = "0.11"
[target."cfg(loom)".dependencies.loom]
version = "0.7"
[lints.clippy]
allow_attributes = "allow"
assigning_clones = "warn"
bool_assert_comparison = "allow"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
debug_assert_with_mut_call = "warn"
disallowed_methods = "warn"
expl_impl_clone_on_copy = "warn"
explicit_into_iter_loop = "warn"
fallible_impl_from = "warn"
get_unwrap = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
large_types_passed_by_value = "warn"
lossy_float_literal = "warn"
missing_safety_doc = "deny"
mutex_atomic = "warn"
no_effect_underscore_binding = "warn"
option_as_ref_cloned = "warn"
redundant_clone = "warn"
ref_option_ref = "warn"
set_contains_or_insert = "warn"
single_char_pattern = "warn"
trivially_copy_pass_by_ref = "warn"
undocumented_unsafe_blocks = "deny"
unnecessary_to_owned = "warn"
unwrap_used = "allow"
used_underscore_binding = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(loom)",
"cfg(crossbeam_loom)",
"cfg(artmap_hooks)",
"cfg(artmap_provenance_lints)",
]