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

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

Package.resolved

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
2-
"object": {
3-
"pins": [
4-
{
5-
"package": "Etcetera",
6-
"repositoryURL": "https://github.com/jaredsinclair/etcetera",
7-
"state": {
8-
"branch": null,
9-
"revision": "3dc4efd2d72bc6bb857c0d7d801e913935ce325c",
10-
"version": "3.0.0"
11-
}
2+
"originHash" : "5b11a844fdcecbd183317890ddae25374d46e76c0327f7544b01856b435db43d",
3+
"pins" : [
4+
{
5+
"identity" : "etcetera",
6+
"kind" : "remoteSourceControl",
7+
"location" : "https://github.com/jaredsinclair/etcetera",
8+
"state" : {
9+
"revision" : "cb91e24c097f5e252aa13773b0f926fc7e03bbcb",
10+
"version" : "4.0.0"
1211
}
13-
]
14-
},
15-
"version": 1
12+
}
13+
],
14+
"version" : 3
1615
}

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)