comparison libpam-sys/Cargo.toml @ 134:6c1e1bdb4164

Use standard #[cfg] directives rather than custom proc macros. Instead of having to do a bunch of custom parsing and other logic that tools often choke on, this change introduces an easy way to depend upon custom #[cfg]s provided by the libpam-sys crate.
author Paul Fisher <paul@pfish.zone>
date Thu, 03 Jul 2025 11:03:36 -0400
parents a632a8874131
children b52594841480
comparison
equal deleted inserted replaced
133:32b2a545ca3e 134:6c1e1bdb4164
12 default = ["helpers"] 12 default = ["helpers"]
13 helpers = [] 13 helpers = []
14 14
15 [dependencies] 15 [dependencies]
16 libc = "0.2" 16 libc = "0.2"
17 libpam-sys-impls = { path = "libpam-sys-impls" }
18 num_enum = "0.7.4" 17 num_enum = "0.7.4"
19 18
20 [build-dependencies] 19 [build-dependencies]
21 libpam-sys-impls = { path = "libpam-sys-impls" } 20 libc = "0.2"
22 strum = { version = "0.27.1", features = ["derive"] }