Trying to use the prost
Some checks failed
ci/woodpecker/push/code_tests Pipeline failed
ci/woodpecker/push/pre_commit_test Pipeline failed

This commit is contained in:
2025-11-28 19:18:04 +01:00
parent 56aa1e1bbf
commit 2052178ebf
8 changed files with 52 additions and 78 deletions

View File

@@ -0,0 +1,6 @@
syntax = "proto3";
package termix.audio_backend;
service AudioBackend {
}

View File

@@ -1,14 +0,0 @@
syntax = "proto3";
package helloworld;
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply);
}
message HelloRequest {
string name = 1;
}
message HelloReply {
string message = 1;
}

18
lib/proto/items.proto Normal file
View File

@@ -0,0 +1,18 @@
syntax = "proto3";
package snazzy.items;
// A snazzy new shirt!
message Shirt {
// Label sizes
enum Size {
SMALL = 0;
MEDIUM = 1;
LARGE = 2;
}
// The base color
string color = 1;
// The size as stated on the label
Size size = 2;
}