2026-05-16 06:32:53 +00:00
|
|
|
[package]
|
|
|
|
|
name = "op-editor-core"
|
|
|
|
|
version.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
description = "OpenPencil editor state — selection/tool/history/viewport on jian PenDocument"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
jian-ops-schema = { path = "../../vendor/jian/crates/jian-ops-schema" }
|
|
|
|
|
jian-core = { path = "../../vendor/jian/crates/jian-core" }
|
2026-05-16 06:36:09 +00:00
|
|
|
|
2026-05-16 09:47:53 +00:00
|
|
|
# Locale enum for the chrome UI state (ui_chrome.rs). op-i18n is
|
|
|
|
|
# dependency-free + wasm32-clean, so it doesn't compromise the
|
|
|
|
|
# wasm-clean invariant of op-editor-core.
|
|
|
|
|
op-i18n = { path = "../op-i18n" }
|
|
|
|
|
|
2026-05-17 14:44:28 +00:00
|
|
|
# Chat-request data shapes (ThinkingMode / EffortLevel / ChatAttachment)
|
|
|
|
|
# the chat sub-state carries. op-ai is dependency-free + wasm32-clean
|
|
|
|
|
# and never imports op-editor-core, so this edge is acyclic + safe.
|
|
|
|
|
op-ai = { path = "../op-ai" }
|
|
|
|
|
|
2026-05-16 06:36:09 +00:00
|
|
|
# render_backend.rs uses glam::Vec2 as Point2D (spec §5.2). Pinned to the
|
2026-05-16 15:54:33 +00:00
|
|
|
# same version op-editor-ui uses so both crates resolve one glam.
|
2026-05-16 06:36:09 +00:00
|
|
|
glam = { version = "0.29", default-features = false, features = ["std"] }
|