Mercurial > crates > nonstick
comparison Cargo.toml @ 80:5aa1a010f1e8
Start using PAM headers; improve owned/borrowed distinction.
- Uses bindgen to generate bindings (only if needed).
- Gets the story together on owned vs. borrowed handles.
- Reduces number of mutable borrows in handle operation
(since `PamHandle` is neither `Send` nor `Sync`,
we never have to worry about thread safety.
- Improves a bunch of macros so we don't have our own
special syntax for docs.
- Implement question indirection for standard XSSO PAM implementations.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Tue, 10 Jun 2025 01:09:30 -0400 |
parents | 351bdc13005e |
children | c9fc7e6257d3 |
comparison
equal
deleted
inserted
replaced
79:2128123b9406 | 80:5aa1a010f1e8 |
---|---|
11 | 11 |
12 [features] | 12 [features] |
13 default = ["link"] | 13 default = ["link"] |
14 # Enable this to actually link against your system's PAM library. | 14 # Enable this to actually link against your system's PAM library. |
15 link = [] | 15 link = [] |
16 # Enable this to get access to Linux-PAM extensions. | |
17 linux-pam-extensions = [] | |
18 # Enable this to get access to OpenPAM features not available in Linux-PAM. | |
19 openpam = [] | |
16 | 20 |
17 [dependencies] | 21 [dependencies] |
18 bitflags = "2.9.0" | 22 bitflags = "2.9.0" |
19 libc = "0.2.97" | 23 libc = "0.2.97" |
20 num-derive = "0.4.2" | 24 num_enum = "0.7.3" |
21 num-traits = "0.2.19" | |
22 secure-string = "0.3.0" | 25 secure-string = "0.3.0" |
23 thiserror = "2.0.12" | 26 thiserror = "2.0.12" |
27 | |
28 [build-dependencies] | |
29 bindgen = "0.72.0" |