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: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ let package = Package(
),
]
)

for target in package.targets {
var settings = target.swiftSettings ?? []
settings.append(.enableExperimentalFeature("StrictConcurrency=complete"))
target.swiftSettings = settings
}
2 changes: 1 addition & 1 deletion Sources/StructuredFieldValues/StructuredFieldValue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public protocol StructuredFieldValue: Codable {
}

/// The kinds of header fields used in HTTP Structured Headers.
public enum StructuredFieldType {
public enum StructuredFieldType: Sendable {
/// An item field consists of a single item, optionally with parameters.
case item

Expand Down
3 changes: 2 additions & 1 deletion Sources/sh-parser/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ struct Flags {
init() {
// Default to item
self.headerType = .item
let arguments = ProcessInfo.processInfo.arguments

for argument in CommandLine.arguments.dropFirst() {
for argument in arguments.dropFirst() {
switch argument {
case "--dictionary":
self.headerType = .dictionary
Expand Down
Loading