This repository was archived by the owner on Nov 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (57 loc) · 1.51 KB
/
Cargo.toml
File metadata and controls
73 lines (57 loc) · 1.51 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
[package]
name = "shared-nothing"
version = "0.1.0"
edition = "2021"
authors = ["Your Name"]
description = "High-performance shared-nothing architecture library for Rust"
license = "MIT-0"
repository = "https://github.com/pyralog/shared-nothing"
keywords = ["concurrency", "actor", "shared-nothing", "distributed", "performance"]
categories = ["concurrency", "asynchronous"]
[dependencies]
# Core async runtime
tokio = { version = "1.40", features = ["full"] }
# High-performance channels
crossbeam = "0.8"
flume = "0.11"
# Serialization (optional, for network communication)
serde = { version = "1.0", features = ["derive"], optional = true }
bincode = { version = "1.3", optional = true }
# Hashing for partitioning
ahash = "0.8"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
# CPU pinning and affinity
core_affinity = "0.8"
# Utilities
parking_lot = "0.12"
once_cell = "1.19"
thiserror = "1.0"
num_cpus = "1.16"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1.4"
rand = "0.8"
[features]
default = ["serialization"]
serialization = ["serde", "bincode"]
[[bench]]
name = "message_passing"
harness = false
[[bench]]
name = "worker_pool"
harness = false
[[example]]
name = "basic_worker"
path = "examples/basic_worker.rs"
[[example]]
name = "data_processing"
path = "examples/data_processing.rs"
[[example]]
name = "distributed_compute"
path = "examples/distributed_compute.rs"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
[profile.bench]
inherits = "release"