Mercurial > crates > nonstick
diff Cargo.toml @ 105:13b4d2a19674
Support Rust v1.75.0.
This is the version included in Ubuntu 24.04 LTS and Debian Trixie,
so it's old enough to have wide penetration without being too old
to get new features (Debian Stable, I love you but v1.63 is just
not going to work out).
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 26 Jun 2025 00:48:51 -0400 |
parents | a2676475e86b |
children | 49d9e2b5c189 |
line wrap: on
line diff
--- a/Cargo.toml Wed Jun 25 16:56:56 2025 -0400 +++ b/Cargo.toml Thu Jun 26 00:48:51 2025 -0400 @@ -1,38 +1,46 @@ [workspace] members = ["testharness"] -resolver = "3" +resolver = "2" [workspace.package] version = "0.0.8-alpha0" authors = ["Paul Fisher <paul@pfish.zone>"] repository = "https://hg.pfish.zone/crates/nonstick/" edition = "2021" +rust-version = "1.75.0" [package] name = "nonstick" description = "PAM bindings for Rust" -version.workspace = true -authors.workspace = true readme = "README.md" keywords = ["pam", "ffi", "linux", "authentication"] license = "MIT" +version.workspace = true +authors.workspace = true edition.workspace = true +rust-version.workspace = true [features] default = ["link"] + # Enable this to actually link against your system's PAM library. # # This will fail if you have extensions enabled that are not compatible # with your system's PAM. link = [] + # Enable this to get access to Linux-PAM extensions. linux-pam-extensions = [] # Enable this to get access to OpenPAM extensions. openpam-extensions = [] +# This feature exists only for testing. +test-install = [] + [dependencies] bitflags = "2.9.0" libc = "0.2.97" +memoffset = "0.9.1" num_enum = "0.7.3" [dev-dependencies]