The binary size on non-darwin platforms suffers quite a bit, when you import full Foundation. The ecosystem is moving to adopt only FoundationEssentials when possible.
I've already prepared two PRs for the modelgen and model repos to replace Foundation with FoundationEssentials when possible.
For the main repo client the change is also quite straight-forward: diff. It requires switching from FoundationProcess to swift-subprocess, replacing NSLock with NIOLock and a couple of other Foundation to stdlib or swift-algorithm replacements.
WDYT?
The binary size on non-darwin platforms suffers quite a bit, when you import full Foundation. The ecosystem is moving to adopt only
FoundationEssentialswhen possible.I've already prepared two PRs for the modelgen and model repos to replace
FoundationwithFoundationEssentialswhen possible.For the main repo
clientthe change is also quite straight-forward: diff. It requires switching fromFoundationProcesstoswift-subprocess, replacingNSLockwithNIOLockand a couple of otherFoundationtostdliborswift-algorithmreplacements.WDYT?