// swift-tools-version: 6.0
import PackageDescription

let package = Package(
    name: "NativeTokenLens",
    platforms: [
        .macOS(.v14)
    ],
    products: [
        .library(name: "TokenLensCore", targets: ["TokenLensCore"]),
        .executable(name: "TokenLens", targets: ["TokenLens"])
    ],
    targets: [
        .target(
            name: "TokenLensCore",
            linkerSettings: [
                .linkedLibrary("sqlite3")
            ]
        ),
        .executableTarget(
            name: "TokenLens",
            dependencies: ["TokenLensCore"]
        ),
        .testTarget(
            name: "TokenLensCoreTests",
            dependencies: ["TokenLensCore"]
        )
    ]
)
