forked from novitalabs/pegaflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
126 lines (114 loc) · 3.05 KB
/
Copy pathCargo.toml
File metadata and controls
126 lines (114 loc) · 3.05 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[workspace]
members = [
"pegaflow-common",
"pegaflow-core",
"pegaflow-proto",
"pegaflow-server",
"pegaflow-metaserver",
"pegaflow-pd-wire",
"pegaflow-transfer",
"python",
]
resolver = "2"
[workspace.package]
version = "0.23.3"
edition = "2024"
license = "Apache-2.0"
[profile.release]
lto = "thin"
codegen-units = 1
[workspace.dependencies]
# Workspace members
pegaflow-common = { path = "pegaflow-common" }
pegaflow-core = { path = "pegaflow-core", default-features = false }
pegaflow-pd-wire = { path = "pegaflow-pd-wire" }
pegaflow-transfer = { path = "pegaflow-transfer", default-features = false }
sideway = "0.4.3"
rdma-mummy-sys = "0.2.4"
# Core dependencies
# 0.19.7 floor: its regenerated bindings turn several sys enums into newtype
# structs (CUmemAllocationHandleType etc.); cuda_sys.rs and cumem.rs address
# them in that form.
cudarc = { version = "0.19.7" }
offset-allocator = "0.2.0"
hashlink = "0.11.0"
tokio = { version = "1.48.0", features = ["full"] }
rand = "0.10"
shared_memory = "0.12"
uuid = { version = "1.22", features = ["v4"] }
parking_lot = "0.12"
clap = { version = "4.5", features = ["derive"] }
libc = "0.2"
dashmap = "6.1"
opentelemetry = { version = "0.31.0", features = ["trace", "metrics"] }
opentelemetry-otlp = { version = "0.31.0", features = [
"trace",
"metrics",
"grpc-tonic",
] }
opentelemetry_sdk = { version = "0.31.0", features = [
"trace",
"metrics",
"rt-tokio-current-thread",
] }
opentelemetry-prometheus = "0.31"
prometheus = "0.14"
bytesize = "2.3.1"
anyhow = "1.0"
bytes = { version = "1.10", features = ["serde"] }
crossbeam-channel = "0.5"
ahash = "0.8"
futures = "0.3"
smallvec = { version = "1.15", features = ["serde", "union"] }
mea = "0.6.3"
# HTTP/Web
axum = "0.8"
reqwest = { version = "0.13", features = ["json", "stream"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio-stream = "0.1"
# grpc
prost = "0.14"
tonic = "0.14"
tonic-prost = "0.14"
# Python bindings
pyo3 = { version = "0.28" }
pyo3-build-config = { version = "0.28", features = ["resolve-config"] }
# Redis
# Logging
log = "0.4"
logforth = { version = "0.29", features = ["starter-log","layout-text"] }
colored = "3.1"
fastrace = "0.7.17"
# Dev dependencies
criterion = "0.8"
tikv-jemallocator = "0.6.1"
[workspace.lints.clippy]
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
allow_attributes_without_reason = "warn"
await_holding_refcell_ref = "warn"
await_holding_lock = "warn"
let_underscore_future = "warn"
mem_forget = "warn"
unimplemented = "warn"
unused_result_ok = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
inefficient_to_string = "warn"
let_unit_value = "warn"
manual_assert = "warn"
manual_ok_or = "warn"
semicolon_if_nothing_returned = "warn"
todo = "warn"
unnecessary_wraps = "warn"
useless_transmute = "warn"
[workspace.lints.rust]
elided_lifetimes_in_paths = "warn"
rust_2018_idioms = { level = "warn", priority = -1 }
unused_lifetimes = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"