Mercurial > crates > nonstick
comparison libpam-sys/Cargo.toml @ 136:efbc235f01d3
Separate libpam-sys-helpers from libpam-sys.
This separates the parts of libpam-sys that don't need linking against libpam
from the parts that do need to link against libpam.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Thu, 03 Jul 2025 14:28:04 -0400 |
| parents | b52594841480 |
| children | 999bf07efbcb |
comparison
equal
deleted
inserted
replaced
| 135:b52594841480 | 136:efbc235f01d3 |
|---|---|
| 1 [workspace] | 1 [workspace] |
| 2 resolver = "2" | 2 resolver = "2" |
| 3 members = ["libpam-sys-test"] | 3 members = ["libpam-sys-helpers", "libpam-sys-test"] |
| 4 | 4 |
| 5 [workspace.package] | 5 [workspace.package] |
| 6 version = "0.1.0" | 6 version = "0.1.0" |
| 7 authors = ["Paul Fisher <paul@pfish.zone>"] | 7 authors = ["Paul Fisher <paul@pfish.zone>"] |
| 8 repository = "https://hg.pfish.zone/crates/nonstick/" | 8 repository = "https://hg.pfish.zone/crates/nonstick/" |
| 9 edition = "2021" | 9 edition = "2021" |
| 10 rust-version = "1.75.0" | 10 rust-version = "1.75.0" |
| 11 license = "MIT" | |
| 11 | 12 |
| 12 [package] | 13 [package] |
| 13 name = "libpam-sys" | 14 name = "libpam-sys" |
| 14 description = "Low-level bindings for PAM (Pluggable Authentication Modules)" | 15 description = "Low-level bindings for PAM (Pluggable Authentication Modules)" |
| 15 links = "pam" | 16 links = "pam" |
| 16 version.workspace = true | 17 version.workspace = true |
| 17 authors.workspace = true | 18 authors.workspace = true |
| 18 repository.workspace = true | 19 repository.workspace = true |
| 19 edition.workspace = true | 20 edition.workspace = true |
| 20 rust-version.workspace = true | 21 rust-version.workspace = true |
| 21 | 22 license.workspace = true |
| 22 [features] | |
| 23 default = ["helpers"] | |
| 24 helpers = [] | |
| 25 | 23 |
| 26 [dependencies] | 24 [dependencies] |
| 25 libpam-sys-helpers = { path = "libpam-sys-helpers" } | |
| 27 libc = "0.2" | 26 libc = "0.2" |
| 28 num_enum = "0.7.4" | 27 num_enum = "0.7.4" |
| 29 | 28 |
| 30 [build-dependencies] | 29 [build-dependencies] |
| 31 libc = "0.2" | 30 libc = "0.2" |
| 31 libpam-sys-helpers = { path = "libpam-sys-helpers" } |
