-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (60 loc) · 1.69 KB
/
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
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
[package]
name = "beekeeper"
description = "A full-featured worker pool library for parallelizing tasks"
version = "0.3.0"
edition = "2024"
rust-version = "1.85"
authors = ["John Didion <[email protected]>"]
repository = "https://github.com/jdidion/beekeeper"
license = "MIT OR Apache-2.0"
[dependencies]
crossbeam-channel = "0.5.13"
crossbeam-deque = "0.8.6"
crossbeam-queue = "0.3.12"
crossbeam-utils = "0.8.20"
derive_more = { version = "2.0.1", features = ["debug"] }
nanorand = { version = "0.7.0", default-features = false, features = [
"std",
"tls",
] }
num = "0.4.3"
num_cpus = "1.16.0"
parking_lot = "0.12.3"
paste = "1.0.15"
simple-mermaid = "0.2.0"
thiserror = "1.0.63"
# required with the `affinity` feature
core_affinity = { version = "0.8.1", optional = true }
# required with alternate outcome channel implementations that can be enabled with features
# NOTE: these version requirements could be relaxed as we don't actually depend on the
# functionality of these crates internally (other than in tests)
flume = { version = "0.11.1", optional = true }
loole = { version = "0.4.0", optional = true }
[dev-dependencies]
divan = "0.1.17"
itertools = "0.14.0"
serial_test = "3.2.0"
rstest = "0.22.0"
stacker = "0.1.17"
aquamarine = "0.6.0"
simple-mermaid = "0.2.0"
[[bench]]
name = "perf"
harness = false
[features]
default = ["local-batch"]
affinity = ["dep:core_affinity"]
local-batch = []
retry = []
crossbeam = []
flume = ["dep:flume"]
loole = ["dep:loole"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(coverage,coverage_nightly)',
] }
[package.metadata.cargo-all-features]
allowlist = ["affinity", "local-batch", "retry"]
[profile.release]
lto = true
codegen-units = 1