Phase 1 batch 3 implementer found 1.80 incompatible with current crates.io ecosystem: parley → fontique → litemap 0.7.5 needs 1.81; accesskit chain → indexmap 2.14 → hashbrown 0.17 needs edition2024 (1.85); skia-safe 0.75+ → home 0.5.12 needs 1.88. 1.82 is the sweet spot that fixes litemap (and matches what Task 0.4 actually probed with — 1.95). shell-native dep set deviation (winit only, skia-safe + accesskit deferred to Step 1 kill-spike when actually used) is documented in the Phase 1 review trail. compile_error guard for wasm32 still fires correctly — the load-bearing §1.2 invariant is satisfied.
30 lines
1,023 B
TOML
30 lines
1,023 B
TOML
[workspace]
|
||
resolver = "2"
|
||
# 用 glob 而非显式列表:Step 0 增量创建 crate 时不需要每次改 members(per implementer
|
||
# Phase 1 batch 2 的 workspace masking 反馈:列出未存在的 crate 会让 `cargo build -p X`
|
||
# 在 resolve 阶段就挂掉)。glob 自动包含 crates/ 下所有 manifest,自然支持增量创建。
|
||
members = ["crates/*"]
|
||
exclude = [
|
||
"vendor/agent",
|
||
"node_modules",
|
||
]
|
||
|
||
[workspace.package]
|
||
version = "0.1.0"
|
||
edition = "2021"
|
||
rust-version = "1.82"
|
||
license = "MIT"
|
||
authors = ["ZSeven-W <fini.yang@gmail.com>"]
|
||
repository = "https://github.com/ZSeven-W/openpencil"
|
||
|
||
[workspace.dependencies]
|
||
serde = { version = "1", features = ["derive"] }
|
||
serde_json = "1"
|
||
thiserror = "1"
|
||
anyhow = "1"
|
||
tracing = "0.1"
|
||
|
||
# WASM 边界相关(per kickoff §1.2 黑名单 = 不出现在这里)
|
||
# 故意不在 workspace.dependencies 暴露 tokio / reqwest / agent / pen-agent-cli /
|
||
# pen-server / native-tls —— 这些只在 native-only crate 内部用 dev-deps 或 target-specific deps。
|