This library is an implementation of Google's fast compression/decompression library Snappy in Swift. It Supports Darwin (macOS), Linux platforms, iOS, watchOS and tvOS.
Add Snappy
to the dependencies within your application's Package.swift
file.
.package(url: "https://github.com/lovetodream/swift-snappy.git", from: "1.0.0"),
Add Snappy
to your target's dependencies.
.product(name: "Snappy", package: "swift-snappy"),
Go to File
> Add Packages
, enter the Package URL https://github.com/lovetodream/swift-snappy.git
and press Add Package
.
The documentation and usage examples are available via the API reference.
The swift-snappy code is under the same license as the original snappy source code. Full license text is available in LICENSE.