86 lines
1.8 KiB
TOML
86 lines
1.8 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.81"
|
|
name = "twox-hash"
|
|
version = "2.1.2"
|
|
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A Rust implementation of the XXHash and XXH3 algorithms"
|
|
documentation = "https://docs.rs/twox-hash/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"hash",
|
|
"hasher",
|
|
"xxhash",
|
|
"xxh3",
|
|
]
|
|
categories = ["algorithms"]
|
|
license = "MIT"
|
|
repository = "https://github.com/shepmaster/twox-hash"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
alloc = []
|
|
default = [
|
|
"random",
|
|
"xxhash32",
|
|
"xxhash64",
|
|
"xxhash3_64",
|
|
"xxhash3_128",
|
|
"std",
|
|
]
|
|
random = ["dep:rand"]
|
|
serialize = ["dep:serde"]
|
|
std = ["alloc"]
|
|
xxhash32 = []
|
|
xxhash3_128 = []
|
|
xxhash3_64 = []
|
|
xxhash64 = []
|
|
|
|
[lib]
|
|
name = "twox_hash"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.rand]
|
|
version = "0.9.0"
|
|
features = ["thread_rng"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.117"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(_internal_xxhash3_force_scalar)",
|
|
"cfg(_internal_xxhash3_force_neon)",
|
|
"cfg(_internal_xxhash3_force_sse2)",
|
|
"cfg(_internal_xxhash3_force_avx2)",
|
|
]
|