Skip to content

Support standard streams in Resources#657

Merged
JD557 merged 4 commits into
masterfrom
std-resources
Mar 22, 2026
Merged

Support standard streams in Resources#657
JD557 merged 4 commits into
masterfrom
std-resources

Conversation

@JD557
Copy link
Copy Markdown
Owner

@JD557 JD557 commented Mar 22, 2026

Allow reading/writing resources from/to stdin/stdout.

Stdin obviously doesn't work on Scala.js, but this should be good enough.

This might seem useless, but it's actually helpful for things like the Image helpers, which expect a Resource. This is fine for the normal use cases, but in some situations you might want to read/write images using the standard streams.

This change is not binary compatible, but should be source compatible.

@JD557 JD557 merged commit e5d4fcc into master Mar 22, 2026
14 checks passed
@JD557 JD557 deleted the std-resources branch March 22, 2026 12:18
@JD557 JD557 mentioned this pull request Mar 22, 2026
@JD557 JD557 added this to the 0.6.6 milestone Mar 22, 2026
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.

1 participant