Mercurial > lbo > hg > leveldb-rs
view Cargo.toml @ 626:850a007b8737
Conditional getrandom and wasm feature
author | NumberFour8 <lukas.pohanka@inina.net> |
---|---|
date | Tue, 05 Sep 2023 12:46:17 +0200 |
parents | d4fa806e7f6c |
children | 7413aefa4d22 |
line wrap: on
line source
[package] name = "rusty-leveldb" version = "2.0.0" authors = ["Lewin Bormann <lbo@spheniscida.de>"] description = "A compatible re-implementation of LevelDB in Rust" homepage = "https://github.com/dermesser/leveldb-rs" repository = "https://github.com/dermesser/leveldb-rs" readme = "README.md" keywords = ["LevelDB", "key-value", "database", "SSTable", "Google"] license = "MIT" publish = true edition = "2018" include = ["src/**/*", "src/*", "Cargo.toml", "LICENSE", "README.md"] [lib] crate-type = ["cdylib", "rlib"] [dependencies] crc = "1.8" integer-encoding = "3.0" rand = "0.7" getrandom = { optional = true, version = "0.2.10", features = ["js"] } snap = "1.0" errno = { optional = true, version = "0.2" } fs2 = {optional = true, version = "0.4.3"} tokio = { optional = true, features = ["rt", "sync"], version = ">= 1.21" } [features] default = ["fs"] wasm = ["getrandom"] async = ["tokio"] fs = ["errno", "fs2"] [dev-dependencies] time-test = "0.2" bencher = "0.1" [[bench]] name = "maps_bench" harness = false path = "src/benches/maps_bench.rs" [workspace] members = [ "examples/write-a-lot", "examples/leveldb-tool", "examples/word-analyze", "examples/stresstest", "examples/asyncdb", "examples/mcpe", "examples/kvserver", ]