Skip to content

Commit 3fed354

Browse files
Update Etcetera (#6)
* Fix issues with Swift 6 language mode. * Bump etcetera version to 4.0.0
1 parent 884d7c4 commit 3fed354

3 files changed

Lines changed: 16 additions & 17 deletions

File tree

Package.resolved

Lines changed: 12 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.10
22

33
import PackageDescription
44

@@ -11,13 +11,13 @@ let package = Package(
1111
.library(name: "ImageCache", targets: ["ImageCache"])
1212
],
1313
dependencies: [
14-
.package(url: "https://github.com/jaredsinclair/etcetera", .upToNextMajor(from: "3.0.0"))
14+
.package(url: "https://github.com/jaredsinclair/etcetera", .upToNextMajor(from: "4.0.0"))
1515
],
1616
targets: [
1717
.target(
1818
name: "ImageCache",
1919
dependencies: [
20-
"Etcetera"
20+
.product(name: "Etcetera", package: "Etcetera")
2121
]
2222
// Uncomment to enable complete strict concurrency checking. In a
2323
// future update, it would be handy if this were scriptable in CI:

Sources/ImageCache/Log.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ import Foundation
1010
import os.log
1111
import Etcetera
1212

13-
let Log = OSLog(subsystem: "com.niceboy.ImageCache", category: "Images")
13+
nonisolated(unsafe) let Log = OSLog(subsystem: "com.niceboy.ImageCache", category: "Images")

0 commit comments

Comments
 (0)