Skip to content

Replace vendored resvg with swift-resvg package - #15

Merged
alexey1312 merged 6 commits into
mainfrom
alexey1312/swift-resvg
Dec 20, 2025
Merged

Replace vendored resvg with swift-resvg package#15
alexey1312 merged 6 commits into
mainfrom
alexey1312/swift-resvg

Conversation

@alexey1312

Copy link
Copy Markdown
Collaborator

Description

Migrate from vendored static libraries to the published swift-resvg SPM package with SE-0482 artifact bundles. This removes ~800 lines of vendored code and simplifies dependency management.

  • Replace vendored Libraries/ and Sources/CResvg/, Sources/Resvg/ with swift-resvg 0.45.1 package dependency
  • Update to Swift 6.2.3 toolchain
  • Add .swift-version file for toolchain pinning
  • Improve CI workflows with better SPM caching (include Package.swift in cache key)
  • Add Linux SPM caching for faster CI builds
  • Add mise run clean and mise run clean:all tasks for cache management

alexey1312 and others added 6 commits December 19, 2025 23:42
- Bump swift-tools-version to 6.2
- Add .swift-version file for tooling
- Remove unnecessary await on actor-isolated method
Replace hardcoded Xcode paths and manual Swift version selection with vapor/swiftly-action for consistent Swift 6.2.3 toolchain across macOS workflows. Update Linux container to swift:6.2.
Add Package.swift to cache key for better invalidation when
dependencies change. Add SPM cache step to Linux build job.
Add mise tasks for cleaning build artifacts and all caches.
@alexey1312
alexey1312 merged commit 5768962 into main Dec 20, 2025
3 checks passed
@alexey1312
alexey1312 deleted the alexey1312/swift-resvg branch December 20, 2025 08:24
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