-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation Documentation is nice, and we can help support users by providing useful clear docs. Modifications Add Docc to 5.6 and later builds Make sure symbol references work Add overview docs Result Nice rendering docs
- Loading branch information
Showing
23 changed files
with
522 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
// swift-tools-version:5.4 | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// This source file is part of the SwiftNIO open source project | ||
// | ||
// Copyright (c) 2017-2018 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-ssh", | ||
platforms: [ | ||
.macOS(.v10_15), | ||
.iOS(.v13), | ||
.watchOS(.v6), | ||
.tvOS(.v13), | ||
], | ||
products: [ | ||
.library(name: "NIOSSH", targets: ["NIOSSH"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/apple/swift-nio.git", from: "2.32.0"), | ||
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0"), | ||
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "NIOSSH", | ||
dependencies: [ | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"), | ||
.product(name: "NIOFoundationCompat", package: "swift-nio"), | ||
.product(name: "Crypto", package: "swift-crypto"), | ||
.product(name: "Atomics", package: "swift-atomics"), | ||
] | ||
), | ||
.executableTarget( | ||
name: "NIOSSHClient", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOPosix", package: "swift-nio"), | ||
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"), | ||
] | ||
), | ||
.executableTarget( | ||
name: "NIOSSHServer", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOPosix", package: "swift-nio"), | ||
.product(name: "NIOFoundationCompat", package: "swift-nio"), | ||
.product(name: "Crypto", package: "swift-crypto"), | ||
] | ||
), | ||
.executableTarget( | ||
name: "NIOSSHPerformanceTester", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOEmbedded", package: "swift-nio"), | ||
.product(name: "Crypto", package: "swift-crypto"), | ||
] | ||
), | ||
.testTarget( | ||
name: "NIOSSHTests", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOEmbedded", package: "swift-nio"), | ||
.product(name: "NIOFoundationCompat", package: "swift-nio"), | ||
] | ||
), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
// swift-tools-version:5.5 | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// This source file is part of the SwiftNIO open source project | ||
// | ||
// Copyright (c) 2017-2022 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-ssh", | ||
platforms: [ | ||
.macOS(.v10_15), | ||
.iOS(.v13), | ||
.watchOS(.v6), | ||
.tvOS(.v13), | ||
], | ||
products: [ | ||
.library(name: "NIOSSH", targets: ["NIOSSH"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/apple/swift-nio.git", from: "2.32.0"), | ||
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "3.0.0"), | ||
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.0.2"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "NIOSSH", | ||
dependencies: [ | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"), | ||
.product(name: "NIOFoundationCompat", package: "swift-nio"), | ||
.product(name: "Crypto", package: "swift-crypto"), | ||
.product(name: "Atomics", package: "swift-atomics"), | ||
] | ||
), | ||
.executableTarget( | ||
name: "NIOSSHClient", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOPosix", package: "swift-nio"), | ||
.product(name: "NIOConcurrencyHelpers", package: "swift-nio"), | ||
] | ||
), | ||
.executableTarget( | ||
name: "NIOSSHServer", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOPosix", package: "swift-nio"), | ||
.product(name: "NIOFoundationCompat", package: "swift-nio"), | ||
.product(name: "Crypto", package: "swift-crypto"), | ||
] | ||
), | ||
.executableTarget( | ||
name: "NIOSSHPerformanceTester", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOEmbedded", package: "swift-nio"), | ||
.product(name: "Crypto", package: "swift-crypto"), | ||
] | ||
), | ||
.testTarget( | ||
name: "NIOSSHTests", | ||
dependencies: [ | ||
"NIOSSH", | ||
.product(name: "NIOCore", package: "swift-nio"), | ||
.product(name: "NIOEmbedded", package: "swift-nio"), | ||
.product(name: "NIOFoundationCompat", package: "swift-nio"), | ||
] | ||
), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.