Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Make SVG support optional in library #249

Merged
merged 5 commits into from
Apr 15, 2023
Merged

Make SVG support optional in library #249

merged 5 commits into from
Apr 15, 2023

Conversation

swsnr
Copy link
Owner

@swsnr swsnr commented Apr 14, 2023

  • Move svg to resources module
  • Refactor inline image writing
  • Guard SVG rendering behind SVG feature

swsnr added 2 commits April 14, 2023 16:09
Introduce an InlineImageProtocol trait which abstracts writing an inline
image from a resource URL.  Move all image related code into the
corresponding implementations.

This significantly reduces the dispatch code for inline images, and
provides an isolated place where we can stub out image handling.
@swsnr swsnr force-pushed the optional-svg-support branch 4 times, most recently from 3f2750c to 313baab Compare April 14, 2023 17:13
@swsnr swsnr force-pushed the optional-svg-support branch 4 times, most recently from e3b54e1 to d21d44d Compare April 14, 2023 19:59
@swsnr swsnr force-pushed the optional-svg-support branch from d21d44d to 26ad991 Compare April 14, 2023 20:01
@swsnr swsnr marked this pull request as ready for review April 14, 2023 20:22
Use less jobs for Rust; only split up by target, and then run everything
as steps inside the job.

This means we have to mark much less workflows as required status
checks, and have a much smaller actions view.
@swsnr swsnr force-pushed the optional-svg-support branch from 2a739e6 to e80ff6c Compare April 15, 2023 07:11
@swsnr swsnr merged commit e80ff6c into main Apr 15, 2023
@swsnr swsnr deleted the optional-svg-support branch April 15, 2023 07:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant