annotate Cargo.toml @ 105:13b4d2a19674

Support Rust v1.75.0. This is the version included in Ubuntu 24.04 LTS and Debian Trixie, so it's old enough to have wide penetration without being too old to get new features (Debian Stable, I love you but v1.63 is just not going to work out).
author Paul Fisher <paul@pfish.zone>
date Thu, 26 Jun 2025 00:48:51 -0400
parents a2676475e86b
children 49d9e2b5c189
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
104
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
1 [workspace]
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
2 members = ["testharness"]
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
3 resolver = "2"
104
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
4
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
5 [workspace.package]
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
6 version = "0.0.8-alpha0"
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
7 authors = ["Paul Fisher <paul@pfish.zone>"]
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
8 repository = "https://hg.pfish.zone/crates/nonstick/"
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
9 edition = "2021"
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
10 rust-version = "1.75.0"
104
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
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"
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
14 description = "PAM bindings for Rust"
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"
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
16 keywords = ["pam", "ffi", "linux", "authentication"]
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
17 license = "MIT"
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
18 version.workspace = true
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
19 authors.workspace = true
104
a2676475e86b Create the very start of a test suite.
Paul Fisher <paul@pfish.zone>
parents: 99
diff changeset
20 edition.workspace = true
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
21 rust-version.workspace = true
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
22
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
23 [features]
77
351bdc13005e Update the libpam module to work with the new structure.
Paul Fisher <paul@pfish.zone>
parents: 74
diff changeset
24 default = ["link"]
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
25
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
26 # 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
27 #
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
28 # 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
29 # 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
30 link = []
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
31
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
32 # 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
33 linux-pam-extensions = []
99
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
34 # 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
35 openpam-extensions = []
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
36
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
37 # This feature exists only for testing.
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
38 test-install = []
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
39
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
40 [dependencies]
56
daa2cde64601 Big big refactor. Probably should have been multiple changes.
Paul Fisher <paul@pfish.zone>
parents: 55
diff changeset
41 bitflags = "2.9.0"
34
ec70822cbdef Overhaul
Andy Caldwell <andrew.caldwell@metaswitch.com>
parents: 16
diff changeset
42 libc = "0.2.97"
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
43 memoffset = "0.9.1"
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
44 num_enum = "0.7.3"
99
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
45
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
46 [dev-dependencies]
92
5ddbcada30f2 Add the ability to log against a PAM handle.
Paul Fisher <paul@pfish.zone>
parents: 88
diff changeset
47 regex = "1.11.1"
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
48
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
49 [build-dependencies]
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
50 bindgen = "0.72.0"