CI / Build & test (Windows) (push) Failing after 7s
All crates take the oak-* kebab-case naming (oak-audio, oak-codec, oak-common, oak-core, oak-ffmpeg-link, oak-node, oak-otio, oak-plugin, oak-render, oak-storage, oak-task, oak-timeline, oak-undo), with the lib identifiers rewritten (oakrender:: -> oak_render::, oakcore_rs:: -> oak_core::, ...) across all 226 referencing files. The GUI application moves from the workspace root into crates/oak-app/: src/, build.rs (paths fixed for the new location) and tests/ travel with it, the root Cargo.toml becomes workspace-only ([workspace] + workspace.package + profiles), and the app package inherits the workspace version. The screenshots example becomes a standalone crate examples/simple_player/ with its own Cargo.toml. Every crate now inherits the single workspace version (version.workspace = true), and the workflows' crate paths and the build docs follow the renames. Validated with a clean cargo check --workspace.
35 lines
1.4 KiB
TOML
35 lines
1.4 KiB
TOML
[package]
|
||
name = "oak-plugin"
|
||
version.workspace = true
|
||
edition = "2021"
|
||
description = "Oak Video Editor plugin module: self-contained OFX host and plugin bridge (Rust)"
|
||
license = "GPL-3.0-or-later"
|
||
|
||
# staticlib: linked into liboakplugin by CMake (see M11 §3.3).
|
||
# cdylib is NOT used: the module dylib stays a CMake target so the
|
||
# standalone-tree wiring (rpath, force_load, tests) is unchanged.
|
||
[lib]
|
||
crate-type = ["staticlib", "rlib"]
|
||
|
||
[dependencies]
|
||
# 共享 ABI 类型(CHandle 等,单库化统一,见 docs/zh/plans/riir/single-lib.md)。
|
||
# 模块桥改直接 Rust 调用(单库化,见 docs/zh/plans/riir/single-lib.md);
|
||
# 只允许零依赖起步。确需引入的 crate 必须在 README 登记理由。
|
||
oak-core = { path = "../oak-core" }
|
||
oak-undo = { path = "../oak-undo" }
|
||
oak-node = { path = "../oak-node" }
|
||
oak-render = { path = "../oak-render" }
|
||
# Error derive(Display + std::error::Error,见 src/error.rs);理由已登记 README。
|
||
thiserror = "2"
|
||
|
||
[features]
|
||
# 历史 feature(原桥测试桩开关):单库化后 oaknode/oakrender/oakundo
|
||
# 以 path 依赖直连,句柄式调用面改为本地桩(见 src/node.rs /
|
||
# src/render.rs 的 `// STUB` 标记),本 feature 无 cfg 使用点——
|
||
# 保留以避免工作区/构建脚本 `--features test-stubs` 断裂。
|
||
test-stubs = []
|
||
|
||
[build-dependencies]
|
||
# C shim 编译(message suite 的 variadic 入口);理由已登记 README。
|
||
cc = "1"
|