A Swift wrapper for [`libpsl`](https://github.com/rockdaboot/libpsl) to work with internet domains in the context of the [Public Suffix List](https://publicsuffix.org/).
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
496 B
16 lines
496 B
// swift-tools-version:5.1
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "SwiftPSL",
|
|
dependencies: [
|
|
],
|
|
targets: [
|
|
.systemLibrary(name: "psl", pkgConfig: "libpsl"),
|
|
.target(name: "SwiftPSL", dependencies: ["psl"]),
|
|
.target(name: "psl-app", dependencies: ["SwiftPSL"]),
|
|
.testTarget(name: "SwiftPSLTests", dependencies: ["SwiftPSL"])
|
|
]
|
|
)
|
|
|