-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
136 lines (123 loc) · 3.89 KB
/
Cargo.toml
File metadata and controls
136 lines (123 loc) · 3.89 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
127
128
129
130
131
132
133
134
135
136
[workspace]
members = [".", "silo-macros", "silo-autoscaler"]
[package]
authors = ["Harry Brundage <harry@gadget.dev>"]
edition = "2024"
name = "silo"
description = "A background job server on top of object storage"
version = "0.2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.3.14", features = ["derive", "env"] }
futures = "0.3"
slatedb = { git = "https://github.com/gadget-inc/slatedb.git", branch = "gadget" }
object_store = { version = "0.12", features = ["gcp"] }
tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] }
serde = { version = "1.0", features = ["derive"] }
rmp = "0.8"
rmp-serde = "1.3"
toml = "0.8"
thiserror = "1.0"
anyhow = "1"
url = "2"
serde_json = "1.0"
uuid = { version = "1.9", features = ["v4", "serde"] }
flatbuffers = "25.2.10"
bytes = "1"
crossbeam-skiplist = "0.1"
dashmap = "6"
tonic = { version = "0.12", features = ["transport"] }
tonic-health = "0.12"
tonic-reflection = "0.12"
prost = "0.13"
prost-types = "0.13"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-perfetto = "0.1"
silo-macros = { path = "silo-macros" }
tokio-stream = "0.1"
tokio-util = "0.7"
etcd-client = { version = "0.13", default-features = false, features = ["tls"] }
kube = { version = "0.98", features = [
"runtime",
"client",
"derive",
], optional = true }
k8s-openapi = { version = "0.24", features = ["v1_31"], optional = true }
chrono = { version = "0.4", optional = true }
turmoil = { version = "0.7", features = ["unstable-fs"], optional = true }
tracing-opentelemetry = "0.27"
opentelemetry = { version = "0.26" }
opentelemetry_sdk = { version = "0.26", features = ["rt-tokio"] }
opentelemetry-otlp = { version = "0.26", features = ["http-json", "trace"] }
prometheus = "0.13"
usdt = "0.6.0"
tempfile = "3"
async-trait = "0.1"
datafusion = { version = "50", features = [
"nested_expressions",
"datetime_expressions",
"regex_expressions",
"recursive_protection",
] }
hyper = { version = "1", features = ["client", "http1", "server"] }
hyper-util = { version = "0.1", features = ["full"] }
http-body-util = "0.1"
axum = "0.7"
askama = "0.12"
askama_axum = "0.4"
tower-http = { version = "0.5", features = ["fs"] }
rand = "0.9"
datafusion-sql = "50"
hostname = "0.4"
pprof = { version = "0.15", features = ["prost-codec", "frame-pointer"] }
flate2 = "1"
urlencoding = "2"
storekey = { version = "0.11", features = ["storekey-derive"] }
hex = "0.4"
base64 = "0.22"
xxhash-rust = { version = "0.8", features = ["xxh64"] }
[features]
default = ["k8s"]
dst = ["turmoil"]
k8s = ["kube", "k8s-openapi", "chrono"]
[dev-dependencies]
mad-turmoil = "0.2"
rand = "0.9"
fastrand = "2" # For deterministic simulation - seed must be set explicitly
rand_chacha = "0.9"
async-stream = "0.3"
tower = "0.4"
criterion = { version = "0.5", features = ["async_tokio"] }
hyper = { version = "1", features = ["client", "http1", "server"] }
hyper-util = { version = "0.1", features = ["full"] }
http-body-util = "0.1"
[build-dependencies]
tonic-build = "0.12"
protoc-bin-vendored = "3.0"
[profile.release]
debug = 1 # debug info with line tables only for profiling
strip = false # do not strip symbols for profiling
# NOTE: pprof uses frame-pointer based stack unwinding. The nix build in
# nix/modules/rust.nix sets RUSTFLAGS="-C force-frame-pointers=yes" to ensure
# frame pointers are preserved. Without this, production profiles will have
# incomplete call stacks.
[[bench]]
name = "job_shard_throughput"
harness = false
[[bench]]
name = "query_performance"
harness = false
[[bench]]
name = "big_shard_operations"
harness = false
[[bench]]
name = "query_profile"
harness = false
[[bench]]
name = "task_scanner_profile"
harness = false
[[test]]
name = "turmoil_runner"
path = "tests/turmoil_runner/main.rs"
required-features = ["dst"]