-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
30 lines (27 loc) · 873 Bytes
/
Cargo.toml
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
[package]
name = "sparking-lot-core"
description = "A simple implementation of parking on addresses."
license = "MIT"
version = "0.1.3"
edition = "2021"
categories = ["concurrency"]
readme = "README.md"
repository = "https://github.com/JuliusEmperorOfRome/sparking-lot-core"
authors = ["Julius Janeliūnas"]
[features]
# New parker type, performance not compared to the old implementation.
thread-parker = []
# Increases memory consumption but now has smaller load
# than parking-lot until 384 threads instead of 96.
#
# Note that memory consumption is static and
# in the worst case goes to ~32Kib.
more-concurrency = []
# The recommended way of testing loom.
# DO NOT spawn real threads in tests.
# Does nothing without `--cfg loom`.
loom-test = []
[dependencies]
cfg-if = "1.0.0"
[target.'cfg(loom)'.dependencies]
loom = { version = "0.7", features = ["checkpoint"] }