Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ let package = Package(
.library(name: "HTTPClientConformance", targets: ["HTTPClientConformance"]),
],
traits: [
.trait(name: "SwiftConfiguration"),
.default(enabledTraits: ["SwiftConfiguration"]),
.trait(name: "Configuration"),
.default(enabledTraits: ["Configuration"]),
Comment on lines +28 to +29
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This trait should really not be here since it is just for vending the copied server.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You think the trait should be removed? Could that be done separately from fixing the name?

],
dependencies: [
.package(
Expand Down Expand Up @@ -124,7 +124,7 @@ let package = Package(
.product(
name: "Configuration",
package: "swift-configuration",
condition: .when(traits: ["SwiftConfiguration"])
condition: .when(traits: ["Configuration"])
),
],
swiftSettings: extraSettings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
//===----------------------------------------------------------------------===//

#if SwiftConfiguration
#if Configuration
public import Configuration
import NIOCertificateReloading
import SwiftASN1
Expand Down Expand Up @@ -343,4 +343,4 @@ extension CertificateVerificationMode {
}
}
}
#endif // SwiftConfiguration
#endif // Configuration
Loading