Mercurial > crates > nonstick
view libpam-sys/Cargo.toml @ 157:0099f2f79f86
Switch logging interface to accept fmt::Arguments.
This means that we don't have to format arguments eagerly when logging;
an implementation could choose to discard them if it wanted to, avoiding
allocations and expensive format calls.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 09 Jul 2025 16:59:30 -0400 |
parents | 4b3a5095f68c |
children | 09dff285ff5e |
line wrap: on
line source
[workspace] resolver = "2" members = ["libpam-sys-consts", "libpam-sys-helpers", "libpam-sys-test"] [workspace.package] version = "0.1.0" authors = ["Paul Fisher <paul@pfish.zone>"] repository = "https://hg.pfish.zone/crates/nonstick/" edition = "2021" rust-version = "1.75.0" license = "MIT" [package] name = "libpam-sys" description = "Low-level bindings for PAM (Pluggable Authentication Modules)" links = "pam" version.workspace = true authors.workspace = true repository.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true [dependencies] libc = "0.2" libpam-sys-consts = { path = "libpam-sys-consts" } [target.'cfg(doc)'.dependencies] libpam-sys-helpers = { path = "libpam-sys-helpers" } [dev-dependencies] libpam-sys-helpers = { path = "libpam-sys-helpers" } [build-dependencies] libpam-sys-consts = { path = "libpam-sys-consts" }