- Add Pdftract.swift.tera for main public API with type aliases - Update Methods.swift.tera with async throws functions and AsyncThrowingStream for streaming - Update Errors.swift.tera with 8 error types implementing LocalizedError - Update Types.swift.tera with Source enum, Options structs, and all Codable types - Update ConformanceTests.swift.tera with XCTest-based conformance suite - Update README.md.tera with full documentation (install, usage, error handling) - Update Package.swift.tera with macOS(.v13) and Linux platform support Closes pdftract-5lvpu
26 lines
681 B
Text
26 lines
681 B
Text
// swift-tools-version: 5.10
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "pdftract-swift",
|
|
platforms: [.macOS(.v13), .linux(.v4)],
|
|
products: [
|
|
.library(
|
|
name: "Pdftract",
|
|
targets: ["Pdftract"])
|
|
],
|
|
dependencies: [
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "PdftractCodegen",
|
|
dependencies: []),
|
|
.target(
|
|
name: "Pdftract",
|
|
dependencies: ["PdftractCodegen"]),
|
|
.testTarget(
|
|
name: "PdftractTests",
|
|
dependencies: ["Pdftract"]),
|
|
]
|
|
)
|