[package]
edition = "2024"
name = "dtlvnative-sys"
version = "1.1.8"
build = "build.rs"
links = "dtlvnative"
include = [
"Cargo.toml",
"src/**",
"build.rs",
"artifact.rs",
"native-artifacts.json",
"bindings/**",
"tests/**",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Raw bindings to Datalevin's DLMDB, USearch, and llama native interfaces"
readme = "README.md"
license = "EPL-2.0"
repository = "https://github.com/datalevin/dtlvnative"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = ["dlmdb"]
dlmdb = []
full = [
"dlmdb",
"usearch",
"llama",
]
llama = ["dep:libloading"]
usearch = ["dep:libloading"]
[lib]
name = "dtlvnative_sys"
path = "src/lib.rs"
[[test]]
name = "artifacts"
path = "tests/artifacts.rs"
[[test]]
name = "runtimes"
path = "tests/runtimes.rs"
[dependencies.libloading]
version = "0.8"
optional = true
[dev-dependencies.flate2]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sha2]
version = "0.10"
[dev-dependencies.tar]
version = "0.4"
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.flate2]
version = "1"
[build-dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.serde_json]
version = "1"
[build-dependencies.sha2]
version = "0.10"
[build-dependencies.tar]
version = "0.4"
[lints.clippy]
undocumented_unsafe_blocks = "deny"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"