Mercurial > crates > nonstick
comparison libpam-sys/libpam-sys-impls/src/lib.rs @ 129:5b2de52dd8b2
Cleanups: create readmes, add a few docs, remove cruft.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Mon, 30 Jun 2025 23:49:54 -0400 |
parents | 57c812e308bd |
children |
comparison
equal
deleted
inserted
replaced
128:ad77f2af5ff4 | 129:5b2de52dd8b2 |
---|---|
1 //! Internal-use macros for [`libpam-sys`]. Please don't use them. | |
2 //! | |
3 //! The build script detects what the current PAM implementation is, | |
4 //! and then these macros generate code based on that. | |
5 //! | |
6 //! [`libpam-sys`]: https://docs.rs/libpam-sys | |
7 | |
1 use proc_macro as pm; | 8 use proc_macro as pm; |
2 use proc_macro2::{Delimiter, Group, Literal, Span, TokenStream, TokenTree}; | 9 use proc_macro2::{Delimiter, Group, Literal, Span, TokenStream, TokenTree}; |
3 use quote::{format_ident, quote}; | 10 use quote::{format_ident, quote}; |
4 use std::fmt::Display; | 11 use std::fmt::Display; |
5 use std::str::FromStr; | 12 use std::str::FromStr; |