Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 6.1
import PackageDescription

let package = Package(
Expand Down
3 changes: 2 additions & 1 deletion Sources/SkipZip/MiniZipLibrary.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Copyright 2023–2026 Skip
// SPDX-License-Identifier: MPL-2.0
import Foundation
import SkipFFI
Expand Down Expand Up @@ -183,7 +184,7 @@ extension unz_file_info64 : ZipEntryInfo {


/// `MiniZipLibrary` is a Swift encapsulation of the MiniZip library
internal final class MiniZipLibrary {
internal final class MiniZipLibrary: Sendable {
/// The singleton library instance, registered using JNA to map the Kotlin functions to their native equivalents
static let instance = registerNatives(MiniZipLibrary(), frameworkName: "SkipZip", libraryName: "minizip")

Expand Down
3 changes: 3 additions & 0 deletions Sources/SkipZip/RemoteZipReader.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright 2023–2026 Skip
// SPDX-License-Identifier: MPL-2.0
import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
#if !SKIP
import MiniZip
#endif
Expand Down
3 changes: 3 additions & 0 deletions Tests/SkipZipTests/RemoteZipReaderTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// SPDX-License-Identifier: MPL-2.0
import XCTest
import Foundation
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
@testable import SkipZip

#if !SKIP
Expand Down