Intended for windows users, to bring unicode support in the form of a swift package for the icu project.
dependencies: [
.package(url: "https://github.com/wabiverse/icu.git", from: "76.1.0"),
]
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyLibrary",
targets: ["MyLibrary"]
),
],
dependencies: [
.package(url: "https://github.com/wabiverse/icu.git", from: "76.1.0")
],
targets: [
.target(
name: "MyLibrary",
dependencies: [
/* add the icu product as a library dependency. */
.product(name: "icuin", package: "icu"),
]
),
]
)