| Crates.io | callee |
| lib.rs | callee |
| version | 0.1.4 |
| created_at | 2022-10-06 07:54:25.148018+00 |
| updated_at | 2023-07-16 14:00:06.032377+00 |
| description | A library to show information about the calling process. |
| homepage | https://gitlab.com/a-kenji/callee |
| repository | https://gitlab.com/a-kenji/callee |
| max_upload_size | |
| id | 681073 |
| size | 40,402 |
The callee library provides a simple way to retrieve information about the calling process in Rust.
Features:
Retrieve the command line arguments of the calling process.
Retrieve the binary name of the calling process.
Access process information such as the comm attribute.
callee = "0.1.0"
or use cargo add:
cargo add callee
use callee::Callee;
let callee = Callee::init().unwrap();
println!("Comm: {}", callee.comm());
println!("Info: {}", callee.info());
The library is currently tested on Linux only, and its compatibility with Darwin or Windows systems is not guaranteed. Contributions to make it cross-platform are welcome.
If you have different needs or find improvements, I am open to contributions. Please see the contributing section for more details.
MIT