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
+38
@@ -0,0 +1,38 @@
|
||||
[workspace]
|
||||
resolver = "3"
|
||||
members = [
|
||||
"crates/proto/tsproto-types",
|
||||
"crates/proto/tsproto-structs",
|
||||
"crates/proto/tsproto-packets",
|
||||
"crates/proto/tsproto",
|
||||
"crates/proto/ts-bookkeeping",
|
||||
"crates/proto/tsclientlib",
|
||||
"tools/tsctl",
|
||||
]
|
||||
default-members = [
|
||||
"crates/proto/tsproto-types",
|
||||
"crates/proto/tsproto-structs",
|
||||
"crates/proto/tsproto-packets",
|
||||
"crates/proto/tsproto",
|
||||
"crates/proto/ts-bookkeeping",
|
||||
"crates/proto/tsclientlib",
|
||||
"tools/tsctl",
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
edition = "2024"
|
||||
rust-version = "1.94"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/Faumaray/teamspeak_client_rs"
|
||||
publish = false
|
||||
|
||||
[workspace.lints.rust]
|
||||
unsafe_code = "forbid"
|
||||
|
||||
[workspace.lints.clippy]
|
||||
all = { level = "warn", priority = -1 }
|
||||
|
||||
[profile.dev.package.num-bigint]
|
||||
# The Init1 puzzle does a large modular exponentiation on connect; unoptimized
|
||||
# it takes seconds.
|
||||
opt-level = 3
|
||||
Reference in new issue
Block a user