diff libpam-sys/src/lib.rs @ 106:49d9e2b5c189

An irresponsible mix of implementing libpam-sys and other stuff.
author Paul Fisher <paul@pfish.zone>
date Thu, 26 Jun 2025 22:41:28 -0400
parents
children e97534be35e3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libpam-sys/src/lib.rs	Thu Jun 26 22:41:28 2025 -0400
@@ -0,0 +1,22 @@
+#![doc = include_str!("../README.md")]
+//!
+//! ## Version info
+//!
+//! This documentation was built with the following configuration:
+//!
+#![cfg_attr(pam_impl = "illumos", doc = "- PAM implementation: Illumos")]
+#![cfg_attr(pam_impl = "linux-pam", doc = "- PAM implementation: Linux-PAM")]
+#![cfg_attr(pam_impl = "openpam", doc = "- PAM implementation: OpenPAM")]
+//!
+#![cfg_attr(feature = "basic-ext", doc = "- Includes common extensions")]
+#![cfg_attr(feature = "linux-pam-ext", doc = "- Includes Linux-PAM extensions")]
+#![cfg_attr(feature = "openpam-ext", doc = "- Includes OpenPAM extensions")]
+#![cfg_attr(
+    feature = "use-system-headers",
+    doc = "- Built with system header files"
+)]
+mod constants;
+pub mod helpers;
+
+#[doc(inline)]
+pub use constants::*;