Files
oak-editor/crates/oak-task/Cargo.toml
T
Mike-Solar 244d5e860f
CI / Build & test (Windows) (push) Failing after 7s
workspace: kebab-case crates, app under crates/oak-app, shared versions
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.
2026-08-22 16:58:37 +08:00

41 lines
1.6 KiB
TOML

[package]
name = "oak-task"
version.workspace = true
edition = "2021"
description = "Oak Video Editor task execution module (Rust)"
license = "GPL-3.0-or-later"
[lib]
crate-type = ["staticlib", "rlib"]
[features]
# Historical marker feature (single-lib unification). The stub-based render
# integration test it selected (`tests/render_real_integration_test.rs`,
# which linked the real oakrender ticket arena against oaktask's deleted
# bridge::render C ABI declarations) was removed together with the C ABI
# layer. The flag is retained so older `cargo test` invocations keep
# parsing; it has no effect today.
real-oakrender = []
[dependencies]
oak-core = { path = "../oak-core" }
oak-undo = { path = "../oak-undo" }
oak-common = { path = "../oak-common" }
oak-codec = { path = "../oak-codec" }
oak-node = { path = "../oak-node" }
# Pure-Rust OpenTimelineIO JSON binding (serde model of the OTIO JSON format
# covering exactly the object graph the C++ loadotio/saveotio tasks use).
# Registered in README decision #6: OTIO no longer stays on the C++ side —
# LoadOTIOTask/SaveOTIOTask parse/serialize through this crate.
oak-otio = { path = "../oak-otio" }
# oakrender is a regular path dependency (single-lib: the direct ticket
# arena in `oakrender::ticket` will back the render loop once the
# CHandle-based loop is rewired; until then `src/stubs.rs` stands in for
# the deleted ticket C ABI). The `real-oakrender` marker feature keeps the
# old render-real integration test's cargo invocation parsing (see above).
oak-render = { path = "../oak-render" }
# Error trait derive for the crate-internal error enum.
thiserror = "2"