[package]
edition = "2021"
name = "simhash"
version = "0.3.0"
authors = [
"Bart Olsthoorn <bartolsthoorn@gmail.com>",
"Jakub Pastuszek <jpastuszek@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simhash algorithm for 64-bit locality-sensitive hashing and similarity calculation"
homepage = "https://github.com/bartolsthoorn/simhash-rs"
readme = "README.md"
keywords = [
"simhash",
"hash",
"similarity",
"hamming",
"lsh",
]
categories = [
"algorithms",
"text-processing",
]
license = "MIT"
repository = "https://github.com/bartolsthoorn/simhash-rs"
[features]
default = ["hasher-sip"]
hasher-fnv = ["fnv"]
hasher-sip = ["siphasher"]
mutually_exclusive_features = [
"hasher-sip",
"hasher-fnv",
]
[lib]
name = "simhash"
path = "src/lib.rs"
[[bench]]
name = "simhash"
path = "benches/simhash.rs"
harness = false
[dependencies.fnv]
version = "1.0.7"
optional = true
[dependencies.siphasher]
version = "0.3.5"
optional = true
[dev-dependencies.bencher]
version = "0.1.5"