comparison src/lib.rs @ 57:2a5c83d04b93 v0.0.4

Update some docs; bump to v0.0.4.
author Paul Fisher <paul@pfish.zone>
date Mon, 05 May 2025 00:16:00 -0400
parents ce47901aab7a
children 05cc2c27334f
comparison
equal deleted inserted replaced
56:daa2cde64601 57:2a5c83d04b93
12 //! [module-guide]: https://www.chiark.greenend.org.uk/doc/libpam-doc/html/Linux-PAM_MWG.html 12 //! [module-guide]: https://www.chiark.greenend.org.uk/doc/libpam-doc/html/Linux-PAM_MWG.html
13 //! 13 //!
14 //! A typical authentication module will define an external function called 14 //! A typical authentication module will define an external function called
15 //! `pam_sm_authenticate()`, which will use functions in this library to 15 //! `pam_sm_authenticate()`, which will use functions in this library to
16 //! interrogate the program that requested authentication for more information, 16 //! interrogate the program that requested authentication for more information,
17 //! and to render a result. For a working example that uses this library, see 17 //! and to render a result.
18 //! [toznyauth-pam][].
19 //!
20 //! [toznyauth-pam]: https://github.com/tozny/toznyauth-pam
21 //! 18 //!
22 //! Note that constants that are normally read from pam header files are 19 //! Note that constants that are normally read from pam header files are
23 //! hard-coded in the `constants` module. The values there are taken from 20 //! hard-coded in the `constants` module. The values there are taken from
24 //! a Linux system. That means that it might take some work to get this library 21 //! a Linux system. That means that it might take some work to get this library
25 //! to work on other platforms. 22 //! to work on other platforms.