From 36b4420974abb3271bf07cc57d398c26c0077192 Mon Sep 17 00:00:00 2001 From: Mahdi Bahrami Date: Thu, 20 Jul 2023 11:38:25 +0330 Subject: [PATCH] Revert "Merge pull request #3 from MahdiBM/mmbm-existential-any" This reverts commit 861f3afe0eaca96118d3f987706d8cb7a1254935, reversing changes made to e621e157e028cd305cb6ad8accea61a8424fea8f. --- Package.swift | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Package.swift b/Package.swift index 7968762..8b9f3cc 100644 --- a/Package.swift +++ b/Package.swift @@ -3,12 +3,6 @@ import PackageDescription -let swiftSettings: [SwiftSetting] = [ - // https://github.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md - // Require `any` for existential types. - .enableUpcomingFeature("ExistentialAny") -] - let package = Package( name: "swift-openapi-hummingbird", platforms: [ @@ -27,16 +21,14 @@ let package = Package( dependencies: [ .product(name: "Hummingbird", package: "hummingbird"), .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"), - ], - swiftSettings: swiftSettings + ] ), .testTarget( name: "OpenAPIHummingbirdTests", dependencies: [ "OpenAPIHummingbird", .product(name: "HummingbirdXCT", package: "hummingbird"), - ], - swiftSettings: swiftSettings + ] ), ] )