# 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.91.0"
name = "obeli-sk-db-common"
version = "0.35.2"
authors = ["Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common types and utilities shared between database implementations"
readme = false
license = "AGPL-3.0-only"
repository = "https://github.com/obeli-sk/obelisk"
resolver = "2"

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

[dependencies.chrono]
version = "0.4.43"
features = [
    "arbitrary",
    "serde",
]

[dependencies.concepts]
version = "0.35.2"
package = "obeli-sk-concepts"

[dependencies.hashbrown]
version = "0.16.1"
features = ["serde"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "macros",
    "process",
    "rt-multi-thread",
    "rt",
    "signal",
    "sync",
    "time",
    "tracing",
]

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dependencies.tracing-error]
version = "0.2.1"

[lints.clippy]
dbg_macro = "deny"
explicit_deref_methods = "allow"
from_iter_instead_of_collect = "allow"
if_not_else = "allow"
items_after_statements = "allow"
map_unwrap_or = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_debug_formatting = "allow"

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

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

[lints.rust]
unexpected_cfgs = "deny"
unknown_lints = "deny"
