Skip to content

Commit 4f5e784

Browse files
doozMenclaude
authored andcommitted
refactor: Remove unused swift-perception dependency, target macOS 15+ only (#1)
- Remove `import Perception` from FetchSubscription.swift (was unused) - Add explicit `import ConcurrencyExtras` for LockIsolated - Remove swift-perception package dependency from Package.swift - Update platforms to macOS 15+ only (drop iOS/tvOS/watchOS) - Update Package@swift-6.0.swift similarly The Perception import was never actually used - the file only uses LockIsolated (from ConcurrencyExtras) and SharedReader (from Sharing). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent db999ac commit 4f5e784

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

Package.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "sqlite-data",
77
platforms: [
8-
.iOS(.v13),
9-
.macOS(.v10_15),
10-
.tvOS(.v13),
11-
.watchOS(.v7),
8+
.macOS(.v15),
129
],
1310
products: [
1411
.library(

Package@swift-6.0.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ import PackageDescription
55
let package = Package(
66
name: "sqlite-data",
77
platforms: [
8-
.iOS(.v13),
9-
.macOS(.v10_15),
10-
.tvOS(.v13),
11-
.watchOS(.v7),
8+
.macOS(.v15),
129
],
1310
products: [
1411
.library(

Sources/SQLiteData/FetchSubscription.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Perception
1+
import ConcurrencyExtras
22
import Sharing
33

44
/// A subscription associated with `@FetchAll`, `@FetchOne`, and `@Fetch` observation.

0 commit comments

Comments
 (0)