[[bench]]
harness = false
name = "bench"
path = "benches/bench.rs"
[[bench]]
harness = false
name = "rust_vs_c"
path = "benches/rust_vs_c.rs"
[[bin]]
name = "chibihash"
path = "src/main.rs"
[build-dependencies.cc]
optional = true
version = "1.2.1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[features]
ffi = ["cc"]
[lib]
name = "chibihash"
path = "src/lib.rs"
[package]
authors = ["Ville Vesilehto <ville@vesilehto.fi>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["algorithms"]
description = "A Rust implementation of the ChibiHash algorithm"
documentation = "https://docs.rs/chibihash"
edition = "2021"
keywords = ["hash", "chibi", "fast-hash", "non-cryptographic"]
license = "MIT"
name = "chibihash"
readme = "README.md"
repository = "https://github.com/thevilledev/ChibiHash-rs"
version = "0.2.2"
[profile.bench]
codegen-units = 1
lto = "thin"
opt-level = 3
[profile.release]
codegen-units = 1
lto = "thin"
opt-level = 3
[[test]]
name = "hash_tests"
path = "tests/hash_tests.rs"
[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"