2 Star 0 Fork 0

mirrors_apple/swift-nio-oblivious-http

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Package.swift 2.52 KB
一键复制 编辑 原始数据 按行查看 历史
// swift-tools-version: 5.8
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftNIO open source project
//
// Copyright (c) 2023 Apple Inc. and the SwiftNIO project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import PackageDescription
let package = Package(
name: "swift-nio-oblivious-http",
platforms: [
.macOS("14"),
.iOS("17"),
.tvOS("17"),
.watchOS("10"),
],
products: [
.library(
name: "ObliviousHTTP",
targets: ["ObliviousHTTP"]
),
.library(
name: "ObliviousX",
targets: ["ObliviousX"]
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.54.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.0.0"),
],
targets: [
.target(
name: "ObliviousHTTP",
dependencies: [
.product(name: "NIOCore", package: "swift-nio"),
.product(name: "NIOHTTP1", package: "swift-nio"),
]
),
.target(
name: "ObliviousX",
dependencies: [
.product(name: "Crypto", package: "swift-crypto")
]
),
.testTarget(
name: "ObliviousHTTPTests",
dependencies: [
"ObliviousHTTP",
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "NIOCore", package: "swift-nio"),
.product(name: "NIOHTTP1", package: "swift-nio"),
]
),
.testTarget(
name: "ObliviousXTests",
dependencies: [
"ObliviousX",
.product(name: "Crypto", package: "swift-crypto"),
]
),
]
)
// --- STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
for target in package.targets {
if target.type != .plugin {
var settings = target.swiftSettings ?? []
// https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md
settings.append(.enableUpcomingFeature("MemberImportVisibility"))
target.swiftSettings = settings
}
}
// --- END: STANDARD CROSS-REPO SETTINGS DO NOT EDIT --- //
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_apple/swift-nio-oblivious-http.git
git@gitee.com:mirrors_apple/swift-nio-oblivious-http.git
mirrors_apple
swift-nio-oblivious-http
swift-nio-oblivious-http
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385