[swift-build-dev] Make a Package depend on a submodule of another Package

Yavuz Nuzumlalı manuyavuz at gmail.com
Tue Dec 8 03:00:52 CST 2015


Is there a documented future plan for adding ability to make a package
having dependency to only a submodule of another package?

Some libraries may want to split their full API into logical components and
provide a way to integrate them individually. As an example, the popular
networking library AFNetworking
<https://github.com/AFNetworking/AFNetworking> has components like
'Serialization', 'Security', 'NSURLSession' and 'UIKit' in its podspec, and
users can depend on just a particular component rather than depending on
full API.

I'm pretty sure there will be need for that feature in future and you most
probably talked about that before. I just want to know if there is an
existing concrete architectural plan.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20151208/db7e84f6/attachment.html>

More information about the swift-build-dev mailing list