mirror of
https://github.com/nestriness/nestri.git
synced 2026-09-19 17:25:19 +03:00
`apps/nescapture/Cargo.toml` carried `[profile.release]` with `opt-level = 3` and `lto = "thin"`. Cargo only reads `[profile.*]` from the workspace root and warns about a member that writes one, so `cargo build --release --workspace` — which is what build/Dockerfile runs — ignored it. The Vulkan capture layer that ends up in the guest image was built at the default release profile, and the warning saying so scrolled past on every build. `opt-level = 3` is already the release default, so `lto = "thin"` is the only part that was actually lost. It moves to the workspace root, where Cargo reads it, and now applies to all five members — the same rule as `[workspace.dependencies]` right above it: what must not differ between members is stated once. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
43 lines
1022 B
TOML
43 lines
1022 B
TOML
[package]
|
|
name = "nescapture"
|
|
version = "0.2.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Vulkan implicit layer: direct frame capture, Vulkan Video encode, and IPC out to the session transport"
|
|
|
|
[lib]
|
|
name = "nescapture_layer"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# Vulkan bindings
|
|
ash = { git = "https://github.com/ash-rs/ash", rev = "55dd56906bbb5760e9e9e6c56f45be67f67e0649" }
|
|
# Shader fingerprinting
|
|
sha2 = "0.10"
|
|
bytemuck = "1"
|
|
|
|
# Concurrent state maps
|
|
dashmap = "6"
|
|
once_cell = "1"
|
|
pollster = "0.4.0"
|
|
|
|
# Logging
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
anyhow = "1"
|
|
|
|
# Per-game shader-hash config
|
|
toml = "0.8"
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
# Vulkan Video hardware encoding.
|
|
pixelforge = { git = "https://github.com/hgaiser/pixelforge.git", rev = "85c8654d383e194b984e27b319de96e4335e2b4f", features = ["dmabuf"] }
|
|
|
|
# libc for DMA-BUF OS primitives
|
|
libc = "0.2"
|
|
|
|
# Shared IPC protocol
|
|
nesprotocol = { path = "../../crates/nesprotocol" }
|
|
|