# 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.2-alpha.26.fix1" authors = ["Kould "] default-run = "server" description = "轻量级、异步 基于LSM Leveled Compaction K-V数据库" readme = "README.md" keywords = [ "async", "KV-Store", "Persistence", ] categories = [ "development-tools", "database", ] license = "Apache-2.0" repository = "https://github.com/KipData/kipdb" [profile.release] debug = 2 [[bin]] name = "cli" path = "src/bin/cli.rs" required-features = ["net"] [[bin]] name = "server" path = "src/bin/server.rs" required-features = ["net"] [[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.4.6" features = ["derive"] [dependencies.crc32fast] version = "1.3.2" [dependencies.fslock] version = "0.2.1" [dependencies.futures] version = "0.3" [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.12" optional = true [dependencies.rand] version = "0.8.5" [dependencies.rocksdb] version = "0.21.0" optional = true [dependencies.serde] version = "1.0.89" features = [ "derive", "rc", ] [dependencies.skiplist] version = "0.5.1" [dependencies.sled] version = "0.34.7" optional = true [dependencies.thiserror] version = "1.0.24" [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.tonic] version = "0.10.2" optional = true [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.tonic-build] version = "0.10.2" optional = true [features] net = [ "dep:tonic", "dep:prost", "dep:tonic-build", ] rocksdb = ["dep:rocksdb"] sled = ["dep:sled"]