| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.85.0" |
| 15 |
name = "constant_time_eq" |
| 16 |
version = "0.4.2" |
| 17 |
authors = ["Cesar Eduardo Barros <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Compares two equal-sized byte strings in constant time." |
| 25 |
documentation = "https://docs.rs/constant_time_eq" |
| 26 |
readme = "README" |
| 27 |
keywords = ["constant_time"] |
| 28 |
categories = [ |
| 29 |
"cryptography", |
| 30 |
"no-std", |
| 31 |
] |
| 32 |
license = "CC0-1.0 OR MIT-0 OR Apache-2.0" |
| 33 |
repository = "https://github.com/cesarb/constant_time_eq" |
| 34 |
|
| 35 |
[features] |
| 36 |
count_instructions_test = [] |
| 37 |
default = ["std"] |
| 38 |
std = [] |
| 39 |
|
| 40 |
[lib] |
| 41 |
name = "constant_time_eq" |
| 42 |
path = "src/lib.rs" |
| 43 |
|
| 44 |
[[test]] |
| 45 |
name = "count_instructions" |
| 46 |
path = "tests/count_instructions.rs" |
| 47 |
|
| 48 |
[[test]] |
| 49 |
name = "count_instructions_classic" |
| 50 |
path = "tests/count_instructions_classic.rs" |
| 51 |
|
| 52 |
[[test]] |
| 53 |
name = "count_instructions_generic" |
| 54 |
path = "tests/count_instructions_generic.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "exhaustive" |
| 58 |
path = "tests/exhaustive.rs" |
| 59 |
|
| 60 |
[[bench]] |
| 61 |
name = "bench" |
| 62 |
path = "benches/bench.rs" |
| 63 |
harness = false |
| 64 |
|
| 65 |
[[bench]] |
| 66 |
name = "bench_classic" |
| 67 |
path = "benches/bench_classic.rs" |
| 68 |
harness = false |
| 69 |
|
| 70 |
[[bench]] |
| 71 |
name = "bench_generic" |
| 72 |
path = "benches/bench_generic.rs" |
| 73 |
harness = false |
| 74 |
|
| 75 |
[dev-dependencies.count_instructions] |
| 76 |
version = "0.2.0" |
| 77 |
|
| 78 |
[dev-dependencies.criterion] |
| 79 |
version = "0.5.1" |
| 80 |
features = [ |
| 81 |
"cargo_bench_support", |
| 82 |
"html_reports", |
| 83 |
] |