Files
VoelinClient/third_party/dimpl/VOELIN-PATCH.md
T
Claude ce7c833aa8 Vendor dimpl 0.7.4 unmodified and patch it in from third_party
str0m's DTLS stack (dimpl) hard-codes the SRTP profile a DTLS server picks
(AES-256-GCM first), with no way to configure it. Official TeamSpeak 6
clients use AES_CM_128_HMAC_SHA1_80, so we need to patch dimpl. This commit
only vendors the crate as published and routes crates.io's dimpl to it;
the change follows separately so it can be reviewed and dropped on its own.

third_party is excluded from the workspace so dimpl's dev-dependencies and
tests stay out of our builds, and own-crates.sh skips it like crates/proto.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
2026-09-26 23:27:21 +00:00

33 lines
1.1 KiB
Markdown

# dimpl in Voelin
This directory is dimpl 0.7.4 from crates.io (`MIT OR Apache-2.0`, see
`LICENSE-MIT.txt` and `LICENSE-APACHE.txt`), vendored so that it can be
patched. The root `Cargo.toml` replaces the crates.io crate with it:
```toml
[patch.crates-io]
dimpl = { path = "third_party/dimpl" }
```
Everything that depends on dimpl (str0m through `str0m-proto` and
`str0m-aws-lc-rs`, and `voelin-stream`) builds against this copy. The
directory is excluded from the workspace (`exclude = ["fuzz", "third_party"]`),
so its own tests and dev-dependencies are not part of our builds, and
`scripts/own-crates.sh` leaves it out of the strict fmt/clippy checks.
The first commit that added this directory is the unmodified crate as
published (the `.crate` contents, `Cargo.toml` normalized by crates.io,
`Cargo.toml.orig` the original manifest). `git diff` against that commit
shows our changes.
## Running its tests
From this directory (its own workspace; it has its own `Cargo.lock`):
```sh
cargo test --lib
```
The upstream dev-dependencies (OpenSSL vendored, wolfSSL) are built for
that, so the first run takes a few minutes.