# 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 = "kimberlite"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kimberlite - Compliance-native database for regulated industries"
readme = false
license = "Apache-2.0"
repository = "https://github.com/kimberlitedb/kimberlite"
resolver = "2"

[features]
broadcast = [
    "dep:tokio",
    "dep:serde",
]
default = []
fuzz-reset = [
    "kimberlite-storage/fuzz-reset",
    "kimberlite-store/fuzz-reset",
]

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "serde",
]

[dependencies.kimberlite-abac]
version = "0.5.1"

[dependencies.kimberlite-compliance]
version = "0.5.1"

[dependencies.kimberlite-crypto]
version = "0.5.1"

[dependencies.kimberlite-directory]
version = "0.5.1"

[dependencies.kimberlite-kernel]
version = "0.5.1"

[dependencies.kimberlite-query]
version = "0.5.1"

[dependencies.kimberlite-rbac]
version = "0.5.1"

[dependencies.kimberlite-storage]
version = "0.5.1"

[dependencies.kimberlite-store]
version = "0.5.1"

[dependencies.kimberlite-types]
version = "0.5.1"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "derive",
]
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sqlparser]
version = "0.54"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "sync",
]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.21"
features = [
    "v4",
    "serde",
]

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

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
format_collect = "allow"
if_not_else = "allow"
large_enum_variant = "allow"
manual_flatten = "allow"
manual_let_else = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
only_used_in_recursion = "allow"
return_self_not_must_use = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"

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

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

[lints.rust]
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]
