Publish: include proto in each crate and fix build.rs paths

This commit is contained in:
2025-08-22 10:44:56 -07:00
parent a42ca71a9f
commit 8def4b2d06
4 changed files with 44 additions and 5 deletions
+15
View File
@@ -0,0 +1,15 @@
syntax = "proto3";
package socktop;
// All running processes. Sorting is done client-side.
message Processes {
uint64 process_count = 1; // total processes in the system
repeated Process rows = 2; // all processes
}
message Process {
uint32 pid = 1;
string name = 2;
float cpu_usage = 3; // 0..100
uint64 mem_bytes = 4; // RSS bytes
}