Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
90 lines (82 loc) · 2.38 KB
/
Copy pathCargo.toml
File metadata and controls
90 lines (82 loc) · 2.38 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
[workspace]
members = [
"crates/core",
"crates/media-io",
"crates/ui",
"crates/i18n",
"crates/app",
"crates/mcp",
"crates/screen-record",
"crates/otio-import",
"crates/android",
]
resolver = "2"
[workspace.package]
version = "0.9.20"
edition = "2021"
license = "MIT"
[workspace.dependencies]
egui = "0.31"
eframe = { version = "0.31", default-features = false, features = [
"default_fonts",
"glow",
"persistence",
"wayland",
"x11",
] }
egui-phosphor = "0.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["v4", "serde"] }
anyhow = "1"
thiserror = "2"
sys-locale = "0.3"
# Local wall-clock time for the crash-recovery prompt timestamp.
# Pure Rust, IANA tzdata bundled on Windows.
jiff = "0.2"
ffmpeg-next = "7"
fluent = "0.16"
fluent-bundle = "0.15"
unic-langid = "0.9"
once_cell = "1"
image = { version = "0.25", default-features = false, features = ["jpeg"] }
tokio = { version = "1", features = ["full"] }
ureq = { version = "2", default-features = false, features = ["tls"] }
open = "5"
zip = { version = "2", default-features = false, features = ["deflate"] }
tar = "0.4"
flate2 = "1"
blake3 = "1"
parking_lot = "0.12"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
# Face detection (auto-reframe, Phase P2).
# tract-onnx 0.23 is pure Rust (no libonnxruntime dependency). It
# added support for the pytorch_half_pixel Resize coordinate mode,
# which u2netp (and most PyTorch-exported ONNX models) rely on. MSRV
# is 1.91, pinned via rust-toolchain.toml.
tract-onnx = { version = "0.23", default-features = false }
# Audio playback (preview)
cpal = "0.15"
ringbuf = "0.4"
rfd = "0.15"
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
# tract-onnx inference is 10-50x slower in debug because the
# tract-linalg SIMD kernels are compiled without optimizations. This
# makes BG removal unusable from `cargo run` (see issue #3). Opt just
# these three crates at level 3 so debug builds are usable without
# slowing down the rest of the workspace (which stays at opt-level 0).
#
# Note: this does NOT apply to the release profile; release already
# optimizes everything with opt-level = "z".
[profile.dev.package.tract-onnx]
opt-level = 3
[profile.dev.package.tract-linalg]
opt-level = 3
[profile.dev.package.tract-core]
opt-level = 3