mirror of
https://github.com/apple/swift-nio.git
synced 2026-05-20 20:30:36 +00:00
README updates (#1757)
* README updates * Update README.md Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
@@ -18,6 +18,7 @@ Repository | NIO 2 (Swift 5+) | NIO 1 (Swift 4+)
|
||||
[https://github.com/apple/swift-nio-http2][repo-nio-http2]<br> HTTP/2 support | `from: "1.0.0"` | `from: "0.1.0"`
|
||||
[https://github.com/apple/swift-nio-extras][repo-nio-extras] <br>useful additions around SwiftNIO | `from: "1.0.0"` | `from: "0.1.0"`
|
||||
[https://github.com/apple/swift-nio-transport-services][repo-nio-transport-services] <br> first-class support for macOS, iOS, tvOS, and watchOS | `from: "1.0.0"` | `from: "0.1.0"`
|
||||
[https://github.com/apple/swift-nio-ssh][repo-nio-ssh] <br> SSH support | `.upToNextMinor(from: "0.1.0")` | _n/a_
|
||||
|
||||
### Protocol Implementations
|
||||
|
||||
@@ -61,7 +62,7 @@ The latest released SwiftNIO 1 version supports Swift 4.0, 4.1, 4.2, and 5.0.
|
||||
|
||||
#### SwiftNIO 2
|
||||
|
||||
The latest released SwiftNIO 2 version supports only Swift 5.0, 5.1, and 5.2. If you have a SwiftNIO 1 application or library that you would like to migrate to SwiftNIO 2, please check out the [migration guide](docs/migration-guide-NIO1-to-NIO2.md) we prepared for you.
|
||||
The latest released SwiftNIO 2 version supports Swift 5.0, 5.1, 5.2, and 5.3. If you have a SwiftNIO 1 application or library that you would like to migrate to SwiftNIO 2, please check out the [migration guide](docs/migration-guide-NIO1-to-NIO2.md) we prepared for you.
|
||||
|
||||
### Compatibility
|
||||
|
||||
@@ -228,7 +229,7 @@ modules, specify the following dependencies:
|
||||
|
||||
dependencies: ["NIO", "NIOHTTP1"]
|
||||
|
||||
#### Swift 5.2 (`swift-tools-version:5.2`)
|
||||
#### Swift 5.2 and newer (`swift-tools-version:5.2`)
|
||||
|
||||
dependencies: [.product(name: "NIO", package: "swift-nio"),
|
||||
.product(name: "NIOHTTP1", package: "swift-nio")]
|
||||
@@ -310,7 +311,7 @@ have a few prerequisites installed on your system.
|
||||
|
||||
### Linux
|
||||
|
||||
- Swift 5.0, 5.1, or 5.2 from [swift.org/download](https://swift.org/download/#releases). We always recommend to use the latest released version.
|
||||
- Swift 5.0, 5.1, 5.2, or 5.3 from [swift.org/download](https://swift.org/download/#releases). We always recommend to use the latest released version.
|
||||
- netcat (for integration tests only)
|
||||
- lsof (for integration tests only)
|
||||
- shasum (for integration tests only)
|
||||
@@ -349,3 +350,4 @@ dnf install swift-lang /usr/bin/nc /usr/bin/lsof /usr/bin/shasum
|
||||
[repo-nio-http2]: https://github.com/apple/swift-nio-http2
|
||||
[repo-nio-ssl]: https://github.com/apple/swift-nio-ssl
|
||||
[repo-nio-transport-services]: https://github.com/apple/swift-nio-transport-services
|
||||
[repo-nio-ssh]: https://github.com/apple/swift-nio-ssh
|
||||
|
||||
Reference in New Issue
Block a user