Currently, the build.rs of oqs-sys is configured so that oqs is recompiled every time cargo build is executed. This really takes the fun away from cargo watch etc., as it blows the time of a cargo build with an already filled target/ to 20 seconds+.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#change-detection provides some guidance on how to refine the behavior in this regard.
Currently, the
build.rsofoqs-sysis configured so that oqs is recompiled every timecargo buildis executed. This really takes the fun away fromcargo watchetc., as it blows the time of acargo buildwith an already filledtarget/to 20 seconds+.https://doc.rust-lang.org/cargo/reference/build-scripts.html#change-detection provides some guidance on how to refine the behavior in this regard.