Skip to content

Add DesignSpaceDocument::load_from_reader#406

Open
cmyr wants to merge 1 commit into
mainfrom
designspace-from-reader
Open

Add DesignSpaceDocument::load_from_reader#406
cmyr wants to merge 1 commit into
mainfrom
designspace-from-reader

Conversation

@cmyr
Copy link
Copy Markdown
Member

@cmyr cmyr commented May 14, 2026

This is specifically to support the no-fs use case (wasm, e.g.)

This is specifically to support the no-fs use case (wasm, e.g.)
@cmyr cmyr force-pushed the designspace-from-reader branch from e05f70b to ab11d0b Compare May 14, 2026 19:42
@cmyr cmyr changed the base branch from a-general-loading-api to main May 14, 2026 19:42
Comment thread src/designspace.rs

/// Load a designspace from a reader.
pub fn load_from_reader(
reader: impl std::io::BufRead,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we constrain on BufRead here, instead of just Read?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants