File: Cargo.toml

package info (click to toggle)
librsvg 2.60.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 140,720 kB
  • sloc: python: 2,913; ansic: 2,333; sh: 1,022; makefile: 95; xml: 14; javascript: 9
file content (118 lines) | stat: -rw-r--r-- 2,526 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# 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.60"
name = "once_cell"
version = "1.20.2"
authors = ["Aleksey Kladov <aleksey.kladov@gmail.com>"]
build = false
exclude = [
    "*.png",
    "*.svg",
    "/Cargo.lock.msrv",
    "rustfmt.toml",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

[lib]
name = "once_cell"
path = "src/lib.rs"

[[example]]
name = "bench"
path = "examples/bench.rs"
required-features = ["std"]

[[example]]
name = "bench_acquire"
path = "examples/bench_acquire.rs"
required-features = ["std"]

[[example]]
name = "lazy_static"
path = "examples/lazy_static.rs"
required-features = ["std"]

[[example]]
name = "reentrant_init_deadlocks"
path = "examples/reentrant_init_deadlocks.rs"
required-features = ["std"]

[[example]]
name = "regex"
path = "examples/regex.rs"
required-features = ["std"]

[[example]]
name = "test_synchronization"
path = "examples/test_synchronization.rs"
required-features = ["std"]

[[test]]
name = "it"
path = "tests/it/main.rs"

[dependencies.critical-section]
version = "1.1.3"
optional = true

[dependencies.parking_lot_core]
version = "0.9.10"
optional = true
default-features = false

[dependencies.portable-atomic]
version = "1.8"
optional = true
default-features = false

[dev-dependencies.critical-section]
version = "1.1.3"
features = ["std"]

[dev-dependencies.regex]
version = "1.10.6"

[features]
alloc = ["race"]
atomic-polyfill = ["critical-section"]
critical-section = [
    "dep:critical-section",
    "portable-atomic",
]
default = ["std"]
parking_lot = ["dep:parking_lot_core"]
portable-atomic = ["dep:portable-atomic"]
race = []
std = ["alloc"]
unstable = []