-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
170 lines (137 loc) · 4.05 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
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
[package]
name = "renoir"
description = "Reactive Network of Operators In Rust"
version = "0.3.0"
edition = "2021"
authors = [
"Luca De Martini <[email protected]>",
"Edoardo Morassutto <[email protected]>",
"Marco Donadoni <[email protected]>"
]
license = "LGPL-3.0-or-later"
repository = "https://github.com/deib-polimi/renoir"
homepage = "https://github.com/deib-polimi/renoir"
readme = "README.md"
[features]
default = ["clap", "ssh", "timestamp"]
timestamp = []
ssh = ["ssh2", "whoami", "shell-escape", "sha2", "base64"]
tokio = ["dep:tokio", "futures", "tokio/net", "tokio/io-util", "tokio/time", "tokio/rt-multi-thread", "tokio/macros"]
avro = ["dep:apache-avro"]
profiler = []
parquet = ["dep:parquet", "dep:arrow"]
# parquet = ["dep:parquet", "dep:arrow"]
[dependencies]
# for logging to the console
log = { version = "0.4.22", features = ["release_max_level_info"] }
# used by the network for storing type-generic structures
typemap_rev = "0.3.0"
# the shuffle() operator requires a random source
nanorand = "0.7.0"
# utility macros for customizing the derive Debug, Default, ...
derivative = "2.2.0"
# serialization
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
bincode = "1.3.3"
toml = "0.8.19"
thiserror = "1.0.64"
# handy iterators functions
# for storing non-mutable static variables with non-trivial initialization
once_cell = "1.20.2"
# used for spawning the remote workers
ssh2 = { version = "0.9.4", optional = true }
whoami = { version = "1.5.2", optional = true }
shell-escape = { version = "0.1.5", optional = true }
clap = { version = "4.5.19", features = ["derive"], optional = true }
sha2 = { version = "0.10.8", optional = true }
base64 = { version = "0.22.1", optional = true }
# channel implementation
flume = "0.11.0"
# used for csv file source
csv = "1.3.0"
# Lazy with support for delayed and synchronized initialization
lazy-init = "0.5.1"
# Faster monotonic clock using libc's CLOCK_MONOTONIC_COARSE
coarsetime = "0.1.34"
tokio = { version = "1.40.0", features = ["rt"], default-features = false, optional = true }
futures = { version = "0.3.31", optional = true }
parking_lot = "0.12.3"
wyhash = "0.5.0"
fxhash = "0.2.1"
glidesort = "0.1.2"
indexmap = "2.6.0"
tracing = { version = "0.1.40", features = ["log"] }
quick_cache = "0.6.9"
dashmap = "6.1.0"
dyn-clone = "1.0.17"
apache-avro = { version = "0.17.0", features = ["derive"], optional = true }
parquet = { version = "53.1.0", optional = true }
arrow = { version = "53.1.0", optional = true }
[dev-dependencies]
# for the tests
env_logger = "0.11.5"
rand = { version = "0.8.5", features = ["small_rng"] }
tempfile = "3.13.0"
criterion = { version = "0.5.1", features = ["html_reports"] }
fake = "2.10.0"
mimalloc = { version = "0.1.43", default-features = false }
tracing-subscriber = "0.3.18"
itertools = "0.13.0"
micrometer = { version = "0.2.7", features = ["enable"]}
# for the examples
regex = "1.11.0"
kstring = { version = "2.0.2", features = ["serde"] }
nexmark = { version = "0.2.0", features = ["serde"] }
[[example]]
name = "nexmark"
required-features = ["timestamp"]
[[example]]
name = "avro_rw"
required-features = ["avro"]
[[example]]
name = "parquet_rw"
required-features = ["parquet"]
[[example]]
name = "rolling_top_words"
required-features = ["timestamp"]
[[example]]
name = "rolling_top_words_e2e"
required-features = ["timestamp"]
# The list of benchmarks, all of them require "harness = false" in order to
# work with criterion.rs. Cannot set `[lib] harness = false` because the tests
# require the harness.
[[bench]]
name = "collatz"
harness = false
[[bench]]
name = "connected"
harness = false
[[bench]]
name = "wordcount"
harness = false
[[bench]]
name = "shuffle"
harness = false
[[bench]]
name = "fold_vs_reduce"
harness = false
[[bench]]
name = "batch_mode"
harness = false
[[bench]]
name = "nexmark"
harness = false
[[bench]]
name = "caching"
harness = false
[profile.release]
lto = true
[profile.bench]
inherits = "release"
debug = 1
[profile.release-fast]
inherits = "release"
lto = true
codegen-units = 1
panic = "abort"