[package]
edition = "2024"
rust-version = "1.95.0"
name = "constant_time_eq"
version = "0.4.3"
authors = ["Cesar Eduardo Barros <cesarb@cesarb.eti.br>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compares two equal-sized byte strings in constant time."
documentation = "https://docs.rs/constant_time_eq"
readme = "README"
keywords = ["constant_time"]
categories = [
"cryptography",
"no-std",
]
license = "CC0-1.0 OR MIT-0 OR Apache-2.0"
repository = "https://github.com/cesarb/constant_time_eq"
[features]
count_instructions_test = []
default = ["std"]
std = []
[lib]
name = "constant_time_eq"
path = "src/lib.rs"
[[test]]
name = "count_instructions"
path = "tests/count_instructions.rs"
[[test]]
name = "count_instructions_classic"
path = "tests/count_instructions_classic.rs"
[[test]]
name = "count_instructions_generic"
path = "tests/count_instructions_generic.rs"
[[test]]
name = "exhaustive"
path = "tests/exhaustive.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[[bench]]
name = "bench_classic"
path = "benches/bench_classic.rs"
harness = false
[[bench]]
name = "bench_generic"
path = "benches/bench_generic.rs"
harness = false
[dev-dependencies.count_instructions]
version = "0.2.0"
[dev-dependencies.criterion]
version = "0.8.0"
features = [
"cargo_bench_support",
"html_reports",
]