// swift-tools-version:6.1 import PackageDescription let package = Package( name: "Benchmarks", platforms: [ .macOS(.v13) ], dependencies: [ .package(name: "swift-http-types", path: "../"), .package(url: "https://github.com/ordo-one/package-benchmark.git", from: "1.36.2"), ], targets: [ .executableTarget( name: "Benchmarks", dependencies: [ .product(name: "Benchmark", package: "package-benchmark"), .product(name: "HTTPTypes", package: "swift-http-types"), ], path: "Benchmarks/HTTPFieldsBenchmarks", plugins: [ .plugin(name: "BenchmarkPlugin", package: "package-benchmark") ] ), .executableTarget( name: "FoundationBenchmarks", dependencies: [ .product(name: "Benchmark", package: "package-benchmark"), .product(name: "HTTPTypes", package: "swift-http-types"), .product(name: "HTTPTypesFoundation", package: "swift-http-types"), ], path: "Benchmarks/HTTPTypesFoundationBenchmarks", plugins: [ .plugin(name: "BenchmarkPlugin", package: "package-benchmark") ] ), ] )