// swift-tools-version:5.9 // // Deliberately pinned to tools 5.9 / Swift 5 language mode. Under Swift 6's // strict concurrency checking, the static mutable state in HotKey's hot key // registry and Preferences.shared become hard errors, and the @convention(c) // Carbon event handler's access to that registry becomes an actor-isolation // error. Migrating means marking HotKey @MainActor plus nonisolated(unsafe) // on the registry, or moving it behind a lock. import PackageDescription let package = Package( name: "Wakeful", platforms: [ .macOS(.v13) ], targets: [ .executableTarget( name: "Wakeful", path: "Sources/Wakeful" ) ] )