Mercurial > crates > nonstick
annotate libpam-sys/Cargo.toml @ 192:4c39eaa4a5ae
Add crate categories to Cargo, and add a little pan in places.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sat, 02 Aug 2025 19:24:12 -0400 |
parents | e915c54097d6 |
children | 58c0118b8b77 |
rev | line source |
---|---|
135
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
1 [workspace] |
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
2 resolver = "2" |
176
0730f5f2ee2a
Turn `libpam-sys-consts` back into `libpam-sys-impls`.
Paul Fisher <paul@pfish.zone>
parents:
160
diff
changeset
|
3 members = ["libpam-sys-impls", "libpam-sys-helpers", "libpam-sys-test"] |
135
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
4 |
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
5 [workspace.package] |
191
e915c54097d6
Clean up docs and link versions to the right place.
Paul Fisher <paul@pfish.zone>
parents:
187
diff
changeset
|
6 version = "0.1.1" |
135
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
7 authors = ["Paul Fisher <paul@pfish.zone>"] |
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
8 repository = "https://hg.pfish.zone/crates/nonstick/" |
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
9 edition = "2021" |
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
10 rust-version = "1.75.0" |
136
efbc235f01d3
Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents:
135
diff
changeset
|
11 license = "MIT" |
135
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
12 |
106
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
13 [package] |
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
14 name = "libpam-sys" |
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
15 description = "Low-level bindings for PAM (Pluggable Authentication Modules)" |
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
16 links = "pam" |
192
4c39eaa4a5ae
Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents:
191
diff
changeset
|
17 categories = [ |
4c39eaa4a5ae
Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents:
191
diff
changeset
|
18 "authentication", |
4c39eaa4a5ae
Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents:
191
diff
changeset
|
19 "external-ffi-bindings", |
4c39eaa4a5ae
Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents:
191
diff
changeset
|
20 "os::unix-apis", |
4c39eaa4a5ae
Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents:
191
diff
changeset
|
21 ] |
135
b52594841480
Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents:
134
diff
changeset
|
22 version.workspace = true |
106
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
23 authors.workspace = true |
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
24 repository.workspace = true |
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
25 edition.workspace = true |
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
26 rust-version.workspace = true |
136
efbc235f01d3
Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents:
135
diff
changeset
|
27 license.workspace = true |
125
2b255c92417b
Introduce base PAM functions; use the real X/SSO PAM header for tests.
Paul Fisher <paul@pfish.zone>
parents:
109
diff
changeset
|
28 |
160
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
29 [package.metadata.docs.rs] |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
30 default-target = "x86_64-unknown-linux-gnu" |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
31 |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
32 targets = [ |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
33 "x86_64-apple-darwin", |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
34 "x86_64-unknown-freebsd", |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
35 "x86_64-unknown-illumos", |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
36 ] |
09dff285ff5e
Switch default PAM detection strategy to target-based.
Paul Fisher <paul@pfish.zone>
parents:
148
diff
changeset
|
37 |
108
e97534be35e3
Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents:
106
diff
changeset
|
38 [dependencies] |
138
999bf07efbcb
Get rid of num_enum dependency in `libpam-sys-helpers`.
Paul Fisher <paul@pfish.zone>
parents:
136
diff
changeset
|
39 libc = "0.2" |
191
e915c54097d6
Clean up docs and link versions to the right place.
Paul Fisher <paul@pfish.zone>
parents:
187
diff
changeset
|
40 libpam-sys-impls = { version = "0.1.1", path = "libpam-sys-impls" } |
148
4b3a5095f68c
Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents:
138
diff
changeset
|
41 |
4b3a5095f68c
Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents:
138
diff
changeset
|
42 [target.'cfg(doc)'.dependencies] |
191
e915c54097d6
Clean up docs and link versions to the right place.
Paul Fisher <paul@pfish.zone>
parents:
187
diff
changeset
|
43 libpam-sys-helpers = { version = "0.1.1", path = "libpam-sys-helpers" } |
148
4b3a5095f68c
Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents:
138
diff
changeset
|
44 |
106
49d9e2b5c189
An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff
changeset
|
45 [build-dependencies] |
191
e915c54097d6
Clean up docs and link versions to the right place.
Paul Fisher <paul@pfish.zone>
parents:
187
diff
changeset
|
46 libpam-sys-impls = { version = "0.1.1", path = "libpam-sys-impls" } |