Swift module maps for zlib, which allow you to use the zlib C library in your Swift project.
Add the CZlib
package to the dependencies within your application’s Package.swift
file. Substitute "x.x.x"
with the latest CZlib
release.
.package(url: "https://github.com/Kitura/CZlib.git", from: "x.x.x")
Add CZlib
to your target's dependencies:
.target(name: "example", dependencies: ["CZlib"]),
import CZlib
We love to talk server-side Swift, and Kitura. Join our Slack to meet the team!