Files
oak-editor/crates/oakrender/Cargo.toml
T
Mike-Solar 4240df1d71 refactor(crates): implement std::error::Error for all module error enums
thiserror derive across oakundo/oakcommon/oaknode/oaktimeline/oaktask/
oakotio/oakcodec/oakaudio/oakrender/oakplugin/oakengine/oakstorage;
Display carries the module prefix and the Failed context, source()
stays default except oakotio's #[from] forwarding. code() mappings and
variants unchanged; each error.rs gains Display/object-safety/code
regression tests.
2026-08-14 05:45:05 +08:00

37 lines
1.5 KiB
TOML

[package]
name = "oakrender"
version = "0.1.0"
edition = "2021"
description = "Oak Video Editor render engine (Rust)"
license = "GPL-3.0-or-later"
[lib]
crate-type = ["staticlib", "rlib"]
[dependencies]
oakcore-rs = { path = "../oakcore" }
oakcommon = { path = "../oakcommon" }
# Direct Rust calls (single-lib unification): the decode bridge calls
# oakcodec's ffi, the node bridge calls oaknode's ffi. Both directions
# are acyclic (oakcodec → oakcore-rs/oakffmpeg-link; oaknode → oakcodec).
oakcodec = { path = "../oakcodec" }
oaknode = { path = "../oaknode" }
# wgpu: portable GPU backend (Metal/Vulkan/GL/DX12 in one safe API) — the
# direct replacement for the C++ liboakgl2/liboakvulkan backend plugins.
# Version 25 (2025 stable line); the only GPU dependency.
wgpu = "25"
# ocio-rs: safe Rust bindings for OpenColorIO v2.5.2 — the ColorProcessor
# implementation; OCIO is never rewritten. The `bundled` feature compiles
# the vendored OpenColorIO C++ sources (cmake/ninja required); without it
# ocio-sys builds a stub (all color tests then early-return).
ocio-rs = { version = "0.2", features = ["bundled"] }
# `std::error::Error` impls for the crate-internal error enum.
thiserror = "2"
[dev-dependencies]
# Test binaries that pull oakcodec's decoder (the direct-call bridge) link
# oakcodec's ffmpeg unit, which references the host `oakcore_audioparams_*`
# symbols no Rust crate provides — the `test-stubs` feature compiles
# oakcodec's host-mocks (same pattern as oaknode's dev-dependencies).
oakcodec = { path = "../oakcodec", features = ["test-stubs"] }