# 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"
name = "skeg-core"
version = "0.3.0"
authors = ["skeg contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "KV engine, vLog, indices, compaction, and cache for skeg"
homepage = "https://github.com/skegdb/skeg"
readme = "README.md"
keywords = [
    "kv-store",
    "vlog",
    "lsm",
    "skeg",
    "database",
]
categories = [
    "database",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/skegdb/skeg"
resolver = "2"

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.bytes]
version = "1"

[dependencies.crc32c]
version = "0.6"

[dependencies.parking_lot]
version = "0.12"

[dependencies.skeg-platform]
version = "0.1"

[dependencies.skeg-proto]
version = "0.1"

[dependencies.skeg-telemetry]
version = "0.2"
features = ["stats"]
default-features = false

[dependencies.smallvec]
version = "1"
features = ["union"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

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

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

[lints.clippy]
manual_is_multiple_of = "allow"
uninlined_format_args = "allow"

[lints.rust]
unknown_lints = "allow"
