Mercurial > crates > nonstick
diff src/constants.rs @ 138:999bf07efbcb
Get rid of num_enum dependency in `libpam-sys-helpers`.
Build times now fast!
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 03 Jul 2025 20:55:40 -0400 |
parents | efbc235f01d3 |
children | 33b9622ed6d2 |
line wrap: on
line diff
--- a/src/constants.rs Thu Jul 03 17:33:13 2025 -0400 +++ b/src/constants.rs Thu Jul 03 20:55:40 2025 -0400 @@ -1,9 +1,5 @@ //! Constants and enum values from the PAM library. -// We have a lot of dumb casts that we just gotta do because of differences -// between Linux-PAM and OpenPAM header files. -#![allow(clippy::unnecessary_cast)] - use crate::{linklist, man7, manbsd, xsso}; use bitflags::bitflags; use num_enum::{IntoPrimitive, TryFromPrimitive};