- oakundo::global: the process-global undo stack, grouping and a command observer API; facade undo.rs becomes a thin forwarder - oakstorage::writethrough: the binding table, snapshot thread, flush and config resolution; it subscribes to oakundo's observer itself - the remaining non-forwarding facade logic (TaskMeta, effect chains, timeline composites, RendererBox, exporter path) is documented as facade-owned with reasons - facade exports unchanged; full suite stays green (the one render_manager_not_initialized failure is pre-existing on the base commit)
44 lines
2.0 KiB
TOML
44 lines
2.0 KiB
TOML
[package]
|
|
name = "oakstorage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Oak Video Editor project persistence (Rust)"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
[dependencies]
|
|
oakcore-rs = { path = "../oakcore" }
|
|
oakcommon = { path = "../oakcommon" }
|
|
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).
|
|
oaknode = { path = "../oaknode" }
|
|
# Native OTIO JSON model (project-local; see src/bindings/oakotio).
|
|
oakotio = { path = "../oakotio" }
|
|
# 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).
|
|
oakundo = { path = "../oakundo" }
|
|
|
|
[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).
|