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(
39
39
// Targets can depend on other targets in this package and products from dependencies.
40
40
. target(
41
41
name: " MCP " ,
42
- dependencies: targetDependencies) ,
42
+ dependencies: targetDependencies,
43
+ swiftSettings: [
44
+ . enableUpcomingFeature( " StrictConcurrency " )
45
+ ]
46
+ ) ,
43
47
. testTarget(
44
48
name: " MCPTests " ,
45
49
dependencies: [ " MCP " ] + targetDependencies) ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ extension Value: NotRequired {
20
20
// MARK: -
21
21
22
22
/// A method that can be used to send requests and receive responses.
23
- public protocol Method {
23
+ public protocol Method : Sendable {
24
24
/// The parameters of the method.
25
25
associatedtype Parameters : Codable , Hashable, Sendable = Empty
26
26
/// The result of the method.
You can’t perform that action at this time.
0 commit comments