blob: 112e11e70797a048d80f9595a6df70f89a84bf11 [file] [log] [blame] [edit]
# 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.63"
name = "once_map"
version = "0.4.19"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Single assignment and lazy maps"
documentation = "https://docs.rs/once_map"
readme = "README.md"
keywords = [
"map",
"once",
"lazy",
]
categories = [
"caching",
"concurrency",
"data-structures",
"rust-patterns",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/a1phyr/once_map"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "once_map"
path = "src/lib.rs"
[dependencies.ahash]
version = "0.8"
optional = true
default-features = false
[dependencies.equivalent]
version = "1.0"
optional = true
[dependencies.hashbrown]
version = "0.14.2"
default-features = false
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.rayon]
version = "1.6"
optional = true
[dependencies.stable_deref_trait]
version = "1.2"
features = ["alloc"]
default-features = false
[features]
ahash = [
"dep:ahash",
"hashbrown/ahash",
]
default = [
"std",
"ahash",
]
rayon = [
"dep:rayon",
"hashbrown/rayon",
"std",
]
std = [
"dep:parking_lot",
"stable_deref_trait/std",
"ahash?/std",
"ahash?/runtime-rng",
]