[package]
edition = "2024"
rust-version = "1.91.0"
name = "onpair"
version = "0.0.1"
authors = ["SpiralDB Developers <hello@spiraldb.com>"]
build = false
exclude = [
"benchmarks/*",
".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Short-strings compression for fast random access"
readme = "README.md"
keywords = [
"compression",
"strings",
"onpair",
"random-access",
"lightweight",
]
categories = ["compression"]
license = "Apache-2.0"
repository = "https://github.com/spiraldb/onpair"
[lib]
name = "onpair"
path = "src/lib.rs"
[[bench]]
name = "smoke"
path = "benches/smoke.rs"
harness = false
[dev-dependencies.criterion]
version = "4.0"
package = "codspeed-criterion-compat"
[lints.clippy]
or_fun_call = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.if_then_some_else_none]
level = "deny"
priority = 0
[lints.clippy.mem_forget]
level = "deny"
priority = 0
[lints.clippy.panic_in_result_fn]
level = "deny"
priority = 0
[lints.clippy.same_name_method]
level = "deny"
priority = 0
[lints.clippy.tests_outside_test_module]
level = "deny"
priority = 0
[lints.clippy.unwrap_in_result]
level = "deny"
priority = 0
[lints.clippy.use_debug]
level = "deny"
priority = 0
[lints.rust]
missing_docs = "deny"
warnings = "deny"