// swift-tools-version: 6.0
import PackageDescription

let package = Package(
    name: "VNCCore",
    platforms: [.iOS(.v18), .macOS(.v14)],
    products: [
        .library(name: "VNCCore", targets: ["VNCCore"])
    ],
    dependencies: [
        .package(url: "https://github.com/royalapplications/royalvnc.git", branch: "main")
    ],
    targets: [
        .target(
            name: "VNCCore",
            dependencies: [
                .product(name: "RoyalVNCKit", package: "royalvnc")
            ]
        ),
        .testTarget(
            name: "VNCCoreTests",
            dependencies: ["VNCCore"]
        )
    ],
    swiftLanguageModes: [.v6]
)
