fix(domain): the core builds with no feature again: restore_copy (worker import path) behind pdf-read, the layout test sink behind pdf-write; rust-check lints and builds the core alone (the workspace run unified the wasm crate's features and hid it)

This commit is contained in:
bchanot committed 2026-10-20 21:27:04 +02:00
1 parent 9965d7f0a0
commit a17ae45ed1
3 files changed
+7

No files matched your search

+1
View File
@@ -82,6 +82,7 @@ pub fn import_pdf(sheet: &LoadedSheet, bytes: &[u8]) -> String {
/// BOM dropped, then `draft.restore` with no archive, including its OD-3 value budget. The
/// kinds are `draft.restore`'s; a text that is not UTF-8 is `invalid`, as the application
/// already called it (`error_invalid_copy`). Takes the bytes by value: the copy lives once.
#[cfg(feature = "pdf-read")]
pub fn restore_copy(sheet: &LoadedSheet, bytes: Vec<u8>) -> String {
use crate::domain::session::restore_draft;
use crate::ops::{over_value_budget, restore_failure};