// swift-tools-version: 6.0 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "Models", defaultLocalization: "en", platforms: [ .iOS(.v17), .visionOS(.v1), ], products: [ .library( name: "Models", targets: ["Models"] ), ], dependencies: [ .package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.4.3"), ], targets: [ .target( name: "Models", dependencies: [ "SwiftSoup", ], swiftSettings: [ .swiftLanguageMode(.v6), ] ), .testTarget( name: "ModelsTests", dependencies: ["Models"] ), ] )