view libpam-sys/src/lib.rs @ 134:6c1e1bdb4164

Use standard #[cfg] directives rather than custom proc macros. Instead of having to do a bunch of custom parsing and other logic that tools often choke on, this change introduces an easy way to depend upon custom #[cfg]s provided by the libpam-sys crate.
author Paul Fisher <paul@pfish.zone>
date Thu, 03 Jul 2025 11:03:36 -0400
parents c77846f3a979
children
line wrap: on
line source

#![doc = include_str!("../README.md")]
//!
//! ## PAM implementation
//!
#![doc = concat!("This documentation was built for the **", env!("LIBPAMSYS_IMPL"), "** implementation.")]

mod constants;
mod ffi;
pub mod helpers;
pub mod pam_impl;

#[doc(inline)]
pub use crate::{constants::*, ffi::*, pam_impl::*};