[package]
edition = "2021"
name = "embeddenator-vsa"
version = "0.23.0"
authors = ["Tyler Zervas <tz-dev@vectorweight.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vector Symbolic Architecture operations for sparse ternary representations"
documentation = "https://docs.rs/embeddenator-vsa"
readme = "README.md"
keywords = [
"embeddenator",
"vsa",
"holographic",
"sparse-ternary",
]
categories = [
"algorithms",
"data-structures",
"memory-management",
]
license = "MIT"
repository = "https://github.com/tzervas/embeddenator-vsa"
[features]
block-sparse = []
cuda = ["dep:cudarc"]
default = ["simd"]
simd = []
[lib]
name = "embeddenator_vsa"
path = "src/lib.rs"
[[example]]
name = "basic_operations"
path = "examples/basic_operations.rs"
[[example]]
name = "encoding_decoding"
path = "examples/encoding_decoding.rs"
[[example]]
name = "gpu_benchmark"
path = "examples/gpu_benchmark.rs"
[[example]]
name = "gpu_test"
path = "examples/gpu_test.rs"
[[example]]
name = "similarity_search"
path = "examples/similarity_search.rs"
[[test]]
name = "bug_investigation"
path = "tests/bug_investigation.rs"
[[test]]
name = "bundle_path_test"
path = "tests/bundle_path_test.rs"
[[test]]
name = "codebook_roundtrip_tests"
path = "tests/codebook_roundtrip_tests.rs"
[[test]]
name = "debug_test"
path = "tests/debug_test.rs"
[[test]]
name = "full_trace"
path = "tests/full_trace.rs"
[[test]]
name = "simd_cosine_tests"
path = "tests/simd_cosine_tests.rs"
[[test]]
name = "stress_test"
path = "tests/stress_test.rs"
[[test]]
name = "trace_overlap"
path = "tests/trace_overlap.rs"
[[bench]]
name = "cuda"
path = "benches/cuda.rs"
harness = false
required-features = ["cuda"]
[[bench]]
name = "simd_cosine"
path = "benches/simd_cosine.rs"
harness = false
[[bench]]
name = "vsa_ops"
path = "benches/vsa_ops.rs"
harness = false
[dependencies.cudarc]
version = "0.19"
features = ["cuda-version-from-build-system"]
optional = true
[dependencies.libc]
version = ">=0.2, <1.0"
[dependencies.rand]
version = ">=0.9, <1.0"
[dependencies.rayon]
version = ">=1.8, <2.0"
[dependencies.rustc-hash]
version = ">=2.1, <3.0"
[dependencies.serde]
version = ">=1.0, <2.0"
features = ["derive"]
[dependencies.serde_json]
version = ">=1.0, <2.0"
[dependencies.sha2]
version = ">=0.10, <1.0"
[dev-dependencies.criterion]
version = ">=0.8, <1.0"
[dev-dependencies.proptest]
version = ">=1.0, <2.0"
[dev-dependencies.tempfile]
version = "3.0"