[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).