mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
- shared: TelnetCodec and RloginCodec (sans-I/O), and LoginBridge for Swift - Android: rlogin directory entries (RloginLink on the shared codec) - iOS: a Remote screen from the Terminal tab; SSH on SwiftNIO SSH (ios/DModemSSH, tested against a real sshd), Telnet and rlogin on Network with the shared codecs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
27 lines
1.0 KiB
Swift
27 lines
1.0 KiB
Swift
// swift-tools-version:5.9
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
// Copyright (C) 2026 Neo-Desktop
|
|
//
|
|
// DModemSSH: the iOS app's SSH client, an interactive shell on a pty, on
|
|
// Apple's SwiftNIO SSH. Apart from the app so that it builds and its tests
|
|
// run on Linux too (against a local sshd, when DMODEM_SSH_TEST names one).
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "DModemSSH",
|
|
platforms: [.macOS(.v12), .iOS(.v15)],
|
|
products: [.library(name: "DModemSSH", targets: ["DModemSSH"])],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-nio.git", from: "2.65.0"),
|
|
.package(url: "https://github.com/apple/swift-nio-ssh.git", from: "0.9.0"),
|
|
],
|
|
targets: [
|
|
.target(name: "DModemSSH", dependencies: [
|
|
.product(name: "NIOCore", package: "swift-nio"),
|
|
.product(name: "NIOPosix", package: "swift-nio"),
|
|
.product(name: "NIOSSH", package: "swift-nio-ssh"),
|
|
]),
|
|
.testTarget(name: "DModemSSHTests", dependencies: ["DModemSSH"]),
|
|
]
|
|
)
|