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 {