Skip to content

Commit

Permalink
flip back to out dir for protos for easier publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kvc0 committed Nov 27, 2024
1 parent aa0449a commit 06ed156
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 90 deletions.
1 change: 0 additions & 1 deletion rmemstore-messages/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ fn main() {
".rmemstore.Put.key",
".rmemstore.Get.key",
]);
config.out_dir("./src");

if std::env::var("CI").is_ok() {
eprintln!("skipping python output");
Expand Down
7 changes: 5 additions & 2 deletions rmemstore-messages/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#[rustfmt::skip]
#[allow(clippy::unwrap_used)]
mod rmemstore;
#[allow(clippy::all)]
mod rmemstore {
include!(concat!(env!("OUT_DIR"), "/rmemstore.rs"));
}

pub mod protosocket_adapter;

// While I don't normally condone wildcard imports, this is a generated file in a
Expand Down
87 changes: 0 additions & 87 deletions rmemstore-messages/src/rmemstore.rs

This file was deleted.

0 comments on commit 06ed156

Please sign in to comment.