# 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 = "kip_db"
version = "0.1.1-alpha.0"
authors = ["Kould <kould2333@gmail.com>"]
description = "轻量级、异步 基于LSM Leveled Compaction K-V数据库"
readme = "README.md"
keywords = [
    "async",
    "KV-Store",
    "Persistence",
]
categories = [
    "development-tools",
    "database",
]
license = "Apache-2.0"
repository = "https://gitee.com/Kould/KipDB"

[profile.release]
debug = 2

[[bin]]
name = "cli"
path = "src/bin/cli.rs"

[[bin]]
name = "server"
path = "src/bin/server.rs"

[[bench]]
name = "server_bench"
path = "src/bench/kernel_bench.rs"
harness = false

[dependencies.async-trait]
version = "0.1.57"

[dependencies.bincode]
version = "1.3.3"

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

[dependencies.chrono]
version = "0.4.19"

[dependencies.clap]
version = "4.2.1"
features = ["derive"]

[dependencies.crc32fast]
version = "1.3.2"

[dependencies.failure]
version = "0.1.5"
features = ["derive"]

[dependencies.fslock]
version = "0.2.1"

[dependencies.futures]
version = "0.3"

[dependencies.growable-bloom-filter]
version = "2.0.1"

[dependencies.integer-encoding]
version = "3.0.4"

[dependencies.itertools]
version = "0.10.3"

[dependencies.lz4]
version = "1.23.1"

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.prost]
version = "0.9"

[dependencies.prost-derive]
version = "0.9"

[dependencies.serde]
version = "1.0.89"
features = [
    "derive",
    "rc",
]

[dependencies.skiplist]
version = "0.5.1"

[dependencies.sled]
version = "0.34.7"

[dependencies.tokio]
version = "1.21.2"
features = [
    "full",
    "signal",
]

[dependencies.tokio-stream]
version = "0.1.9"

[dependencies.tokio-util]
version = "0.7.3"
features = ["codec"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dev-dependencies.assert_cmd]
version = "0.11.0"

[dev-dependencies.criterion]
version = "0.3.5"
features = [
    "async_tokio",
    "html_reports",
]

[dev-dependencies.predicates]
version = "1.0.0"

[dev-dependencies.rand]
version = "0.8.5"

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

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

[dev-dependencies.walkdir]
version = "2.2.7"

[build-dependencies.prost-build]
version = "0.9"
