Mercurial > crates > nonstick
comparison 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 |
comparison
equal
deleted
inserted
replaced
104:a2676475e86b | 105:13b4d2a19674 |
---|---|
1 [workspace] | 1 [workspace] |
2 members = ["testharness"] | 2 members = ["testharness"] |
3 resolver = "3" | 3 resolver = "2" |
4 | 4 |
5 [workspace.package] | 5 [workspace.package] |
6 version = "0.0.8-alpha0" | 6 version = "0.0.8-alpha0" |
7 authors = ["Paul Fisher <paul@pfish.zone>"] | 7 authors = ["Paul Fisher <paul@pfish.zone>"] |
8 repository = "https://hg.pfish.zone/crates/nonstick/" | 8 repository = "https://hg.pfish.zone/crates/nonstick/" |
9 edition = "2021" | 9 edition = "2021" |
10 rust-version = "1.75.0" | |
10 | 11 |
11 [package] | 12 [package] |
12 name = "nonstick" | 13 name = "nonstick" |
13 description = "PAM bindings for Rust" | 14 description = "PAM bindings for Rust" |
14 version.workspace = true | |
15 authors.workspace = true | |
16 readme = "README.md" | 15 readme = "README.md" |
17 keywords = ["pam", "ffi", "linux", "authentication"] | 16 keywords = ["pam", "ffi", "linux", "authentication"] |
18 license = "MIT" | 17 license = "MIT" |
18 version.workspace = true | |
19 authors.workspace = true | |
19 edition.workspace = true | 20 edition.workspace = true |
21 rust-version.workspace = true | |
20 | 22 |
21 [features] | 23 [features] |
22 default = ["link"] | 24 default = ["link"] |
25 | |
23 # Enable this to actually link against your system's PAM library. | 26 # Enable this to actually link against your system's PAM library. |
24 # | 27 # |
25 # This will fail if you have extensions enabled that are not compatible | 28 # This will fail if you have extensions enabled that are not compatible |
26 # with your system's PAM. | 29 # with your system's PAM. |
27 link = [] | 30 link = [] |
31 | |
28 # Enable this to get access to Linux-PAM extensions. | 32 # Enable this to get access to Linux-PAM extensions. |
29 linux-pam-extensions = [] | 33 linux-pam-extensions = [] |
30 # Enable this to get access to OpenPAM extensions. | 34 # Enable this to get access to OpenPAM extensions. |
31 openpam-extensions = [] | 35 openpam-extensions = [] |
32 | 36 |
37 # This feature exists only for testing. | |
38 test-install = [] | |
39 | |
33 [dependencies] | 40 [dependencies] |
34 bitflags = "2.9.0" | 41 bitflags = "2.9.0" |
35 libc = "0.2.97" | 42 libc = "0.2.97" |
43 memoffset = "0.9.1" | |
36 num_enum = "0.7.3" | 44 num_enum = "0.7.3" |
37 | 45 |
38 [dev-dependencies] | 46 [dev-dependencies] |
39 regex = "1.11.1" | 47 regex = "1.11.1" |
40 | 48 |