// swift-tools-version: 5.10 import PackageDescription let package = Package( name: "Images", platforms: [.macOS(.v14), .iOS(.v17)], products: [ .library( name: "Images", targets: ["Images"]), ], dependencies: [ .package(path: "../Core"), .package(path: "../Articles"), .package(path: "../Account"), .package(path: "../AppConfig") ], targets: [ .target( name: "Images", dependencies: [ "Core", "Articles", "Account", "AppConfig" ] // Disabled due to Sendable warnings about RSImage (NSImage). // TODO: check if Swift 6 will allow us to deal with these warnings. // swiftSettings: [ // .enableExperimentalFeature("StrictConcurrency") // ] ), .testTarget( name: "ImagesTests", dependencies: ["Images"]), ] )