Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sharplet/swift-cgit2

Swift package providing pre-built libgit2 binaries.
https://github.com/sharplet/swift-cgit2

git libgit2 libssh2 openssl swift xcframework

Last synced: 16 days ago
JSON representation

Swift package providing pre-built libgit2 binaries.

Awesome Lists containing this project

README

        

# swift-cgit2 - libgit2 for Apple platforms

swift-cgit2 is a binary distribution of [libgit2][] for Apple platforms.
It's provided for the following platforms and architectures:

| Platform | Version | Architectures |
| -------- | ---------- | ----------------- |
| macOS | >= 10.13.0 | `x86_64`, `arm64` |
| iOS | >= 11.0.0 | `arm64` |

swift-cgit2 is not intended to provide native Swift bindings to libgit2. For a
Swift API, take a look at [SwiftGit2][].

## Versioning

swift-cgit2 will follow the same versioning scheme as libgit2, starting at
version 1.1.0. If patches are necessary, a new semantic version will be chosen
that a) doesn't conflict with future libgit2 versions, and b) preserves
semantic versioning for both libraries (if possible).

Examples of swift-cgit2 patches could include bugs that are found with the
prebuilt `.xcframework` binaries & build scripts, or the introduction of new
architectures for existing libgit2 versions.

## License

swift-cgit2 is published under the MIT License.
See [LICENSE](/LICENSE) for details.

swift-cgit2 is subject to the terms of the [libgit2 license][]. This means that
you may compile and link to these projects without restriction; however, uses
of libgit2 which fall outside the linking exception are subject to the full
terms of the GNU General Public License, Version 2.

[SwiftGit2]: https://github.com/SwiftGit2/SwiftGit2
[libgit2]: https://libgit2.org
[libgit2 license]: https://github.com/libgit2/libgit2/blob/main/COPYING