254 warnings (320 counting replayed-cache re-emitters) cleaned: unused mut/imports/variables, irrefutable if-lets and unreachable patterns, dead code removed or annotated #[allow(dead_code)] with the reason (C++ parity value sets, cfg(test) helpers, public API reservations), drop(&ref) no-ops removed, fn-pointer identity via std::ptr::fn_addr_eq, the test-stubs feature declared in oak-node's manifest, missing docs filled. Every unused-Result site was judged individually: meaningful errors propagate, intentional ignores are let _ = with a note. Two pre-existing latent bugs are documented in place, behavior preserved: app.rs's timeline-tool observer and dialogs.rs's format subscription both drop the returned Subscription immediately, so they never fire.
27 lines
828 B
TOML
27 lines
828 B
TOML
[package]
|
|
name = "oak-node"
|
|
version.workspace = true
|
|
edition = "2021"
|
|
description = "Oak Video Editor node graph engine (Rust)"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
[dependencies]
|
|
oak-core = { path = "../oak-core" }
|
|
oak-undo = { path = "../oak-undo" }
|
|
oak-codec = { path = "../oak-codec" }
|
|
thiserror = "2"
|
|
|
|
[features]
|
|
# Declared so tests can gate on it; nothing in this crate enables it.
|
|
# It used to pull in the oakcodec host-mocks, which no longer exist (the
|
|
# single-lib unification removed the oakcore_*/oakrender_* C ABI calls).
|
|
test-stubs = []
|
|
|
|
[dev-dependencies]
|
|
# oakcodec is also a plain dependency above; the dev-dependency re-entry
|
|
# used to enable oakcodec's `test-stubs` host-mocks, which no longer exist
|
|
# (single-lib unification removed the oakcore_*/oakrender_* C ABI calls).
|