| 1 | #[macro_use] |
| 2 | mod macros; |
| 3 | #[macro_use] |
| 4 | pub(crate) mod gettext; |
| 5 | |
| 6 | #[cfg(feature = "apparmor")] |
| 7 | pub(crate) mod apparmor; |
| 8 | pub(crate) mod common; |
| 9 | pub(crate) mod cutils; |
| 10 | pub(crate) mod defaults; |
| 11 | pub(crate) mod exec; |
| 12 | pub(crate) mod log; |
| 13 | pub(crate) mod pam; |
| 14 | pub(crate) mod sudoers; |
| 15 | pub(crate) mod system; |
| 16 | |
| 17 | mod su; |
| 18 | mod sudo; |
| 19 | mod visudo; |
| 20 | |
| 21 | pub use su::main as su_main; |
| 22 | pub use sudo::main as sudo_main; |
| 23 | pub use visudo::main as visudo_main; |
| 24 | |
| 25 | #[cfg(feature = "do-not-use-all-features")] |
| 26 | compile_error!("Refusing to compile using 'cargo --all-features' --- please read the README"); |