Mercurial > crates > nonstick
diff src/lib.rs @ 173:46e8ce5cd5d1
Miscellaneous doc and code cleanups.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Tue, 29 Jul 2025 16:52:32 -0400 |
parents | e27c5c667a5a |
children | 9e4ce1631bd3 |
line wrap: on
line diff
--- a/src/lib.rs Fri Jul 25 21:02:53 2025 -0400 +++ b/src/lib.rs Tue Jul 29 16:52:32 2025 -0400 @@ -10,7 +10,7 @@ //! corresponding to what you want your module to do. //! In the simplest case (for a new password-based authenticator), //! this will be the [`PamModule::authenticate`] function. -//! 3. Export your PAM module using the [`pam_hooks!`] macro. +//! 3. Export your PAM module using the [`pam_export!`] macro. //! 4. Build and install the dynamic library. //! This usually entails placing it at //! <code>/usr/lib/security/pam_<var>your_module</var>.so</code>, @@ -61,9 +61,6 @@ pub mod logging; #[cfg(feature = "link")] -#[doc(hidden)] -pub use crate::libpam::ModuleExporter; -#[cfg(feature = "link")] #[doc(inline)] pub use crate::libpam::{LibPamHandle, LibPamTransaction, TransactionBuilder}; #[doc(inline)]