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.
32 lines
1.2 KiB
TOML
32 lines
1.2 KiB
TOML
[package]
|
|
name = "oak-codec"
|
|
version.workspace = true
|
|
edition = "2021"
|
|
description = "Oak Video Editor media codec module (Rust)"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
[dependencies]
|
|
oak-common = { path = "../oak-common" }
|
|
oak-ffmpeg-link = { path = "../oak-ffmpeg-link" }
|
|
oak-core = { path = "../oak-core" }
|
|
# Real media decode/encode. The C++ ffmpeg_bridge library existed only to
|
|
# absorb FFmpeg API churn; the Rust crate calls ffmpeg-next directly.
|
|
#
|
|
# ffmpeg-next 9.x pairs with FFmpeg 8.x headers, which most distros do
|
|
# not ship yet — build a matching GPL FFmpeg (all free-license codecs +
|
|
# per-OS hardware acceleration, static+PIC) with
|
|
# tooling/ffmpeg/build-ffmpeg.sh and point cargo at it via FFMPEG_DIR
|
|
# (see docs/build.md). The `static` feature makes the linker prefer the
|
|
# archives.
|
|
#
|
|
# ffmpeg-next's own `build` feature is NOT usable: it clones
|
|
# release/<crate-version>, and every such pairing is broken upstream
|
|
# (9.0.0 -> FFmpeg 9.0 removed AVCodec fields; 8.1.0 -> FFmpeg 8.1 added
|
|
# enum variants; 8.0.0 -> FFmpeg 8.0 renamed FF_PROFILE_*).
|
|
ffmpeg-next = { version = "9.0", features = ["static"] }
|
|
# `std::error::Error` impls for the crate-internal error enum.
|
|
thiserror = "2"
|