// swift-tools-version:5.2
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "CombineBonjour",
    platforms: [
        .iOS(.v13), .tvOS(.v13), .macOS(.v10_15), .watchOS(.v6)
    ],
    products: [
        .library(name: "CombineBonjour", targets: ["CombineBonjour"]),
        .library(name: "CombineBonjourDynamic", type: .dynamic, targets: ["CombineBonjour"]),
    ],
    dependencies: [
        .package(url: "https://github.com/teufelaudio/NetworkExtensions.git", .upToNextMajor(from: "0.1.6"))
    ],
    targets: [
        .target(name: "CombineBonjour", dependencies: ["NetworkExtensions"]),
        .testTarget(name: "CombineBonjourTests", dependencies: ["CombineBonjour", "NetworkExtensions"])
    ]
)
