annotate Cargo.toml @ 197:705d633e4966 default tip

Added tag libpam-sys/v0.2.0 for changeset 568faf823f34
author Paul Fisher <paul@pfish.zone>
date Sun, 03 Aug 2025 01:10:19 -0400
parents a47e1f6e4faa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
136
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
1 [workspace]
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
2 members = ["testharness"]
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
3 exclude = ["libpam-sys"]
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
4
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
5 [workspace.package]
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
6 license = "MIT"
195
a47e1f6e4faa Bump nonstick to v0.1.1.
Paul Fisher <paul@pfish.zone>
parents: 194
diff changeset
7 version = "0.1.1"
136
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
8 authors = ["Paul Fisher <paul@pfish.zone>"]
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
9 edition = "2021"
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
10 rust-version = "1.75.0"
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
11
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
12 [package]
45
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 37
diff changeset
13 name = "nonstick"
192
4c39eaa4a5ae Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents: 191
diff changeset
14 description = "🍳 Safe Rust bindings for PAM applications and modules."
45
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 37
diff changeset
15 readme = "README.md"
192
4c39eaa4a5ae Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents: 191
diff changeset
16 keywords = ["pam", "ffi", "authentication"]
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 "api-bindings",
4c39eaa4a5ae Add crate categories to Cargo, and add a little pan in places.
Paul Fisher <paul@pfish.zone>
parents: 191
diff changeset
19 "authentication",
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 ]
136
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
22 license.workspace = true
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
23 version.workspace = true
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
24 authors.workspace = true
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
25 edition.workspace = true
efbc235f01d3 Separate libpam-sys-helpers from libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 135
diff changeset
26 rust-version.workspace = true
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
27
184
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
28 [package.metadata.docs.rs]
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
29 default-target = "x86_64-unknown-linux-gnu"
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
30
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
31 targets = [
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
32 "x86_64-apple-darwin",
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
33 "x86_64-unknown-freebsd",
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
34 "x86_64-unknown-illumos",
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
35 ]
42f747774d94 Really get documentation stuff squared away.
Paul Fisher <paul@pfish.zone>
parents: 180
diff changeset
36
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
37 [features]
171
e27c5c667a5a Create full new types for return code and flags, separate end to end.
Paul Fisher <paul@pfish.zone>
parents: 148
diff changeset
38 default = ["link"]
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
39
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
40 # Enable this to actually link against your system's PAM library.
99
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
41 #
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
42 # This will fail if you have extensions enabled that are not compatible
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
43 # with your system's PAM.
176
0730f5f2ee2a Turn `libpam-sys-consts` back into `libpam-sys-impls`.
Paul Fisher <paul@pfish.zone>
parents: 175
diff changeset
44 link = ["dep:libc", "dep:libpam-sys", "dep:libpam-sys-helpers"]
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
45
171
e27c5c667a5a Create full new types for return code and flags, separate end to end.
Paul Fisher <paul@pfish.zone>
parents: 148
diff changeset
46 # Extensions to PAM that are shared by Linux-PAM and OpenPAM
e27c5c667a5a Create full new types for return code and flags, separate end to end.
Paul Fisher <paul@pfish.zone>
parents: 148
diff changeset
47 # (i.e., most PAM installations).
108
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
48 basic-ext = []
171
e27c5c667a5a Create full new types for return code and flags, separate end to end.
Paul Fisher <paul@pfish.zone>
parents: 148
diff changeset
49 # Extensions to PAM that are supported by Linux-PAM.
108
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
50 linux-pam-ext = []
171
e27c5c667a5a Create full new types for return code and flags, separate end to end.
Paul Fisher <paul@pfish.zone>
parents: 148
diff changeset
51 # Extensions to PAM that are supported by OpenPAM.
108
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
52 openpam-ext = []
171
e27c5c667a5a Create full new types for return code and flags, separate end to end.
Paul Fisher <paul@pfish.zone>
parents: 148
diff changeset
53 # Extensions to PAM that are supported by Sun's PAM.
130
80c07e5ab22f Transfer over (almost) completely to using libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 110
diff changeset
54 sun-ext = []
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
55
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
56 [dependencies]
56
daa2cde64601 Big big refactor. Probably should have been multiple changes.
Paul Fisher <paul@pfish.zone>
parents: 55
diff changeset
57 bitflags = "2.9.0"
176
0730f5f2ee2a Turn `libpam-sys-consts` back into `libpam-sys-impls`.
Paul Fisher <paul@pfish.zone>
parents: 175
diff changeset
58 libc = { optional = true, version = "0.2" }
194
58c0118b8b77 Actually, make libpam-sys v0.2.0.
Paul Fisher <paul@pfish.zone>
parents: 192
diff changeset
59 libpam-sys = { optional = true, version = "0.2.0", path = "libpam-sys" }
58c0118b8b77 Actually, make libpam-sys v0.2.0.
Paul Fisher <paul@pfish.zone>
parents: 192
diff changeset
60 libpam-sys-helpers = { optional = true, version = "0.2.0", path = "libpam-sys/libpam-sys-helpers" }
58c0118b8b77 Actually, make libpam-sys v0.2.0.
Paul Fisher <paul@pfish.zone>
parents: 192
diff changeset
61 libpam-sys-impls = { version = "0.2.0", path = "libpam-sys/libpam-sys-impls" }
99
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
62
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
63 [build-dependencies]
194
58c0118b8b77 Actually, make libpam-sys v0.2.0.
Paul Fisher <paul@pfish.zone>
parents: 192
diff changeset
64 libpam-sys-impls = { version = "0.2.0", path = "libpam-sys/libpam-sys-impls" }