ghost-rs 0.2.0

Crate using std::env for stealthily removing EXE
docs.rs failed to build ghost-rs-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: ghost-rs-0.1.1

Ghost

Ghost is a tool for removing your executable while it's process is still running.

Usage

// On windows (`svcmsrpc`)
use ghost;

fn main() {
    match ghost::ninja() {
        Ok(_) => println!("Just went GHOST 👻"),
        Err(e) => println!("Nope! => {}", e),
    };
}
// With placeholder 
use ghost::ninja;

fn main() {
    #[cfg(target_os = "windows")]
    match ghost::ninja_with_placeholder("temporary") {
        Ok(_) => println!("Went GHOST!!"),
        Err(e) => println!("Nope! => {}", e),
    };
}