Optional development dependency section for Package.swift

Could Package.swift get a section for packages specific to development of a project, as opposed to runtime dependencies? Think linters, unit testing frameworks, code coverage report generators, and so on. Now, NPM and Bundler offer dev dependency sections; would be great to see a similar feature for Swift!


SPM does support Test Targets and Dependencies, so I don't see why couldn't "Development" dependencies exist as well.

1 Like