[package]
edition = "2021"
rust-version = "1.75"
name = "innr"
version = "0.1.2"
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, clifford rotors)"
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"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = []
full = [
"maxsim",
"sparse",
]
maxsim = []
sparse = []
[lib]
name = "innr"
path = "src/lib.rs"
[[example]]
name = "01_basic_ops"
path = "examples/01_basic_ops.rs"
[[example]]
name = "fast_math_demo"
path = "examples/fast_math_demo.rs"
[[example]]
name = "simd_benchmark"
path = "examples/simd_benchmark.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 = "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
required-features = ["maxsim"]
[[bench]]
name = "sparse"
path = "benches/sparse.rs"
harness = false
required-features = ["sparse"]
[[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.rand]
version = "0.9"
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"