Mercurial > crates > nonstick
comparison Cargo.toml @ 176:0730f5f2ee2a
Turn `libpam-sys-consts` back into `libpam-sys-impls`.
This moves the constants into `libpam-sys` and makes `libpam-sys-impls`
responsible solely for detecting the current PAM implementation.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 30 Jul 2025 17:53:31 -0400 |
parents | e30775c80b49 |
children | a1bb1d013567 |
comparison
equal
deleted
inserted
replaced
175:e30775c80b49 | 176:0730f5f2ee2a |
---|---|
25 | 25 |
26 # Enable this to actually link against your system's PAM library. | 26 # Enable this to actually link against your system's PAM library. |
27 # | 27 # |
28 # 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 |
29 # with your system's PAM. | 29 # with your system's PAM. |
30 link = ["dep:libpam-sys"] | 30 link = ["dep:libc", "dep:libpam-sys", "dep:libpam-sys-helpers"] |
31 | 31 |
32 # Extensions to PAM that are shared by Linux-PAM and OpenPAM | 32 # Extensions to PAM that are shared by Linux-PAM and OpenPAM |
33 # (i.e., most PAM installations). | 33 # (i.e., most PAM installations). |
34 basic-ext = [] | 34 basic-ext = [] |
35 # Extensions to PAM that are supported by Linux-PAM. | 35 # Extensions to PAM that are supported by Linux-PAM. |
42 # This feature exists only for testing. | 42 # This feature exists only for testing. |
43 test-install = [] | 43 test-install = [] |
44 | 44 |
45 [dependencies] | 45 [dependencies] |
46 bitflags = "2.9.0" | 46 bitflags = "2.9.0" |
47 libc = "0.2" | 47 libc = { optional = true, version = "0.2" } |
48 num_enum = "0.7.3" | 48 num_enum = "0.7.3" |
49 libpam-sys = { optional = true, path = "libpam-sys" } | 49 libpam-sys = { optional = true, path = "libpam-sys" } |
50 libpam-sys-helpers = { path = "libpam-sys/libpam-sys-helpers" } | 50 libpam-sys-helpers = { optional = true, path = "libpam-sys/libpam-sys-helpers" } |
51 libpam-sys-consts = { path = "libpam-sys/libpam-sys-consts" } | 51 libpam-sys-impls = { path = "libpam-sys/libpam-sys-impls" } |
52 | 52 |
53 [build-dependencies] | 53 [build-dependencies] |
54 libpam-sys-consts = { path = "libpam-sys/libpam-sys-consts" } | 54 libpam-sys-impls = { path = "libpam-sys/libpam-sys-impls" } |