# 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 = "2021"
name = "flashkv"
version = "0.1.0"
authors = ["Ariz"]
build = false
exclude = [
    "target/",
    ".gitignore",
    "docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance, in-memory Key-Value database built in Rust"
homepage = "https://github.com/Ariz/flashkv"
documentation = "https://docs.rs/flashkv"
readme = "README.md"
keywords = [
    "database",
    "key-value",
    "redis",
    "in-memory",
    "cache",
]
categories = [
    "database-implementations",
    "caching",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/Ariz/flashkv"

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

[[bin]]
name = "flashkv"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.bytes]
version = "1.11.0"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.tokio-test]
version = "0.4"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
