Skip to content

Depend only on FoundationEssentials when possible #50

Description

@t089

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions