IceCubes/Packages/Network/Package.swift

38 lines
760 B
Swift

// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Network",
defaultLocalization: "en",
platforms: [
.iOS(.v17),
.visionOS(.v1),
],
products: [
.library(
name: "Network",
targets: ["Network"]
),
],
dependencies: [
.package(name: "Models", path: "../Models"),
],
targets: [
.target(
name: "Network",
dependencies: [
.product(name: "Models", package: "Models"),
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency"),
]
),
.testTarget(
name: "NetworkTests",
dependencies: ["Network"]
),
]
)