Closed JoeMatt closed 1 week ago
Thank you for your interest in this project and your willingness to contribute. Unfortunately, I will not be accepting this PR for many reasons. Some of these reasons include:
Sendable
conformances in general and for this limited set of types in particular.Codable
conformances.#if os(macOS)
line in the Package.swift
file.Take it or leave it. I needed codbale and sendable in my project to send zip status's around.
You could always make two package.swift's for 5.9 and 6.0 etc.
The ifdef's were needed because if you just open the package.swift and run tests or build against iOS it will fail in the default selection of "build package".
It's a good starting point if you ever decide you need / want these features. I'll stick to my fork I guess. Good luck.
Add Swift 6 support, plus sendable and codable to most datatypes.
Changes:
Process
which is not available on iOSPackage.swift
ZipEntryInfo
with the caveat that[ZipExtraField]
is skipped over.Issues:
ZipExtraField protocol not encodable. Either a need concrete types, another workaround or a way to regenerate.