mirror of
https://github.com/ZSeven-W/openpencil.git
synced 2026-05-31 19:04:29 +07:00
Some checks failed
Rust check (native) / ubuntu-latest / 1.94 (push) Failing after 2s
Rust check (native) / cargo-deny (native) (push) Failing after 1s
Rust check (native) / diagnostics golden drift (push) Failing after 2s
Rust multi-platform build / linux-x86_64 (push) Failing after 1s
Rust multi-platform build / wasm32-unknown-unknown / op-host-web (compile guard) (push) Failing after 2s
Rust multi-platform build / android-aarch64 (cargo check only) (push) Failing after 2s
Rust multi-platform build / android-x86_64 (cargo check only) (push) Failing after 2s
WASM bundle check (kickoff §1.2) / cargo check --target wasm32-unknown-unknown (push) Failing after 2s
WASM bundle check (kickoff §1.2) / cargo-deny --target wasm32-unknown-unknown check bans (push) Failing after 1s
Rust check (native) / macos-latest / 1.94 (push) Has been cancelled
Rust check (native) / windows-latest / 1.94 (push) Has been cancelled
Rust multi-platform build / linux-aarch64 (push) Has been cancelled
Rust multi-platform build / macos-aarch64 (push) Has been cancelled
Rust multi-platform build / windows-x86_64 (push) Has been cancelled
Rust multi-platform build / macos-x86_64 (push) Has been cancelled
Rust multi-platform build / windows-aarch64 (push) Has been cancelled
Rust multi-platform build / ios-aarch64 (cargo check only) (push) Has been cancelled
Rust multi-platform build / ios-aarch64-sim (cargo check only) (push) Has been cancelled
35 lines
1.3 KiB
TOML
35 lines
1.3 KiB
TOML
[package]
|
|
name = "op-editor-ui"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
description = "OpenPencil editor UI — platform-agnostic widget facade + theme + layout-resolved render scene"
|
|
|
|
[lib]
|
|
name = "op_editor_ui"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# Widget facade internals: glam Vec2 as Point2D, bitflags for flags.
|
|
glam = { version = "0.29", default-features = false, features = ["std"] }
|
|
bitflags = "2"
|
|
# Every Widget exposes an `accesskit::Node` so the host can build a
|
|
# unified accessibility tree. Pinned to 0.24 to match the hosts.
|
|
accesskit = "0.24"
|
|
|
|
# Canonical jian render/gesture types + the .op document schema.
|
|
jian-core = { path = "../../vendor/jian/crates/jian-core", version = "0.0.1" }
|
|
jian-ops-schema = { path = "../../vendor/jian/crates/jian-ops-schema" }
|
|
|
|
# i18n string tables + the canonical editor state model.
|
|
op-i18n = { path = "../op-i18n" }
|
|
op-editor-core = { path = "../op-editor-core" }
|
|
|
|
# Decode `data:image/...;base64,...` URLs in the canvas painter so a
|
|
# pasted / picked image lands on the canvas instead of the grey
|
|
# placeholder. Workspace pinned via the same `base64` op-host-desktop
|
|
# uses for the file picker.
|
|
base64 = "0.22"
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|