1- // swift-tools-version: 6.0
1+ // swift-tools-version: 6.1
22
33import CompilerPluginSupport
44import PackageDescription
@@ -22,9 +22,9 @@ let package = Package(
2222 dependencies: [
2323 " Association " ,
2424 " Swizzling " ,
25- ]
25+ ] ,
2626 ) ,
27- ]
27+ ] ,
2828)
2929
3030// MARK: Association
@@ -40,7 +40,7 @@ package.targets += [
4040 dependencies: [
4141 . product( name: " SwiftSyntaxMacros " , package : " swift-syntax " ) ,
4242 . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " ) ,
43- ]
43+ ] ,
4444 ) ,
4545
4646 . testTarget(
@@ -49,10 +49,7 @@ package.targets += [
4949 " Association " ,
5050 " AssociationMacro " ,
5151 . product( name: " MacroTesting " , package : " swift-macro-testing " ) ,
52- // For some reason, with Swift Syntax prebuilts enabled, we need to depend on SwiftCompilerPlugin here to work around error:
53- // Compilation search paths unable to resolve module dependency: 'SwiftCompilerPlugin'
54- . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " ) ,
55- ]
52+ ] ,
5653 ) ,
5754]
5855
@@ -69,7 +66,7 @@ package.targets += [
6966 dependencies: [
7067 . product( name: " SwiftSyntaxMacros " , package : " swift-syntax " ) ,
7168 . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " ) ,
72- ]
69+ ] ,
7370 ) ,
7471
7572 . testTarget(
@@ -78,10 +75,7 @@ package.targets += [
7875 " Swizzling " ,
7976 " SwizzlingMacro " ,
8077 . product( name: " MacroTesting " , package : " swift-macro-testing " ) ,
81- // For some reason, with Swift Syntax prebuilts enabled, we need to depend on SwiftCompilerPlugin here to work around error:
82- // Compilation search paths unable to resolve module dependency: 'SwiftCompilerPlugin'
83- . product( name: " SwiftCompilerPlugin " , package : " swift-syntax " ) ,
84- ]
78+ ] ,
8579 ) ,
8680]
8781
@@ -95,5 +89,6 @@ for target in package.targets {
9589 target. swiftSettings? += [
9690 . enableUpcomingFeature( " ExistentialAny " ) ,
9791 . enableUpcomingFeature( " InternalImportsByDefault " ) ,
92+ . enableUpcomingFeature( " MemberImportVisibility " ) ,
9893 ]
9994}
0 commit comments