Files
oak-editor/crates/oak-storage/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

44 lines
2.0 KiB
TOML

[package]
name = "oak-storage"
version.workspace = true
edition = "2021"
description = "Oak Video Editor project persistence (Rust)"
license = "GPL-3.0-or-later"
[lib]
crate-type = ["staticlib", "rlib"]
[dependencies]
oak-core = { path = "../oak-core" }
oak-common = { path = "../oak-common" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
# Timestamp columns in the database schema (plan M13 §1: TIMESTAMP NOT
# NULL). sea-orm maps chrono NaiveDateTime via its default with-chrono
# feature; the direct dependency is needed for the entity field types.
chrono = "0.4"
# Error derive (Display + std::error::Error) for the crate error enum
# (src/error.rs). Same major version the other modules use (oakotio, ...).
thiserror = "2"
# The node graph engine: project + serializer families power the ove-xml
# backend; the sequence/track/block model powers the otio interchange
# (see src/bridge/node.rs — direct Rust calls, single-lib unification).
oak-node = { path = "../oak-node" }
# Native OTIO JSON model (project-local; see src/bindings/oakotio).
oak-otio = { path = "../oak-otio" }
# Database backends via SeaORM (sync facade: a private current-thread
# runtime drives the async API behind the synchronous C ABI; see
# backends/database.rs). sqlx-postgres + sqlx-sqlite cover PG/SQLite.
sea-orm = { version = "2", features = ["sqlx-postgres", "sqlx-sqlite", "runtime-tokio"] }
tokio = { version = "1", features = ["rt", "macros"] }
# The write-through session manager (src/writethrough.rs) subscribes to
# the oakundo process-wide undo stack's command-success observers, so a
# recorded command immediately journals every bound project (M14 R1: the
# former facade-side binding/snapshot/flush logic, now module-owned).
oak-undo = { path = "../oak-undo" }
[dev-dependencies]
# oakcodec is also reachable through oaknode; the dev-dependency re-entry
# used to enable oakcodec's `test-stubs` host-mocks, which no longer exist
# (single-lib unification removed the oakcore_audioparams_* C ABI calls).