Add initial grpc server implementation

Still need to use a factory to get the correct vehicle, based on environment variables.
This commit is contained in:
Piv
2020-05-20 19:07:11 +09:30
parent de50b87d88
commit 4ad8342033
3 changed files with 47 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
@@ -11,7 +11,7 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.0.0-alpha.11"),
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.0.0-alpha.12"),
.package(url: "https://github.com/uraimo/SwiftyGPIO.git", from: "1.0.0"),
],
targets: [