Mercurial > crates > nonstick
diff libpam-sys/libpam-sys-consts/Cargo.toml @ 158:d5b7b28d754e
Add `__TARGET_DEFAULT__` PamImpl and set up for docsrs build.
Also fixes some formatting stuff.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 12 Jul 2025 17:17:37 -0400 |
parents | 4b3a5095f68c |
children |
line wrap: on
line diff
--- a/libpam-sys/libpam-sys-consts/Cargo.toml Wed Jul 09 16:59:30 2025 -0400 +++ b/libpam-sys/libpam-sys-consts/Cargo.toml Sat Jul 12 17:17:37 2025 -0400 @@ -8,6 +8,16 @@ rust-version.workspace = true license.workspace = true + +[package.metadata.docs.rs] +default-target = "x86_64-unknown-linux-gnu" + +targets = [ + "x86_64-apple-darwin", + "x86_64-unknown-freebsd", + "x86_64-unknown-illumos", +] + [dependencies] libc = "0.2"