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.
26 lines
798 B
TOML
26 lines
798 B
TOML
[package]
|
|
name = "oak-core"
|
|
version.workspace = true
|
|
edition = "2021"
|
|
description = "Rust value types mirroring oakcore (Rational, TimeRange, format enums)"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
crate-type = ["rlib"]
|
|
|
|
[dependencies]
|
|
thiserror = "2.0.20"
|
|
ocio-rs = { version = "0.2", features = ["bundled"] }
|
|
# wgpu: portable GPU backend — same major as oak-render's shaderfx/naga
|
|
# generation (25); the moved backend/color/texture/frame code is written
|
|
# against this API.
|
|
wgpu = "25"
|
|
log = "0.4.34"
|
|
# TOML persistence for the application config (configstore.rs).
|
|
toml = "0.8"
|
|
# XML helpers (xmlutils.rs).
|
|
quick-xml = "0.41.0"
|
|
# Pure-Rust image I/O for oiioutils.rs (TIFF only — the only format current
|
|
# callers need).
|
|
image = { version = "0.25", default-features = false, features = ["tiff"] }
|