-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
31 lines (29 loc) · 1.1 KB
/
Cargo.toml
File metadata and controls
31 lines (29 loc) · 1.1 KB
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
[package]
name = "cycler"
version = "0.3.0"
authors = ["buzzec <buzzec@buzzec.net"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "A simultainious write/read data structure"
homepage = "https://github.com/Buzzec/cycler"
repository = "https://github.com/Buzzec/cycler"
readme = "README.md"
categories = ["data-structures"]
keywords = ["multithread"]
exclude = [
".idea/*"
]
[dependencies]
parking_lot = { version = "0.11.1", features = ["send_guard"] }
[features]
default = ["allow_unsafe", "unsafe_cleanup", "atomic_cycler"]
# This feature allows the use of code that involves unsafe.
# This can be disabled for assurance that all code is safe.
allow_unsafe = []
# This feature allows cleaning of data with unsafe code.
# Without this memory leaks will exist when a RwLockCycler is dropped.
# This leak may not matter if the cycler lives for the whole program anyway, in which case this feature should be disabled.
unsafe_cleanup = ["allow_unsafe"]
# This feature allows use of the AtomicCycler.
# This relies on an usafe atomic lockless lock so requires allow_unsafe
atomic_cycler = ["allow_unsafe"]