I remembered that there's a recommendation that the module name should be universally unique (that includes among other packages as well). Especially from Package module name collisions post, and a more recent one; Logging module name clash in Vapor 3.
So I consulted SwiftPM Package Description, but they use the terms
Target instead, which leads me to a few questions:
- What's the difference between
Target, and when people say
Module, which one do they generally refer to?
- When you do
import Foo, which one is used? And most importantly,
- Which one should be universally unique, and which one can be disambiguate?