Skip to content

v1.3.1

Latest
Compare
Choose a tag to compare
@furby-tm furby-tm released this 27 Oct 02:45
f35d438
To use this release of zlib in your own swift project, add zlib as a package dependency in your project's Package.swift file.
// swift-tools-version: 5.8

dependencies: [
  .package(url: "https://github.com/the-swift-collective/zlib.git", from: "1.3.1"),
]
Then, for any target you'd like, add the zlib product as a target dependency.
targets: [
  .target(
    name: "MyLibrary",
    dependencies: [
      /* add the zlib product as a library dependency. */
      .product(name: "ZLib", package: "zlib"),
    ]
  ),
]