From 3ef6ae26c324a2c17f6fdf9d55782c721a321fa0 Mon Sep 17 00:00:00 2001 From: Brandon Sneed Date: Wed, 25 Oct 2023 13:08:51 -0700 Subject: [PATCH] Update package.swift for swift 5.9 --- Package.swift | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Package.swift b/Package.swift index c280e640..f85ae285 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -20,18 +20,16 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), - .package( - name: "Sovran", - url: "https://github.com/segmentio/Sovran-Swift.git", - from: "1.1.0" - ) + .package(url: "https://github.com/segmentio/sovran-swift.git", from: "1.1.0") ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "Segment", - dependencies: ["Sovran"]), + dependencies: [ + .product(name: "Sovran", package: "sovran-swift") + ]), .testTarget( name: "Segment-Tests", dependencies: ["Segment"]),