rust-rocksdb-zaidoon1/librocksdb-sys/Cargo.toml

72 lines
1.9 KiB
TOML

[package]
name = "rust-librocksdb-sys"
version = "0.39.0+10.5.1"
edition = "2021"
rust-version = "1.81.0"
authors = [
"Karl Hobley <karlhobley10@gmail.com>",
"Arkadiy Paronyan <arkadiy@ethcore.io>",
]
license = "MIT/Apache-2.0/BSD-3-Clause"
description = "Native bindings to librocksdb"
readme = "README.md"
repository = "https://github.com/zaidoon1/rust-rocksdb"
keywords = ["bindings", "ffi", "rocksdb"]
categories = ["api-bindings", "database", "external-ffi-bindings"]
links = "rocksdb"
exclude = [
".gitignore",
"*.yml",
"snappy/testdata",
"*/doc",
"*/docs",
"*/examples",
"*/tests",
"tests",
"*.md",
]
[features]
default = ["static", "bindgen/runtime"]
jemalloc = ["tikv-jemalloc-sys"]
static = ["libz-sys?/static", "bzip2-sys?/static"]
bindgen-runtime = ["bindgen/runtime"]
bindgen-static = ["bindgen/static"]
mt_static = []
io-uring = ["pkg-config"]
numa = ["pkg-config"]
snappy = []
lz4 = ["lz4-sys"]
zstd = ["zstd-sys"]
zlib = ["libz-sys"]
bzip2 = ["bzip2-sys"]
rtti = []
malloc-usable-size = []
zstd-static-linking-only = []
lto = []
[dependencies]
libc = "0.2"
tikv-jemalloc-sys = { git = "https://forgejo.ellis.link/continuwuation/jemallocator", rev = "82af58d6a13ddd5dcdc7d4e91eae3b63292995b8", features = [
"unprefixed_malloc_on_supported_platforms",
], optional = true }
lz4-sys = { version = "1.11", optional = true }
zstd-sys = { version = "2.0", features = [
"zdict_builder",
"experimental",
"legacy"
], optional = true, default-features = false }
libz-sys = { version = "1.1", default-features = false, optional = true }
bzip2-sys = { version = "0.1", default-features = false, optional = true }
[dev-dependencies]
const-str = "0.6"
uuid = { version = "1", features = ["v4"] }
[build-dependencies]
cc = { version = "1.2", features = ["parallel"] }
bindgen = { version = "0.72", default-features = false }
glob = "0.3"
pkg-config = { version = "0.3", optional = true }
libc = "0.2"