зеркало из https://github.com/mozilla/gecko-dev.git
70 строки
1.7 KiB
TOML
70 строки
1.7 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 believe there's an error in this file please file an
|
|
# issue against the rust-lang/cargo repository. If you're
|
|
# editing this file be aware that the upstream Cargo.toml
|
|
# will likely look very different (and much more reasonable)
|
|
|
|
[package]
|
|
edition = "2018"
|
|
name = "once_cell"
|
|
version = "1.4.0"
|
|
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
|
|
exclude = ["*.png", "*.svg", "/Cargo.lock.min", "/.travis.yml", "/run-miri-tests.sh", "rustfmt.toml"]
|
|
description = "Single assignment cells and lazy values."
|
|
documentation = "https://docs.rs/once_cell"
|
|
readme = "README.md"
|
|
keywords = ["lazy", "static"]
|
|
categories = ["rust-patterns", "memory-management"]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/matklad/once_cell"
|
|
|
|
[[example]]
|
|
name = "bench"
|
|
required-features = ["std"]
|
|
|
|
[[example]]
|
|
name = "bench_acquire"
|
|
required-features = ["std"]
|
|
|
|
[[example]]
|
|
name = "bench_vs_lazy_static"
|
|
required-features = ["std"]
|
|
|
|
[[example]]
|
|
name = "lazy_static"
|
|
required-features = ["std"]
|
|
|
|
[[example]]
|
|
name = "reentrant_init_deadlocks"
|
|
required-features = ["std"]
|
|
|
|
[[example]]
|
|
name = "regex"
|
|
required-features = ["std"]
|
|
|
|
[[example]]
|
|
name = "test_synchronization"
|
|
required-features = ["std"]
|
|
[dependencies.parking_lot]
|
|
version = "0.10.0"
|
|
optional = true
|
|
default_features = false
|
|
[dev-dependencies.crossbeam-utils]
|
|
version = "0.7.2"
|
|
|
|
[dev-dependencies.lazy_static]
|
|
version = "1.0.0"
|
|
|
|
[dev-dependencies.regex]
|
|
version = "1.2.0"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = []
|