younata, I wish, in a Swift Package, I could specify a dependency as "package only" or something - that way my package-only dependencies (testing frameworks, SwiftLint, etc.) won't be pulled in by something that only uses the library code.
This was called out in SE-0019 back when testing support was added to SPM, and hasn't been added in the checks notes 8 years since SE-0019 was accepted.
Add comment