The second front end of plan section 6 step 3: crates/voelin-gpui with the binary voelin-gpui, in the workspace's members and default-members next to voelin-ui (two binaries until parity; voelin-ui stays the app). gpui-kit is a workspace dependency pinned `=0.8.1` (the version the three spikes were rebuilt on in the commit before). The crate asks for gpui-kit and the app's name and id from voelin-platform (APP_NAME as the window's title, APP_ID as its app id); `run()` opens one window whose `on_window_should_close` ends the app, and returns the error when the window cannot be opened (no display). Checked on Xvfb :97 (headless.sh: openbox, a private bus, lavapipe through wgpu's Vulkan backend, state under .scratch): the debug binary opens a window named "Voelin" (xdotool search) in 0.3 s and ends with exit code 0 when openbox sends the close request (Alt+F4). Cargo.lock: 279 more package entries (208 new names; no existing version moved, other versions of 61 names were added beside theirs): GPUI's gpui-pre family, wgpu 30, gpui-component with its Markdown, HTML, chart and table support, cosmic-text, the Linux platform crates. The root workspace already carried Slint's and the codecs' dependencies, so this is 195 new packages on Linux, not the ~1,000 of the spikes' lock (which has the root's packages too). deny.toml and about.toml name the two licences no crate of the tree had: 0BSD (enum-iterator and enum-iterator-derive, under gpui-component) and CC0-1.0 (notify 8, the file watcher of gpui-component, and tiny-keccak, under the X input method client of gpui-pre-linux); no other licence, no advisory, no ban and no source is new (`cargo deny --locked --workspace check`: advisories, bans, licenses and sources ok). THIRD_PARTY_NOTICES.md is regenerated (scripts/notices.sh, cargo-about 0.9.2, no warning; `--check` clean). There is no new clarification: cargo-about finds every text. Docs: CHANGELOG, docs/ui.md (the structure tree names the crate and the intro the second front end), docs/building.md (the dependency list: Vulkan or OpenGL at run time, what GPUI loads by name, a window manager on X11; no new development package), README (the crate list and the run command) and CLAUDE.md, which had no crate sentence (it only says "own crates"): it now says there are two front ends on one engine and what they share. Checked on Rust 1.95.0: cargo fmt and cargo clippy -D warnings --no-deps over the own crates (all targets); cargo deny; scripts/notices.sh --check. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
80 lines
3.5 KiB
TOML
80 lines
3.5 KiB
TOML
# cargo-deny configuration: https://embarkstudios.github.io/cargo-deny/
|
|
|
|
[graph]
|
|
all-features = false
|
|
|
|
[advisories]
|
|
# Unmaintained crates are reported but only fail for direct dependencies.
|
|
unmaintained = "workspace"
|
|
ignore = [
|
|
# TIME-LIMITED, remove by 2026-12-20 (entered 2026-10-25). `crypto-bigint` 0.5.5
|
|
# (through `elliptic-curve` 0.13 / `p256` 0.13 of `tsproto-types`) and 0.6.1
|
|
# (`tsproto` directly) have no fixed release on their lines; the fix is to move
|
|
# the tsclientlib fork to the `p256` 0.14 / `crypto-bigint` 0.7 line. The affected
|
|
# arithmetic serves the TeamSpeak identity (ECDH, ECDSA) in a client that holds
|
|
# only its own key, so the timing variability is a local concern.
|
|
{ id = "RUSTSEC-2026-0387", reason = "tsproto and tsproto-types pin crypto-bigint 0.5/0.6; fork upgrade to p256 0.14 is the follow-up" },
|
|
# Marvin attack: timing side channel in RSA *private-key* operations of the
|
|
# `rsa` crate, pulled in by russh. TeamSpeak SSH query servers use RSA host
|
|
# keys, so russh needs RSA to verify the server's signature (a public-key
|
|
# operation). We never hold an RSA private key: query logins use passwords.
|
|
{ id = "RUSTSEC-2023-0071", reason = "only RSA signature verification is used (SSH host keys)" },
|
|
# TIME-LIMITED, remove by 2026-12-20 (entered 2026-10-20). `wasapi` 0.24.0:
|
|
# `WaveFormat::parse` is a safe fn that reads past the end of the
|
|
# `&WAVEFORMATEX` it is given. The fix is `wasapi` 0.25.0, a breaking
|
|
# release (the fn became `unsafe`) of a Windows-only dependency of
|
|
# voelin-media that the Linux CI can neither build nor test, so it is not
|
|
# a semver update. voelin-media never calls `WaveFormat::parse` (it only
|
|
# builds formats with `WaveFormat::new`); upgrade `wasapi` to 0.25 on a
|
|
# Windows machine, then delete this entry.
|
|
{ id = "RUSTSEC-2026-0332", reason = "voelin-media does not call wasapi's WaveFormat::parse; the fix is the breaking wasapi 0.25 (Windows-only), upgrade by 2026-12-20" },
|
|
]
|
|
|
|
[licenses]
|
|
# Permissive licenses only. AGPL/GPL code (e.g. astrum-ts6) must never be
|
|
# linked; LGPL may be revisited for dynamically linked codecs.
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"Unicode-3.0",
|
|
"CDLA-Permissive-2.0",
|
|
"MPL-2.0",
|
|
"BSL-1.0",
|
|
"Unlicense",
|
|
# Slint is triple licensed (GPL-3.0-only OR royalty-free OR commercial); we
|
|
# use the royalty-free license, which requires the attribution shown in the
|
|
# app's About page and the README.
|
|
"LicenseRef-Slint-Royalty-free-2.0",
|
|
# Permissive BSD-style license of bzip2, kept by its pure Rust port
|
|
# (libbz2-rs-sys), which voelin-media uses to unpack Cisco's OpenH264 download.
|
|
"bzip2-1.0.6",
|
|
# The GPUI front end (gpui-kit, crates/voelin-gpui) brought two licences no
|
|
# other crate of ours has. 0BSD, the BSD Zero Clause License (OSI approved;
|
|
# MIT without the notice requirement): `enum-iterator` and
|
|
# `enum-iterator-derive`, under gpui-component. CC0-1.0, Creative Commons
|
|
# Zero (a public domain dedication; no notice to carry): `notify` 8, the
|
|
# file watcher of gpui-component, and `tiny-keccak`, a hash of the X input
|
|
# method client under gpui-pre-linux (`zed-xim`, through `ahash`'s
|
|
# `const-random`).
|
|
"0BSD",
|
|
"CC0-1.0",
|
|
]
|
|
confidence-threshold = 0.9
|
|
|
|
[bans]
|
|
multiple-versions = "allow"
|
|
wildcards = "deny"
|
|
allow-wildcard-paths = true
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
# The private protocol repository (voelin-identity and its voelin-proto);
|
|
# docs/building.md, "Depending on VoelinProtocol".
|
|
allow-git = ["ssh://gitea@git.faumaray.com/Voelin/VoelinProtocol.git"]
|