Skip to content

Commit d972263

Browse files
committed
Fix version
1 parent 7f98ba3 commit d972263

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Examples/echo/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
name: "echo",
2222
platforms: [.macOS("15.0")],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift", exact: "1.0.0-alpha.1"),
24+
.package(url: "https://github.com/grpc/grpc-swift", exact: "2.0.0-alpha.1"),
2525
.package(url: "https://github.com/grpc/grpc-swift-protobuf", exact: "1.0.0-alpha.1"),
2626
.package(url: "https://github.com/grpc/grpc-swift-nio-transport", branch: "1.0.0-alpha.1"),
2727
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),

Examples/hello-world/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
name: "hello-world",
2222
platforms: [.macOS("15.0")],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift", exact: "1.0.0-alpha.1"),
24+
.package(url: "https://github.com/grpc/grpc-swift", exact: "2.0.0-alpha.1"),
2525
.package(url: "https://github.com/grpc/grpc-swift-protobuf", exact: "1.0.0-alpha.1"),
2626
.package(url: "https://github.com/grpc/grpc-swift-nio-transport", exact: "1.0.0-alpha.1"),
2727
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),

Examples/route-guide/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
name: "route-guide",
2222
platforms: [.macOS("15.0")],
2323
dependencies: [
24-
.package(url: "https://github.com/grpc/grpc-swift", exact: "1.0.0-alpha.1"),
24+
.package(url: "https://github.com/grpc/grpc-swift", exact: "2.0.0-alpha.1"),
2525
.package(url: "https://github.com/grpc/grpc-swift-protobuf", exact: "1.0.0-alpha.1"),
2626
.package(url: "https://github.com/grpc/grpc-swift-nio-transport", exact: "1.0.0-alpha.1"),
2727
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ about gRPC on the [gRPC project's website][grpcio].
1717
- [`grpc-swift-nio-transport`][grpc-swift-nio-transport] contains high-performance HTTP/2 client and server transport implementations for gRPC Swift built on top of SwiftNIO.
1818
- [`grpc-swift-protobuf`][grpc-swift-protobuf] contains integrations with SwiftProtobuf for gRPC Swift.
1919
- [`grpc-swift-extras`][grpc-swift-extras] contains optional extras for gRPC Swift.
20-
20+
2121

2222
## Quick Start
2323

@@ -32,13 +32,15 @@ let package = Package(
3232
name: "foo-package",
3333
platforms: [.macOS("15.0")],
3434
dependencies: [
35+
.package(url: "https://github.com/grpc/grpc-swift.git", from: "2.0.0-alpha.1"),
3536
.package(url: "https://github.com/grpc/grpc-swift-nio-transport.git", from: "1.0.0-alpha.1"),
3637
.package(url: "https://github.com/grpc/grpc-swift-protobuf.git", from: "1.0.0-alpha.1"),
3738
],
3839
targets: [
3940
.executableTarget(
4041
name: "bar-target",
4142
dependencies: [
43+
.product(name: "GRPCCore", package: "grpc-swift"),
4244
.product(name: "GRPCNIOTransportHTTP2", package: "grpc-swift-nio-transport"),
4345
.product(name: "GRPCProtobuf", package: "grpc-swift-protobuf"),
4446
]
@@ -52,4 +54,4 @@ let package = Package(
5254
[spi-grpc-swift]: https://swiftpackageindex.com/grpc/grpc-swift/documentation
5355
[grpc-swift-nio-transport]: https://github.com/grpc/grpc-swift-nio-transport
5456
[grpc-swift-protobuf]: https://github.com/grpc/grpc-swift-protobuf
55-
[grpc-swift-extras]: https://github.com/grpc/grpc-swift-extras
57+
[grpc-swift-extras]: https://github.com/grpc/grpc-swift-extras

0 commit comments

Comments
 (0)