// swift-tools-version: 6.0
// C-iOS-1 · Device client-certificate (mutual-TLS) leaf package.
//
// Standalone, no local-package dependencies — imports ONLY Security/Foundation.
// It is a downward leaf: SessionCore and the App target may depend on it, it
// depends on nothing in this workspace. This keeps the pure, unit-testable
// mTLS logic (identity wrapper, PKCS#12 import, challenge responder) isolated
// from the WS/HTTP transport plumbing that consumes it.
import PackageDescription

let package = Package(
    name: "ClientTLS",
    platforms: [.iOS(.v17), .macOS(.v14)],
    products: [
        .library(name: "ClientTLS", targets: ["ClientTLS"]),
    ],
    targets: [
        .target(name: "ClientTLS"),
        .testTarget(name: "ClientTLSTests", dependencies: ["ClientTLS"]),
    ],
    swiftLanguageModes: [.v6]
)
