openpencil/crates/op-pen-loader/Cargo.toml
Kayshen-X 8733f45e2d refactor(rust): dissolve openpencil-shell-core re-export shim
Phase 7.3 strangler reorg — the final consumer (op-pen-loader) is
repointed off the openpencil-shell-core shim onto op-editor-ui (the
real source crate for the layout scene / scene-var / render-backend
facade), then the shim crate is deleted.

- op-pen-loader: openpencil-shell-core dep -> op-editor-ui;
  every openpencil_shell_core:: path -> op_editor_ui::
- git rm crates/openpencil-shell-core/ (lib + jian.rs module + the
  two re-export anchor tests, all superseded by op-editor-ui's own
  surface; the jian.rs module had no consumers outside the shim)
- stale shell-core / shell-native comment refs in op-editor-core +
  op-host-desktop manifests updated
2026-05-16 23:54:33 +08:00

32 lines
1.5 KiB
TOML

[package]
name = "op-pen-loader"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "Canonical .op (PenDocument) → shell Document loader / adapter"
[dependencies]
# Canonical `.op` / `.pen` schema — the `PenDocument` this crate
# converts from.
jian-ops-schema = { path = "../../vendor/jian/crates/jian-ops-schema" }
# jian-core ships the taffy-backed `LayoutEngine` — the canonical
# flex solver for `.op` files.
jian-core = { path = "../../vendor/jian/crates/jian-core" }
# jian-skia ships `SkiaMeasure` — a real skia paragraph-shaper
# `MeasureBackend` plugged into the layout engine. Desktop-side, so
# depending on skia is fine; this crate does NOT need to be wasm-clean.
jian-skia = { path = "../../vendor/jian/crates/jian-skia", features = ["textlayout"] }
# Phase 7.3 reorg: openpencil-shell-core dissolved. The layout scene /
# scene-var / render-backend facade this crate converts INTO now
# resolves through the op-editor-ui crate.
op-editor-ui = { path = "../op-editor-ui" }
# `EditorState` — the canonical editor-state superset this crate
# derives a paint-only `Document` (incl. its `var_table`) FROM. Lives
# in op-pen-loader, NOT op-editor-core, so op-editor-core stays free of
# any shell-core (`VariableTable`) dependency and wasm-clean.
op-editor-core = { path = "../op-editor-core" }
# Payload DTOs round-trip through serde JSON.
serde = { workspace = true }
serde_json = { workspace = true }