# 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.88.0"
name = "qbice_storage"
version = "0.4.0"
authors = ["Simmypeet"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Query-Based Incremental Computation Engine"
readme = false
license = "MIT"
resolver = "2"

[features]
fjall = ["dep:fjall"]
rocksdb = ["dep:rust-rocksdb"]

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

[dependencies.crossbeam-channel]
version = "0.5.15"

[dependencies.crossbeam-deque]
version = "0.8.4"

[dependencies.crossbeam-utils]
version = "0.8.21"

[dependencies.dashmap]
version = "6.1.0"
features = [
    "rayon",
    "raw-api",
]

[dependencies.enum-as-inner]
version = "0.6.1"

[dependencies.fjall]
version = "3.0.1"
optional = true

[dependencies.fxhash]
version = "0.2.1"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.qbice_serialize]
version = "0.1.1"

[dependencies.qbice_stable_hash]
version = "0.1.3"

[dependencies.qbice_stable_type_id]
version = "0.1.3"

[dependencies.rust-rocksdb]
version = "0.44.2"
optional = true

[dev-dependencies.siphasher]
version = "1.0.1"

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

[lints.clippy]
branches_sharing_code = "deny"
cognitive_complexity = "deny"
collection_is_never_read = "deny"
doc_markdown = "allow"
double-parens = "allow"
equatable_if_let = "deny"
iter_on_empty_collections = "deny"
iter_on_single_items = "deny"
missing_const_for_fn = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
needless_collect = "deny"
option_if_let_else = "deny"
redundant_clone = "deny"
set_contains_or_insert = "deny"
trait_duplication_in_bounds = "deny"
type_repetition_in_bounds = "deny"
use_self = "deny"
useless_let_if_seq = "deny"

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

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

[lints.rust]
missing_copy_implementations = "deny"
missing_debug_implementations = "deny"
missing_docs = "deny"

[lints.rustdoc]
broken_intra_doc_links = "deny"
