#thread #running #user-name #information #version #retrieve #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


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