edith
Clone
https://git.tahinli.com/Tahinli/edith.git
0 watching0 forksRust18.3 MiBff99ad6Tahinli6 days ago1055 commits
| 1 | [workspace] |
| 2 | resolver = "3" |
| 3 | members = ["crates/engine", "crates/engine-hw", "crates/app", "crates/mcp"] |
| 4 | # A plain `cargo build` / `cargo run` builds `engine-hw` too, so `hw-child` lands |
| 5 | # beside `target/<profile>/edith` and the hardware decode works. `-p edith` does |
| 6 | # not build it (artifact deps are nightly-only); `hwproc` warns once when a GPU is |
| 7 | # present and the child is missing. |
| 8 | default-members = ["crates/engine", "crates/engine-hw", "crates/app", "crates/mcp"] |
| 9 | # Vendored third-party (see [patch.crates-io]); not ours to build or test. |
| 10 | exclude = [ |
| 11 | "tools/edith-stt", |
| 12 | "vendor/cros-libva", |
| 13 | "vendor/cros-codecs", |
| 14 | |
| 15 | "vendor/mp4", |
| 16 | ] |
| 17 | |
| 18 | [workspace.package] |
| 19 | version = "0.1.0" |
| 20 | edition = "2024" |
| 21 | |
| 22 | # Panics and backtraces keep file:line; full variable debug info is dropped, which |
| 23 | # shrinks the target dir and the link time of every test binary. For a debugger |
| 24 | # session, build with CARGO_PROFILE_DEV_DEBUG=2. The test profile inherits this. |
| 25 | [profile.dev] |
| 26 | debug = "line-tables-only" |
| 27 | |
| 28 | # symphonia's WAV reader multiplies a header's channel count by its sample size |
| 29 | # in u16 for a log line alone; a damaged header overflows it. Release wraps and |
| 30 | # carries on, so a dev build must not panic where a shipped one does not |
| 31 | # (media_fuzz damaged_media_never_panics_or_hangs). |
| 32 | [profile.dev.package.symphonia-format-riff] |
| 33 | overflow-checks = false |
| 34 | |
| 35 | # Vendored third-party crate, patched for one clearly marked fix (see below). |
| 36 | [patch.crates-io] |
| 37 | # Drops the `pub use proc_macro;` re-export (E0365 future-incompat, rustc |
| 38 | # warns on every workspace build); nothing in the crate or its users names it. |
| 39 | proc-macro-error2 = { path = "vendor/proc-macro-error2" } |
| 40 | # gpui 0.2.2 (Apache-2.0, LICENSE-APACHE kept in the copy) with one fix: its |
| 41 | # wl_keyboard Modifiers and Key handlers unwrap the keymap, which is None until |
| 42 | # the Keymap event arrives, so an early event panicked at startup. Those handlers |
| 43 | # now return early instead. A second fix: Wayland ignored `WindowOptions::display_id`, |
| 44 | # so a window that names a display goes fullscreen on that output (the video output |
| 45 | # window's "Output display"). Both are in third_party/gpui/src/platform/linux/wayland/client.rs. |
| 46 | gpui = { path = "third_party/gpui" } |