From 3fbc48fe081b662e58de2fd52ce42d5dd615bff8 Mon Sep 17 00:00:00 2001 From: Brandon Sneed Date: Thu, 16 Nov 2023 10:48:22 -0800 Subject: [PATCH] Update package.swift for swift 5.7 (#261) * Update package.swift for swift 5.9 * Moved to 5.7 due to github update backlog. --- Package.swift | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Package.swift b/Package.swift index c280e640..0e8c51ab 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.3 +// swift-tools-version:5.7 // 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"]),