-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (72 loc) · 1.8 KB
/
Cargo.toml
File metadata and controls
87 lines (72 loc) · 1.8 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
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
[package]
name = "forte"
version = "1.0.0-dev"
edition = "2024"
license = "MIT OR Apache-2.0"
description = "A low-overhead thread-pool with support for non-static async closures"
repository = "https://github.com/NthTensor/Forte"
[workspace]
resolver = "2"
members = ["ci"]
[dependencies]
arraydeque = "0.5.1"
async-task = "4.7.1"
atomic-wait = "1.1.0"
crossbeam-queue = "0.3.12"
crossbeam-utils = "0.8.21"
shuttle = { version = "0.8.0", optional = true }
tracing = { version = "0.1.41", features = ["release_max_level_off"] }
tracing-subscriber = "0.3.19"
[dev-dependencies]
# Required for comparison testing
divan = "0.1.17"
rayon = "1.10.0"
chili = "0.2"
bevy_tasks = { version = "0.16.1", features = [ "multi_threaded" ] }
# Used for some benchmarks
dashmap = "6.1.0"
# Used for A/B perf testing
criterion = { version = "0.5" }
[features]
shuttle = ["dep:shuttle"]
[profile.release]
debug = true
[profile.bench]
opt-level = 3
# Custom profile for shuttle tests: enable release optimizations so that the shuttle
# tests are less slow, but don't disable debug assertions.
[profile.shuttle]
inherits = "test"
lto = true
opt-level = 3
[lints.clippy]
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
semicolon_if_nothing_returned = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_or_default = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
ref_as_ptr = "warn"
std_instead_of_core = "warn"
std_instead_of_alloc = "warn"
alloc_instead_of_core = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"
[[bench]]
name = "fork_join"
harness = false
[[bench]]
name = "bevy_tasks"
harness = false
[[bench]]
name = "flood_fill"
harness = false
[[bench]]
name = "flat_scope"
harness = false