forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
232 lines (222 loc) · 10.1 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
[workspace]
resolver = "2"
members = [
"crates/*",
"examples/rust/*",
"docs/code-examples",
"rerun_py",
"run_wasm",
"tests/rust/test_*",
"tests/rust/roundtrips/*",
]
[workspace.package]
authors = ["rerun.io <[email protected]>"]
edition = "2021"
homepage = "https://rerun.io"
include = ["../../LICENSE-APACHE", "../../LICENSE-MIT", "**/*.rs", "Cargo.toml"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rerun-io/rerun"
rust-version = "1.72"
version = "0.10.0-alpha.9+dev"
[workspace.dependencies]
# When using alpha-release, always use exact version, e.g. `version = "=0.x.y-alpha.z"
# This is because we treat alpha-releases as incompatible, but semver doesn't.
# In particular: if we compile rerun 0.3.0-alpha.0 we only want it to use
# re_log_types 0.3.0-alpha.0, NOT 0.3.0-alpha.4 even though it is newer and semver-compatible.
re_analytics = { path = "crates/re_analytics", version = "=0.10.0-alpha.9", default-features = false }
re_arrow_store = { path = "crates/re_arrow_store", version = "=0.10.0-alpha.9", default-features = false }
re_build_info = { path = "crates/re_build_info", version = "=0.10.0-alpha.9", default-features = false }
re_build_tools = { path = "crates/re_build_tools", version = "=0.10.0-alpha.9", default-features = false }
re_build_web_viewer = { path = "crates/re_build_web_viewer", version = "=0.10.0-alpha.9", default-features = false }
re_crash_handler = { path = "crates/re_crash_handler", version = "=0.10.0-alpha.9", default-features = false }
re_data_source = { path = "crates/re_data_source", version = "=0.10.0-alpha.9", default-features = false }
re_data_store = { path = "crates/re_data_store", version = "=0.10.0-alpha.9", default-features = false }
re_data_ui = { path = "crates/re_data_ui", version = "=0.10.0-alpha.9", default-features = false }
re_error = { path = "crates/re_error", version = "=0.10.0-alpha.9", default-features = false }
re_format = { path = "crates/re_format", version = "=0.10.0-alpha.9", default-features = false }
re_int_histogram = { path = "crates/re_int_histogram", version = "=0.10.0-alpha.9", default-features = false }
re_log = { path = "crates/re_log", version = "=0.10.0-alpha.9", default-features = false }
re_log_encoding = { path = "crates/re_log_encoding", version = "=0.10.0-alpha.9", default-features = false }
re_log_types = { path = "crates/re_log_types", version = "=0.10.0-alpha.9", default-features = false }
re_memory = { path = "crates/re_memory", version = "=0.10.0-alpha.9", default-features = false }
re_query = { path = "crates/re_query", version = "=0.10.0-alpha.9", default-features = false }
re_renderer = { path = "crates/re_renderer", version = "=0.10.0-alpha.9", default-features = false }
re_sdk = { path = "crates/re_sdk", version = "=0.10.0-alpha.9", default-features = false }
re_sdk_comms = { path = "crates/re_sdk_comms", version = "=0.10.0-alpha.9", default-features = false }
re_smart_channel = { path = "crates/re_smart_channel", version = "=0.10.0-alpha.9", default-features = false }
re_space_view = { path = "crates/re_space_view", version = "=0.10.0-alpha.9", default-features = false }
re_space_view_bar_chart = { path = "crates/re_space_view_bar_chart", version = "=0.10.0-alpha.9", default-features = false }
re_space_view_spatial = { path = "crates/re_space_view_spatial", version = "=0.10.0-alpha.9", default-features = false }
re_space_view_tensor = { path = "crates/re_space_view_tensor", version = "=0.10.0-alpha.9", default-features = false }
re_space_view_text_log = { path = "crates/re_space_view_text_log", version = "=0.10.0-alpha.9", default-features = false }
re_space_view_text_document = { path = "crates/re_space_view_text_document", version = "=0.10.0-alpha.9", default-features = false }
re_space_view_time_series = { path = "crates/re_space_view_time_series", version = "=0.10.0-alpha.9", default-features = false }
re_string_interner = { path = "crates/re_string_interner", version = "=0.10.0-alpha.9", default-features = false }
re_tensor_ops = { path = "crates/re_tensor_ops", version = "=0.10.0-alpha.9", default-features = false }
re_time_panel = { path = "crates/re_time_panel", version = "=0.10.0-alpha.9", default-features = false }
re_tracing = { path = "crates/re_tracing", version = "=0.10.0-alpha.9", default-features = false }
re_tuid = { path = "crates/re_tuid", version = "=0.10.0-alpha.9", default-features = false }
re_types_core = { path = "crates/re_types_core", version = "=0.10.0-alpha.9", default-features = false }
re_types = { path = "crates/re_types", version = "=0.10.0-alpha.9", default-features = false }
re_types_builder = { path = "crates/re_types_builder", version = "=0.10.0-alpha.9", default-features = false }
re_ui = { path = "crates/re_ui", version = "=0.10.0-alpha.9", default-features = false }
re_viewer = { path = "crates/re_viewer", version = "=0.10.0-alpha.9", default-features = false }
re_viewer_context = { path = "crates/re_viewer_context", version = "=0.10.0-alpha.9", default-features = false }
re_viewport = { path = "crates/re_viewport", version = "=0.10.0-alpha.9", default-features = false }
re_web_viewer_server = { path = "crates/re_web_viewer_server", version = "=0.10.0-alpha.9", default-features = false }
re_ws_comms = { path = "crates/re_ws_comms", version = "=0.10.0-alpha.9", default-features = false }
rerun = { path = "crates/rerun", version = "=0.10.0-alpha.9", default-features = false }
# All of our direct external dependencies should be found here:
ahash = "0.8"
anyhow = "1.0"
arboard = { version = "3.2", default-features = false }
array-init = "2.1"
arrow2 = "0.17"
arrow2_convert = "0.5.0"
async-executor = "1.0"
backtrace = "0.3"
bincode = "1.3"
bitflags = "1.3"
bytemuck = { version = "1.11", features = ["extern_crate_alloc"] }
camino = "1.1"
cargo-run-wasm = "0.3.2"
cfg-if = "1.0"
clap = "4.0"
clean-path = "0.2"
comfy-table = { version = "6.1", default-features = false }
console_error_panic_hook = "0.1.6"
criterion = "0.5"
crossbeam = "0.8"
directories-next = "2"
document-features = "0.2"
ecolor = "0.23.0"
eframe = { version = "0.23.0", default-features = false, features = [
"accesskit",
"default_fonts",
"puffin",
"wayland",
"x11",
] }
egui = { version = "0.23.0", features = [
"callstack",
"extra_debug_asserts",
"log",
"puffin",
] }
egui_commonmark = { version = "0.9", default-features = false }
egui_extras = { version = "0.23.0", features = ["http", "image", "puffin"] }
egui_plot = "0.23.0"
egui_tiles = "0.3.1"
egui-wgpu = "0.23.0"
ehttp = "0.3.1"
emath = "0.23.0"
enumset = "1.0.12"
env_logger = "0.10"
epaint = "0.23.0"
ewebsock = "0.4.0"
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false }
getrandom = "0.2"
glam = "0.22"
gltf = "1.1"
half = "2.3.1"
hyper = "0.14"
image = { version = "0.24", default-features = false }
indent = "0.1"
infer = "0.15" # infer MIME type by checking the magic number signature
itertools = "0.11"
js-sys = "0.3"
lazy_static = "1.4"
log = "0.4"
log-once = "0.4"
macaw = "0.18"
memory-stats = "1.1"
mimalloc = "0.1.29"
mime = "0.3"
mime_guess = "2.0"
ndarray = "0.15"
ndarray-rand = "0.14"
never = "0.1"
nohash-hasher = "0.2"
notify = "6.0"
num-derive = "0.3"
num-traits = "0.2"
once_cell = "1.17"
ordered-float = "3.2"
parking_lot = "0.12"
pathdiff = "0.2"
pico-args = "0.5"
polars-core = "0.29"
polars-lazy = "0.29"
polars-ops = "0.29"
poll-promise = "0.3"
pollster = "0.3"
puffin = "0.16"
puffin_http = "0.13"
rand = { version = "0.8", default-features = false }
rayon = "1.7"
rfd = { version = "0.12", default_features = false, features = ["xdg-portal"] }
rmp-serde = "1"
ron = "0.8.0"
serde = "1"
serde_bytes = "0.11"
serde_json = { version = "1", default-features = false, features = ["std"] }
serde_test = "1"
serde_yaml = { version = "0.9.21", default-features = false }
sha2 = "0.10"
similar-asserts = "1.4.2"
slotmap = { version = "1.0.6", features = ["serde"] }
smallvec = { version = "1.0", features = ["const_generics", "union"] }
static_assertions = "1.1"
strum = { version = "0.24", features = ["derive"] }
strum_macros = "0.24"
sublime_fuzzy = "0.7"
sysinfo = { version = "0.29.0", default-features = false }
thiserror = "1.0"
time = { version = "0.3", default-features = false, features = [
"wasm-bindgen",
] }
tinyvec = { version = "1.6", features = ["alloc", "rustc_1_55"] }
tokio = { version = "1.24", default-features = false }
tokio-tungstenite = { version = "0.17.1", default-features = false }
tracing = "0.1"
tungstenite = { version = "0.17", default-features = false }
type-map = "0.5"
typenum = "1.15"
unindent = "0.1"
uuid = "1.1"
vec1 = "1.8"
walkdir = "2.0"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.33"
web-sys = "0.3.61"
web-time = "0.2.0"
webbrowser = "0.8"
winit = "0.28.7"
# TODO(andreas): Try to get rid of `fragile-send-sync-non-atomic-wasm`. This requires re_renderer being aware of single-thread restriction on resources.
# See also https://gpuweb.github.io/gpuweb/explainer/#multithreading-transfer (unsolved part of the Spec as of writing!)
wgpu = { version = "0.17.0", features = ["fragile-send-sync-non-atomic-wasm"] }
wgpu-core = "0.17.0"
xshell = "0.2"
zip = { version = "0.6", default-features = false }
zune-core = "0.2"
zune-jpeg = "0.3"
[profile.dev]
opt-level = 1 # Make debug builds run faster
panic = "abort" # This leads to better optimizations and smaller binaries (and is the default in Wasm anyways).
[profile.dev.build-override]
debug = true # enable debug symbols for build scripts when building in dev (codegen backtraces!)
# Optimize all dependencies even in debug builds (does not affect workspace packages):
[profile.dev.package."*"]
opt-level = 2
[profile.release]
# debug = true # good for profilers
panic = "abort" # This leads to better optimizations and smaller binaries (and is the default in Wasm anyways).
[profile.bench]
debug = true
[patch.crates-io]
# Try to avoid patching crates! It prevents us from publishing the crates on crates.io.
# If you do patch always prefer to patch to a commit on the trunk of the upstream repo.
# If that is not possible, patch to a branch that has a PR open on the upstream repo.
# As a last resport, patch with a commit to our own repository.
# ALWAYS document what PR the commit hash is part of, or when it was merged into the upstream trunk.