[package]
edition = "2021"
rust-version = "1.85"
name = "doublets"
version = "0.3.0"
authors = [
"uselessgoddess",
"Linksplatform Team <linksplatformtechnologies@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Doublets (links) data structure implementation.
"""
homepage = "https://github.com/linksplatform/doublets-rs"
readme = "README.md"
keywords = [
"associative",
"doublets",
"db",
]
categories = ["database-implementations"]
license = "Unlicense"
repository = "https://github.com/linksplatform/doublets-rs"
[features]
data = []
default = ["platform"]
full = [
"platform",
"rayon",
"small-search",
]
mem = []
more-inline = []
num = []
platform = [
"mem",
"num",
"data",
]
small-search = ["smallvec"]
[lib]
name = "doublets"
path = "src/lib.rs"
[[test]]
name = "doublet"
path = "tests/doublet.rs"
[[test]]
name = "doublets"
path = "tests/doublets.rs"
[[test]]
name = "dyn"
path = "tests/dyn.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "expansion"
path = "tests/expansion.rs"
[[test]]
name = "extensions"
path = "tests/extensions.rs"
[[test]]
name = "handler"
path = "tests/handler.rs"
[[test]]
name = "iter"
path = "tests/iter.rs"
[[test]]
name = "link"
path = "tests/link.rs"
[[test]]
name = "mem"
path = "tests/mem.rs"
[[test]]
name = "multi"
path = "tests/multi.rs"
[[test]]
name = "query_tests"
path = "tests/query_tests.rs"
[[test]]
name = "seq"
path = "tests/seq.rs"
[[test]]
name = "store_internals"
path = "tests/store_internals.rs"
[[test]]
name = "traits"
path = "tests/traits.rs"
[[test]]
name = "type_parts"
path = "tests/type_parts.rs"
[[bench]]
name = "iter"
path = "benches/iter.rs"
harness = false
[dependencies.cfg-if]
version = "1"
[dependencies.data]
version = "2.0.0"
package = "platform-data"
[dependencies.leak_slice]
version = "0.2"
[dependencies.mem]
version = "0.3.0"
package = "platform-mem"
[dependencies.num]
version = "0.8.0"
package = "platform-num"
[dependencies.rayon]
version = "1"
optional = true
[dependencies.smallvec]
version = "1"
features = ["union"]
optional = true
[dependencies.tap]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.trees]
version = "0.3.4"
package = "platform-trees"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.mimalloc]
version = "0.1"
default-features = false
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.smallvec]
version = "1"
[dev-dependencies.static_assertions]
version = "1"
[dev-dependencies.tap]
version = "1"
[dev-dependencies.tinyvec]
version = "1"
features = ["alloc"]
[lints.clippy]
comparison_chain = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = true