tokio-bin-process 0.7.0

run your application under a separate process with tokio tracing assertions when integration testing
Documentation
1
2
3
4
5
6
7
use std::env;

fn main() {
    let profile = env::var("PROFILE").unwrap();
    println!("cargo:rustc-env=PROFILE={profile}");
    println!("cargo:rerun-if-changed=build.rs");
}