annotate Cargo.toml @ 100:3f11b8d30f63

Implement environment variable management. This actually wires up the environment variable handling to libpam, so that applications and modules can manage the environment through the authentication process.
author Paul Fisher <paul@pfish.zone>
date Tue, 24 Jun 2025 17:08:01 -0400
parents 8840fa6534f6
children a2676475e86b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
1 [package]
45
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 37
diff changeset
2 name = "nonstick"
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
3 description = "PAM bindings for Rust"
88
c9fc7e6257d3 This is a v0.0.7 if I ever saw one.
Paul Fisher <paul@pfish.zone>
parents: 80
diff changeset
4 version = "0.0.7"
45
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 37
diff changeset
5 authors = ["Paul Fisher <paul@pfish.zone>", "Anthony Nowell <anowell@gmail.com>" ]
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 37
diff changeset
6 repository = "https://hg.pfish.zone/crates/nonstick/"
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 37
diff changeset
7 readme = "README.md"
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
8 keywords = ["pam", "ffi", "linux", "authentication"]
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
9 license = "MIT"
48
a921b72743e4 Upgrade to Rust 2021 edition.
Paul Fisher <paul@pfish.zone>
parents: 46
diff changeset
10 edition = "2021"
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
11
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
12 [features]
77
351bdc13005e Update the libpam module to work with the new structure.
Paul Fisher <paul@pfish.zone>
parents: 74
diff changeset
13 default = ["link"]
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
14 # 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
15 #
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
16 # 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
17 # with your system's PAM.
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
18 link = []
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
19 # Enable this to get access to Linux-PAM extensions.
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
20 linux-pam-extensions = []
99
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
21 # Enable this to get access to OpenPAM extensions.
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
22 openpam-extensions = []
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
23
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
24 [dependencies]
56
daa2cde64601 Big big refactor. Probably should have been multiple changes.
Paul Fisher <paul@pfish.zone>
parents: 55
diff changeset
25 bitflags = "2.9.0"
34
ec70822cbdef Overhaul
Andy Caldwell <andrew.caldwell@metaswitch.com>
parents: 16
diff changeset
26 libc = "0.2.97"
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
27 num_enum = "0.7.3"
99
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
28
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
29 [dev-dependencies]
92
5ddbcada30f2 Add the ability to log against a PAM handle.
Paul Fisher <paul@pfish.zone>
parents: 88
diff changeset
30 regex = "1.11.1"
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
31
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
32 [build-dependencies]
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
33 bindgen = "0.72.0"