File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,11 @@ let package = Package(
3939 // Targets can depend on other targets in this package and products from dependencies.
4040 . target(
4141 name: " MCP " ,
42- dependencies: targetDependencies) ,
42+ dependencies: targetDependencies,
43+ swiftSettings: [
44+ . enableUpcomingFeature( " StrictConcurrency " )
45+ ]
46+ ) ,
4347 . testTarget(
4448 name: " MCPTests " ,
4549 dependencies: [ " MCP " ] + targetDependencies) ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ extension Value: NotRequired {
2020// MARK: -
2121
2222/// A method that can be used to send requests and receive responses.
23- public protocol Method {
23+ public protocol Method : Sendable {
2424 /// The parameters of the method.
2525 associatedtype Parameters : Codable , Hashable, Sendable = Empty
2626 /// The result of the method.
You can’t perform that action at this time.
0 commit comments