resolver = "2" exclude = [ "*.md", "*.txt", ".circleci/", ".editorconfig", ".git*", ".github/", ".kodiak.toml", "LICENSE*", ] [package] name = "bitcasky" version = "0.1.2" edition = "2021" license = "MIT" repository = "https://github.com/ylgrgyq/bitcasky" description = "Bitcasky is a Rust implementation of the Bitcask key-value store" [[bench]] name = "mmap_data_storage" harness = false required-features = ["internals"] [[test]] name = "test_read_write" required-features = ["internals"] [[test]] name = "test_merge" required-features = ["internals"] [features] internals = [] [dependencies] crc = "3.0.0" byteorder = "1.4" fs4 = "0.6.6" # fs4 depends on rustix, but pulling this dependency explicitly into the tree # to use direct functions on FreeBSD rustix = { version = "0", features = [ "fs" ]} libc = "0.2.152" tempfile = "3.3.0" rand = "0.8.5" bytes = "1.5.0" thiserror = "1.0.53" dashmap = "5.5.3" log = "0.4.20" parking_lot = { version = "0.12.1" } uuid = { version = "1.6.1", features = [ "v4", # Lets you generate random UUIDs "fast-rng", # Use a faster (but still sufficiently random) RNG "macro-diagnostics", # Enable better diagnostics for compile-time UUIDs ]} memmap2 = "0.9.3" crossbeam = "0.8.2" crossbeam-channel = "0.5.8" criterion = "0.5" [dev-dependencies] test-log = "0.2.11" env_logger = "0.10.1" assert_matches = "1.5.0"