Single mechanical restructure commit: - root Cargo.toml = oakapp bin + workspace; one cargo build produces oakapp, oak-cli, oak-worker, liboakengine.dylib - app/rust/src -> src/ (app at repo root, no rust/ nesting) - src/<mod>/rust -> crates/oak<mod>; src/oakcore-rs -> crates/oakcore; src/bindings/oakotio -> crates/oakotio; src/engine/rust -> crates/oakengine (keeps cdylib+staticlib+rlib) - public C headers include/<mod>/ -> crates/oakengine/include/<mod>/ - OFX SDK headers vendored into crates/oakplugin/ofx/ (HostSupport gone) - legacy deleted: old src/ C++ modules, engine/, core/, ffmpeg_bridge/, app/ (Qt), cli/worker C++, root CMakeLists, third_party/KDDockWidgets submodule, otio-install, all build-* output (~40GB) - oakstorage kept but excluded from the workspace (skeleton w/ todos); gpui excluded (own workspace) - verified: cargo build green, cargo test --workspace 1845/0 (with the documented OCIO_RS_* env override for the homebrew OCIO)
28 lines
893 B
TOML
28 lines
893 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" }
|
|
|
|
[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"] }
|