| 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 |
name = "blake3" |
| 15 |
version = "1.8.7" |
| 16 |
authors = [ |
| 17 |
"Jack O'Connor <[email protected]>", |
| 18 |
"Samuel Neves", |
| 19 |
] |
| 20 |
build = "build.rs" |
| 21 |
autolib = false |
| 22 |
autobins = false |
| 23 |
autoexamples = false |
| 24 |
autotests = false |
| 25 |
autobenches = false |
| 26 |
description = "the BLAKE3 hash function" |
| 27 |
documentation = "https://docs.rs/blake3" |
| 28 |
readme = "README.md" |
| 29 |
license = "CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception" |
| 30 |
repository = "https://github.com/BLAKE3-team/BLAKE3" |
| 31 |
|
| 32 |
[package.metadata.docs.rs] |
| 33 |
features = [ |
| 34 |
"mmap", |
| 35 |
"rayon", |
| 36 |
"serde", |
| 37 |
"zeroize", |
| 38 |
] |
| 39 |
|
| 40 |
[features] |
| 41 |
default = ["std"] |
| 42 |
digest = ["dep:digest"] |
| 43 |
mmap = [ |
| 44 |
"std", |
| 45 |
"dep:memmap2", |
| 46 |
] |
| 47 |
neon = [] |
| 48 |
no_avx2 = [] |
| 49 |
no_avx512 = [] |
| 50 |
no_neon = [] |
| 51 |
no_sse2 = [] |
| 52 |
no_sse41 = [] |
| 53 |
prefer_intrinsics = [] |
| 54 |
pure = [] |
| 55 |
rayon = ["dep:rayon-core"] |
| 56 |
std = ["constant_time_eq/std"] |
| 57 |
traits-preview = ["dep:digest"] |
| 58 |
wasm32_simd = [] |
| 59 |
zeroize = [ |
| 60 |
"dep:zeroize", |
| 61 |
"arrayvec/zeroize", |
| 62 |
] |
| 63 |
|
| 64 |
[lib] |
| 65 |
name = "blake3" |
| 66 |
path = "src/lib.rs" |
| 67 |
|
| 68 |
[[bench]] |
| 69 |
name = "bench" |
| 70 |
path = "benches/bench.rs" |
| 71 |
|
| 72 |
[dependencies.arrayvec] |
| 73 |
version = "0.7.4" |
| 74 |
default-features = false |
| 75 |
|
| 76 |
[dependencies.cfg-if] |
| 77 |
version = "1.0.0" |
| 78 |
|
| 79 |
[dependencies.constant_time_eq] |
| 80 |
version = "0.4.2" |
| 81 |
default-features = false |
| 82 |
|
| 83 |
[dependencies.digest] |
| 84 |
version = "0.11.2" |
| 85 |
features = ["mac"] |
| 86 |
optional = true |
| 87 |
|
| 88 |
[dependencies.memmap2] |
| 89 |
version = "0.9" |
| 90 |
optional = true |
| 91 |
|
| 92 |
[dependencies.rayon-core] |
| 93 |
version = "1.12.1" |
| 94 |
optional = true |
| 95 |
|
| 96 |
[dependencies.serde] |
| 97 |
version = "1.0" |
| 98 |
features = ["derive"] |
| 99 |
optional = true |
| 100 |
default-features = false |
| 101 |
|
| 102 |
[dependencies.zeroize] |
| 103 |
version = "1" |
| 104 |
optional = true |
| 105 |
default-features = false |
| 106 |
|
| 107 |
[dev-dependencies.chacha20] |
| 108 |
version = "0.10.0" |
| 109 |
|
| 110 |
[dev-dependencies.ciborium] |
| 111 |
version = "0.2.2" |
| 112 |
|
| 113 |
[dev-dependencies.hex] |
| 114 |
version = "0.4.2" |
| 115 |
|
| 116 |
[dev-dependencies.hmac] |
| 117 |
version = "0.13.0" |
| 118 |
|
| 119 |
[dev-dependencies.page_size] |
| 120 |
version = "0.6.0" |
| 121 |
|
| 122 |
[dev-dependencies.rand] |
| 123 |
version = "0.10.0" |
| 124 |
|
| 125 |
[dev-dependencies.serde_json] |
| 126 |
version = "1.0.107" |
| 127 |
|
| 128 |
[dev-dependencies.tempfile] |
| 129 |
version = "3.8.0" |
| 130 |
|
| 131 |
[build-dependencies.cc] |
| 132 |
version = "1.1.12" |
| 133 |
|
| 134 |
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies.cpufeatures] |
| 135 |
version = "0.3.0" |