annotate libpam-sys/Cargo.toml @ 155:ab8020566cd9

Only use real PAM constants for logging within `nonstick/libpam`.
author Paul Fisher <paul@pfish.zone>
date Tue, 08 Jul 2025 00:49:38 -0400
parents 4b3a5095f68c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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"
148
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
3 members = ["libpam-sys-consts", "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]
b52594841480 Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents: 134
diff changeset
6 version = "0.1.0"
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"
135
b52594841480 Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents: 134
diff changeset
17 version.workspace = true
106
49d9e2b5c189 An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
18 authors.workspace = true
49d9e2b5c189 An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
19 repository.workspace = true
49d9e2b5c189 An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
20 edition.workspace = true
49d9e2b5c189 An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
21 rust-version.workspace = true
136
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
22 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
23
108
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
24 [dependencies]
138
999bf07efbcb Get rid of num_enum dependency in `libpam-sys-helpers`.
Paul Fisher <paul@pfish.zone>
parents: 136
diff changeset
25 libc = "0.2"
148
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
26 libpam-sys-consts = { path = "libpam-sys-consts" }
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
27
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
28 [target.'cfg(doc)'.dependencies]
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
29 libpam-sys-helpers = { path = "libpam-sys-helpers" }
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
30
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
31 [dev-dependencies]
136
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
32 libpam-sys-helpers = { path = "libpam-sys-helpers" }
106
49d9e2b5c189 An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
33
49d9e2b5c189 An irresponsible mix of implementing libpam-sys and other stuff.
Paul Fisher <paul@pfish.zone>
parents:
diff changeset
34 [build-dependencies]
148
4b3a5095f68c Move libpam-sys helpers into their own library.
Paul Fisher <paul@pfish.zone>
parents: 138
diff changeset
35 libpam-sys-consts = { path = "libpam-sys-consts" }