#thread #running #user-name #retrieve #information #version #possibly

user

Portably retrieve the user name (and possibly other information in future versions) of the user running the current thread

2 releases

Uses old Rust 2015

0.1.1 Jul 22, 2016
0.1.0 Jan 10, 2016

#6 in #possibly

Download history 21/week @ 2024-02-23 13/week @ 2024-03-01 8/week @ 2024-03-08 3/week @ 2024-03-15 12/week @ 2024-03-22 38/week @ 2024-03-29

61 downloads per month
Used in 2 crates (via thrussh_client)

MIT/Apache

3KB
56 lines

Returns info about current user.

println!("{}",user::get_user_name().unwrap())

Dependencies

~185KB