- src/facade/rust -> src/engine/rust; package oakfacade -> oakengine - crate-type += cdylib; module crates are real deps; linkage anchors force-link module C ABIs into the dylib - build.rs: -undefined dynamic_lookup for host-provided oakcore_*/fb_* - nm: 749 oakengine_* + 687 module oak*_* exports; undefined set is only the intended host-provided symbols - worker/cli updated to the new path/name; undo test race fix
54 lines
2.1 KiB
TOML
54 lines
2.1 KiB
TOML
# Oak Video Editor - Non-Linear Video Editor
|
|
# Copyright (C) 2026 Oak Team
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
[package]
|
|
name = "oakapp"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Oak Video Editor application layer (Rust, gpui-based)"
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lib]
|
|
name = "oakapp"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "oakapp"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
# gpui: the GPU-accelerated UI framework (oak-gpui fork, git submodule at gpui/).
|
|
gpui = { path = "../../gpui/crates/gpui" }
|
|
# Convenience entry point: `gpui_platform::application()` picks the platform
|
|
# backend. font-kit enables text shaping/rendering on macOS.
|
|
gpui_platform = { path = "../../gpui/crates/gpui_platform", features = ["font-kit"] }
|
|
# Oak's widget library: menus, viewer, form controls, project explorer.
|
|
gpui_widgets = { path = "../../gpui/crates/gpui_widgets" }
|
|
# The mock engine's synthetic viewer frames (`image::Frame` in a
|
|
# `RenderImage`), matching the versions gpui itself uses.
|
|
image = "0.25"
|
|
smallvec = "1"
|
|
|
|
[dev-dependencies]
|
|
# `#[gpui::test]` harness for engine-seam smoke tests (test-support feature).
|
|
gpui = { path = "../../gpui/crates/gpui", features = ["test-support"] }
|
|
# `test-support` also enables `gpui_macos/test-support`, which is what makes
|
|
# `render_to_image` (the screenshot example) available.
|
|
gpui_platform = { path = "../../gpui/crates/gpui_platform", features = ["test-support"] }
|
|
# Screenshot capture: `examples/screenshot.rs` saves the rendered window PNG
|
|
# (the `image` crate is already in the lockfile through gpui).
|
|
image = "0.25"
|