3 stable releases

Uses old Rust 2015

1.1.1 Jan 20, 2017
1.1.0 Sep 8, 2016
1.0.0 Jul 20, 2016

#64 in #location

30 downloads per month

MIT license

37KB
1K SLoC

C 701 SLoC // 0.0% comments Visual Studio Project 227 SLoC Rust 49 SLoC Visual Studio Solution 38 SLoC

whereami-rs TravisCI build status AppVeyorCI build status Licence

whereami for Rust.

Requirements

Native whereami is built automatically.

Docs

Autoupdated docs can be found here.


lib.rs:

whereami for Rust.

Used for checking where the current executable/DLL is.

Examples:

println!("This executable is at {}", whereami::executable_path().unwrap().to_str().unwrap());
println!("This exec/DLL is at {}", whereami::module_path().unwrap().to_str().unwrap());

Dependencies

~54KB