comparison Cargo.toml @ 108:e97534be35e3

Make some proc macros for doing cfg-like stuff for PAM impls.
author Paul Fisher <paul@pfish.zone>
date Sat, 28 Jun 2025 00:34:45 -0400
parents 49d9e2b5c189
children 2346fd501b7a
comparison
equal deleted inserted replaced
107:49c6633f6fd2 108:e97534be35e3
1 [workspace] 1 [workspace]
2 members = ["libpam-sys", "testharness"] 2 members = ["libpam-sys", "libpam-sys/libpam-sys-impls", "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>"]
27 # 27 #
28 # This will fail if you have extensions enabled that are not compatible 28 # This will fail if you have extensions enabled that are not compatible
29 # with your system's PAM. 29 # with your system's PAM.
30 link = [] 30 link = []
31 31
32 # Enable this to get access to Linux-PAM extensions. 32 basic-ext = []
33 linux-pam-extensions = [] 33 illumos-ext = []
34 # Enable this to get access to OpenPAM extensions. 34 linux-pam-ext = []
35 openpam-extensions = [] 35 openpam-ext = []
36 36
37 # This feature exists only for testing. 37 # This feature exists only for testing.
38 test-install = [] 38 test-install = []
39 39
40 [dependencies] 40 [dependencies]
41 bitflags = "2.9.0" 41 bitflags = "2.9.0"
42 libc = "0.2.97" 42 libc = "0.2.97"
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 46
46 [dev-dependencies] 47 [dev-dependencies]
47 regex = "1.11.1" 48 regex = "1.11.1"
48 49
49 [build-dependencies] 50 [build-dependencies]