build: workspace for vendored crates, replace audiopus with opus2
- Root Cargo workspace (resolver 3) with the six vendored crates. - Path deps adjusted to the flat crates/proto layout, publish = false. - tsclientlib: audiopus (unmaintained, RUSTSEC-2026-0150) -> opus2 0.4. - Stable rustfmt config for new crates; vendored crates keep their own. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
1cb7b0bdf2
commit
8cd65e8deb
13 files changed
+87
-52
No files matched your search
@@ -31,3 +31,9 @@ files in this directory is listed here, newest last, so it can be diffed
|
||||
against or offered back to upstream.
|
||||
|
||||
<!-- patches -->
|
||||
1. **Workspace integration.** Path dependencies point at the flat `crates/proto/<crate>`
|
||||
layout; every crate gets `publish = false`.
|
||||
2. **Replace `audiopus` with `opus2` 0.4** (`tsclientlib/src/audio.rs`,
|
||||
`tsclientlib/examples/audio_utils/audio_to_ts.rs`, `tsclientlib/Cargo.toml`).
|
||||
`audiopus` is unmaintained (RUSTSEC-2026-0150) and breaks with CMake 4. The
|
||||
`audiopus-unstable` feature (decoder complexity/DRED via a fork) is dropped.
|
||||
Reference in new issue
Block a user