From 5b49d2fcfd28b6622cc2b0e0d485de8c499a0082 Mon Sep 17 00:00:00 2001 From: c0repwn3r Date: Thu, 16 Mar 2023 19:14:29 -0400 Subject: [PATCH] do it the right way --- build.rs | 6 +----- palmdef/palm.proto | 8 ++++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/build.rs b/build.rs index bde36f4..c2715ad 100644 --- a/build.rs +++ b/build.rs @@ -1,9 +1,5 @@ fn main() { prost_build::compile_protos(&[ - "palmdef/palm.proto", - "palmdef/encrypted_reflection.proto", - "palmdef/encrypted_tunnel.proto", - "palmdef/unencrypted_reflection.proto", - "palmdef/unencrypted_tunnel.proto" + "palmdef/palm.proto" ], &["palmdef/"]).unwrap(); } \ No newline at end of file diff --git a/palmdef/palm.proto b/palmdef/palm.proto index 2d2cd1a..4d10491 100644 --- a/palmdef/palm.proto +++ b/palmdef/palm.proto @@ -84,10 +84,10 @@ syntax = "proto3"; package palmdef; -import "unencrypted_reflection.proto"; -import "encrypted_reflection.proto"; -import "unencrypted_tunnel.proto"; -import "encrypted_tunnel.proto"; +import public "unencrypted_reflection.proto"; +import public "encrypted_reflection.proto"; +import public "unencrypted_tunnel.proto"; +import public "encrypted_tunnel.proto"; // The core message, used to serialize all other packets. message PalmPacket {