Skip to content

Commit

Permalink
Merge pull request #4 from MahdiBM/mmbm-remove-existential-any
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Jul 29, 2023
2 parents 861f3af + 36b4420 commit d4b35e6
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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
]
),
]
)

0 comments on commit d4b35e6

Please sign in to comment.