[package]
edition = "2021"
rust-version = "1.75"
name = "innr"
version = "0.2.0"
authors = ["Arc <attobop@gmail.com>"]
build = false
include = [
"/src/**/*.rs",
"/benches/**/*.rs",
"/tests/**/*.rs",
"/examples/**/*.rs",
"/Cargo.toml",
"/Cargo.lock",
"/LICENSE-*",
"/README.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SIMD-accelerated vector similarity primitives (dot, cosine, norm, maxsim, matryoshka)"
homepage = "https://github.com/arclabs561/innr"
documentation = "https://docs.rs/innr"
readme = "README.md"
keywords = [
"simd",
"vector",
"similarity",
"dot-product",
"cosine",
]
categories = [
"algorithms",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/innr"
[features]
default = []
[lib]
name = "innr"
path = "src/lib.rs"
[[example]]
name = "01_basic_ops"
path = "examples/01_basic_ops.rs"
[[example]]
name = "batch_demo"
path = "examples/batch_demo.rs"
[[example]]
name = "binary_demo"
path = "examples/binary_demo.rs"
[[example]]
name = "binary_vs_rabitq"
path = "examples/binary_vs_rabitq.rs"
[[example]]
name = "fast_math_demo"
path = "examples/fast_math_demo.rs"
[[example]]
name = "matryoshka_search"
path = "examples/matryoshka_search.rs"
[[example]]
name = "maxsim_colbert"
path = "examples/maxsim_colbert.rs"
[[example]]
name = "ternary_demo"
path = "examples/ternary_demo.rs"
[[test]]
name = "batch_tests"
path = "tests/batch_tests.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "maxsim_props"
path = "tests/maxsim_props.rs"
[[test]]
name = "maxsim_tests"
path = "tests/maxsim_tests.rs"
[[test]]
name = "numerical_edge_cases"
path = "tests/numerical_edge_cases.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "simd_correctness"
path = "tests/simd_correctness.rs"
[[test]]
name = "sparse_maxsim_props"
path = "tests/sparse_maxsim_props.rs"
[[bench]]
name = "batch"
path = "benches/batch.rs"
harness = false
[[bench]]
name = "dense"
path = "benches/dense.rs"
harness = false
[[bench]]
name = "fast_math"
path = "benches/fast_math.rs"
harness = false
[[bench]]
name = "maxsim"
path = "benches/maxsim.rs"
harness = false
[[bench]]
name = "sparse"
path = "benches/sparse.rs"
harness = false
[[bench]]
name = "ternary"
path = "benches/ternary.rs"
harness = false
[dependencies]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.5"
[dev-dependencies.qntz]
version = "0.1"
features = ["rabitq"]
[dev-dependencies.rand]
version = "0.9"
[lints.clippy]
incompatible_msrv = "allow"
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"