thiserror derive across oakundo/oakcommon/oaknode/oaktimeline/oaktask/ oakotio/oakcodec/oakaudio/oakrender/oakplugin/oakengine/oakstorage; Display carries the module prefix and the Failed context, source() stays default except oakotio's #[from] forwarding. code() mappings and variants unchanged; each error.rs gains Display/object-safety/code regression tests.
29 lines
909 B
TOML
29 lines
909 B
TOML
[package]
|
|
name = "oaknode"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Oak Video Editor node graph engine (Rust)"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
[dependencies]
|
|
oakcore-rs = { path = "../oakcore" }
|
|
oakcommon = { path = "../oakcommon" }
|
|
oakundo = { path = "../oakundo" }
|
|
oakcodec = { path = "../oakcodec" }
|
|
thiserror = "2"
|
|
|
|
[features]
|
|
# In-crate stubs for the oakundo C ABI (and other module bridges) so
|
|
# cargo test can exercise the undoable exports end-to-end without the
|
|
# module libraries; real builds (feature off) dlsym the actual modules.
|
|
test-stubs = []
|
|
|
|
[dev-dependencies]
|
|
# oakcodec's oakcore_*/oakrender_* host-mocks (test-stubs feature): the
|
|
# node test binaries link the real oakcodec (footage probe), whose ffmpeg
|
|
# unit references those cross-crate symbols that no Rust crate provides.
|
|
oakcodec = { path = "../oakcodec", features = ["test-stubs"] }
|