@MadMike77 You might be able to use a feature. Have your tracking operate through a function call, and in the function definition,
···
[#cfg(tracking)]
fn track(args, blah, etc) {
// tracking logic goes here
}
[#cfg(not(tracking))]
fn track(args, blah, etc) {
// this version is a no-op
}
···