Mercurial > crates > nonstick
annotate pam/Cargo.toml @ 44:50371046c61a
Add support for pam_get_authtok and minor cleanups.
This change adds the pam_get_authtok function for PAM modules,
as well as performing a few cleanups:
- Pattern match in a few more places.
- Pull out string-copying into a function.
- Format and run clippy.
- Replace outdated PAM doc links with man7.org pages.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Sat, 08 Mar 2025 19:29:46 -0500 |
| parents | 09fa82155033 |
| children |
| rev | line source |
|---|---|
|
15
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
1 [package] |
|
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
2 |
| 36 | 3 name = "pam-bindings" |
|
15
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
4 description = "PAM bindings for Rust" |
|
37
09fa82155033
version change to force github action
Nigma <magnusgsvend@gmail.com>
parents:
36
diff
changeset
|
5 version = "0.1.1" |
|
16
f64ee7b6cdf1
Update metadata and README
Anthony Nowell <anthony@algorithmia.com>
parents:
15
diff
changeset
|
6 authors = [ "Anthony Nowell <anowell@gmail.com>" ] |
|
f64ee7b6cdf1
Update metadata and README
Anthony Nowell <anthony@algorithmia.com>
parents:
15
diff
changeset
|
7 repository = "https://github.com/anowell/pam-rs" |
| 36 | 8 readme = "../README.md" |
|
15
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
9 keywords = ["pam", "ffi", "linux", "authentication"] |
|
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
10 license = "MIT" |
|
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
11 |
|
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
12 [lib] |
|
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
13 name = "pam" |
|
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
14 |
|
27730595f1ea
Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff
changeset
|
15 [dependencies] |
| 34 | 16 libc = "0.2.97" |
