Files
oak-editor/crates/oak-task/Cargo.toml
T
Mike-Solar 4babbf5de8
CI / Build & test (Linux) (push) Successful in 24m6s
CI / Build & test (Windows) (push) Successful in 31m14s
core: merge oak-common into oak-core
oak-common is gone; its modules (configstore, xmlutils, ocioutils,
oiioutils, colormath, colortransform, videoparams, ffmpegutils, ...)
now live in oak-core alongside the value types. The render value/GPU
types moved too: backend (wgpu context + DisplayRenderer), color
(ColorProcessor over ocio-rs), texture, frame, and the commonutil
config helpers.

Fix-ups to make the merged tree build and pass tests:

- oak-core Cargo.toml: wgpu back to 25 (the moved backend code is
  written against that API generation); add the toml/quick-xml/image
  deps oak-common carried.
- lib.rs: drop the duplicate 'pub mod error;'.
- error.rs: unified OAKCORE_* codes; restore Error::new() and
  From<OcioError> from oak-common's error type.
- backend.rs/color.rs: oak_core::/oak_render:: self-references
  rewritten to crate::; the shaderfx-dependent GPU effect test moved
  to oak-render's shaderfx tests (shaderfx depends on oak-node and
  cannot live in oak-core).
- oak-render's error module re-exports oak_core::error::{Error,
  Result}; the OAKRENDER_* codes stay as the public-code contract.
- oak-node jobs.rs: ColorProcessor imported from oak_core::color.
- Integration tests repointed at oak_core::{texture, frame, backend,
  color, colormath}.
- the display-ICC regression test treats an empty OAK_DISPLAY_ICC as
  unset, matching displayicc::env_override_icc.
2026-09-03 17:42:20 +08:00

40 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-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"