-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (57 loc) · 1.57 KB
/
Cargo.toml
File metadata and controls
63 lines (57 loc) · 1.57 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
[workspace]
members = [
"crates/sidecar",
"crates/runt",
"crates/runt-trust",
"crates/runt-workspace",
"crates/kernel-launch",
"crates/kernel-env",
"crates/notebook",
"crates/notebook-doc",
"crates/tauri-jupyter",
"crates/xtask",
"crates/runtimed",
"crates/runtimed-py",
"crates/runtimed-wasm",
]
default-members = ["crates/notebook"]
resolver = "2"
[workspace.package]
edition = "2021"
license = "BSD-3-Clause"
repository = "https://github.com/nteract/desktop"
[workspace.dependencies]
anyhow = "1"
loro_fractional_index = "=1.6.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["serde", "v4", "v5"] }
futures = "0.3"
bytes = "1"
base64 = "0.22"
tokio = { version = "1.36.0", features = ["full"] }
runtimelib = { version = "1.5.0", default-features = false }
jupyter-protocol = "1.4.0"
thiserror = "1"
schemars = "1"
notify = "8"
notify-debouncer-mini = "0.7"
ts-rs = { version = "12", features = ["serde-compat"] }
jiter = { version = "0.13", default-features = false, features = ["num-bigint"] }
[workspace.lints.rust]
dead_code = "warn"
unused_imports = "warn"
unused_variables = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
# Prevent panics in user-facing code - crashes are terrible UX.
# CI runs `clippy -- -D warnings` so these become errors in CI.
# Use #[allow(clippy::unwrap_used)] with a comment explaining why it's safe.
unwrap_used = "warn"
expect_used = "warn"
[profile.release]
opt-level = 'z'
strip = true
lto = true
codegen-units = 1
panic = "abort"