authoravatarclover caruso<git@paperclover.net>2026-10-19 16:32:47-07:00
committeravatarclover caruso<git@paperclover.net>2026-10-19 21:36:57-07:00
log73a0686b3eb03e75b195af5554057fd8a3426f51
treef79311d9df6643f1f0c47cf8fb8c392b62927137
parent6a33e59faf91f545122198920e2d4379d0054e90
signature Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU

fix(canvas): build without the interaction feature

The reading view's inventory, which every build has, names the editor's outlines and page content, but their imports were gated on gpu and interaction, so canvas built only with interaction on. `cargo check -p canvas` and `cargo check -p canvas --features gpu` build again; both still warn about editor methods only interaction calls. Assisted-by: claude-opus-5.5

1 files changed, 1 insertions(+), 6 deletions(-)

crates/canvas/src/reading.rs+1-6
......@@ -9,7 +9,7 @@
99//! it. Text rewraps to the column, pictures shrink to it, and everything else keeps its size.
1010
1111use crate::{
12 editor::{CanvasEditor, EditorError},
12 editor::{CanvasEditor, EditorError, TextOutline, page::Content},
1313 layout::TextEngine,
1414};
1515use onestore::{
......@@ -18,11 +18,6 @@ use onestore::{
1818};
1919use std::{collections::BTreeMap, ops::Range};
2020
21#[cfg(feature = "gpu")]
22use crate::editor::TextOutline;
23#[cfg(feature = "interaction")]
24use crate::editor::page::Content;
25
2621#[cfg(feature = "gpu")]
2722pub(crate) struct Column {
2823 #[cfg(feature = "interaction")]