comparison 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
1 [workspace] 1 [workspace]
2 members = ["libpam-sys", "libpam-sys/libpam-sys-impls", "libpam-sys/libpam-sys-test", "testharness"] 2 members = ["libpam-sys", "libpam-sys/libpam-sys-test", "testharness"]
3 resolver = "2" 3 resolver = "2"
4 4
5 [workspace.package] 5 [workspace.package]
6 version = "0.0.8-alpha0" 6 version = "0.0.8-alpha0"
7 authors = ["Paul Fisher <paul@pfish.zone>"] 7 authors = ["Paul Fisher <paul@pfish.zone>"]
42 libc = "0.2" 42 libc = "0.2"
43 memoffset = "0.9.1" 43 memoffset = "0.9.1"
44 num_enum = "0.7.3" 44 num_enum = "0.7.3"
45 libpam-sys = { path = "libpam-sys" } 45 libpam-sys = { path = "libpam-sys" }
46 46
47 [dev-dependencies]
48 regex = "1.11.1"
49
50 [build-dependencies] 47 [build-dependencies]
51 bindgen = "0.72.0" 48 libpam-sys = { path = "libpam-sys" }