summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-05-11 23:42:35 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-05-12 02:20:50 +0200
commit8b5b3dd00cc16c351670a25933f4b37a604abaf8 (patch)
treeaa5b32286ed880440c697e3b7cb251d74ad30029 /server
Initial commitHEADmain
Diffstat (limited to 'server')
-rw-r--r--server/Cargo.toml10
-rw-r--r--server/src/main.rs10
2 files changed, 20 insertions, 0 deletions
diff --git a/server/Cargo.toml b/server/Cargo.toml
new file mode 100644
index 0000000..173951a
--- /dev/null
+++ b/server/Cargo.toml
@@ -0,0 +1,10 @@
+[package]
+name = "server"
+version = "0.1.0"
+edition = "2024"
+
+[dependencies]
+axum = "0.8.4"
+axum-extra = { version = "0.10.1", features = ["protobuf"] }
+prost = { version = "0.13.5", default-features = false, features = ["std"] }
+protocol = { version = "0.1.0", path = "../protocol" }
diff --git a/server/src/main.rs b/server/src/main.rs
new file mode 100644
index 0000000..d838728
--- /dev/null
+++ b/server/src/main.rs
@@ -0,0 +1,10 @@
+use protocol::todo;
+
+fn main() {
+ let msg = todo::MyMessage{
+ inner: Some(todo::Inner{
+ value: 45,
+ }),
+ value: 78,
+ };
+}