openpencil/crates/op-editor-ui/Cargo.toml
Kayshen-X b0b52a7842
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
feat(panels): improve native property controls and icons
2026-05-24 23:30:00 +08:00

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 }