annotate Cargo.toml @ 135:b52594841480

Split libpam-sys into its own sub-workspace. Nonstick is basically a normal dependency of libpam-sys. But libpam-sys is integrated packages that should be versioned together.
author Paul Fisher <paul@pfish.zone>
date Thu, 03 Jul 2025 11:14:49 -0400
parents 6c1e1bdb4164
children efbc235f01d3
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"
45
ce47901aab7a Rename to “nonstick”, move to root, update docs and license.
Paul Fisher <paul@pfish.zone>
parents: 37
diff changeset
4 readme = "README.md"
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
5 keywords = ["pam", "ffi", "linux", "authentication"]
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
6 license = "MIT"
135
b52594841480 Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents: 134
diff changeset
7 version = "0.0.8-alpha0"
b52594841480 Split libpam-sys into its own sub-workspace.
Paul Fisher <paul@pfish.zone>
parents: 134
diff changeset
8 authors = ["Paul Fisher <paul@pfish.zone>"]
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"
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]
130
80c07e5ab22f Transfer over (almost) completely to using libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 110
diff changeset
13 default = ["link", "basic-ext"]
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
14
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
15 # 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
16 #
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
17 # 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
18 # 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
19 link = []
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
20
108
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
21 basic-ext = []
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
22 linux-pam-ext = []
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
23 openpam-ext = []
130
80c07e5ab22f Transfer over (almost) completely to using libpam-sys.
Paul Fisher <paul@pfish.zone>
parents: 110
diff changeset
24 sun-ext = []
74
c7c596e6388f Make conversations type-safe (last big reorg) (REAL) (NOT CLICKBAIT)
Paul Fisher <paul@pfish.zone>
parents: 70
diff changeset
25
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
26 # This feature exists only for testing.
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
27 test-install = []
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
28
15
27730595f1ea Adding pam-http module
Anthony Nowell <anthony@algorithmia.com>
parents:
diff changeset
29 [dependencies]
56
daa2cde64601 Big big refactor. Probably should have been multiple changes.
Paul Fisher <paul@pfish.zone>
parents: 55
diff changeset
30 bitflags = "2.9.0"
131
a632a8874131 Get all the Linux-PAM functions into libpam-sys, and get tests right.
Paul Fisher <paul@pfish.zone>
parents: 130
diff changeset
31 libc = "0.2"
105
13b4d2a19674 Support Rust v1.75.0.
Paul Fisher <paul@pfish.zone>
parents: 104
diff changeset
32 memoffset = "0.9.1"
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
33 num_enum = "0.7.3"
108
e97534be35e3 Make some proc macros for doing cfg-like stuff for PAM impls.
Paul Fisher <paul@pfish.zone>
parents: 106
diff changeset
34 libpam-sys = { path = "libpam-sys" }
99
8840fa6534f6 Streamline dependencies and rename to openpam-extensions.
Paul Fisher <paul@pfish.zone>
parents: 93
diff changeset
35
80
5aa1a010f1e8 Start using PAM headers; improve owned/borrowed distinction.
Paul Fisher <paul@pfish.zone>
parents: 77
diff changeset
36 [build-dependencies]
134
6c1e1bdb4164 Use standard #[cfg] directives rather than custom proc macros.
Paul Fisher <paul@pfish.zone>
parents: 131
diff changeset
37 libpam-sys = { path = "libpam-sys" }