1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
//! Safe interface to `<pwd.h>` //! //! This module, named after the python module with the same function, is a safe //! interafce to pwd.h on unix-y systems. Currently nothing from this module compiles //! on windows, or attempts to make any kind of similar interface for windows #[cfg(not(windows))] extern crate libc; #[macro_use] extern crate failure; #[cfg(not(windows))] pub use errors::*; #[cfg(not(windows))] pub use unix::*; #[cfg(not(windows))] mod errors; #[cfg(not(windows))] mod unix;