3 个稳定版本
使用旧的Rust 2015
| 1.1.1 | 2017年1月20日 |
|---|---|
| 1.1.0 | 2016年9月8日 |
| 1.0.0 | 2016年7月20日 |
#7 in #哪里
每月 38 次下载
37KB
1K SLoC
whereami-rs
whereami for Rust.
需求
原生 whereami 会自动构建。
文档
自动更新的文档可以在这里找到。
lib.rs:
whereami for Rust.
用于检查当前可执行文件/DLL的位置。
示例
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());
依赖
~54KB