From: Sachandhan Ganesh Date: Thu, 4 Feb 2021 09:13:16 +0000 (-0800) Subject: don't re-run build.rs under any circumstances X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=716d166ffd4ccac89066c02ce21f3f5321711304;p=connect-rs.git don't re-run build.rs under any circumstances --- diff --git a/Cargo.toml b/Cargo.toml index bd06d3d..098c4f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "connect" -version = "0.0.6" +version = "0.0.7" edition = "2018" authors = ["Sachandhan Ganesh "] description = "message queue abstraction over async network streams" diff --git a/build.rs b/build.rs index efa836d..79189bb 100644 --- a/build.rs +++ b/build.rs @@ -5,5 +5,8 @@ fn main() -> Result<(), Box> { .include("schema") .run() .expect("Codegen failed."); + + println!("cargo:rerun-if-changed=build.rs"); + Ok(()) }