Associating snippets with modules

as far as i can tell, SPM snippets are a package-level construct, as they all reside in a global snippets directory.

when generating a documentation archive for each target in a package, which target should receive the snippets? moreover, the snippets depend on the package’s library targets, and yet the doc-comments in the library targets must depend on the snippets in order to include them, which makes for a circular dependency.