daneden / daneden/Twift

Linux Support

Open
#15 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
110
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Swift Server folks might want to use this package, and most likely will be deploying via linux. Swift linux does not have the Foundation and CryptoKit frameworks. But there are implementations for linux called FoundationNetworking and Crypto which have the same API.

Adding support should be as easy as adding

```swift
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
```

and

Importing [Crypto](https://github.com/apple/swift-crypto) over CryptoKit

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.