Mercurial > crates > nonstick
comparison Cargo.lock @ 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 |
---|---|
33 "cexpr", | 33 "cexpr", |
34 "clang-sys", | 34 "clang-sys", |
35 "itertools", | 35 "itertools", |
36 "log", | 36 "log", |
37 "prettyplease", | 37 "prettyplease", |
38 "proc-macro2 1.0.95", | 38 "proc-macro2", |
39 "quote 1.0.40", | 39 "quote", |
40 "regex", | 40 "regex", |
41 "rustc-hash", | 41 "rustc-hash", |
42 "shlex", | 42 "shlex", |
43 "syn 2.0.104", | 43 "syn", |
44 ] | 44 ] |
45 | 45 |
46 [[package]] | 46 [[package]] |
47 name = "bitflags" | 47 name = "bitflags" |
48 version = "1.3.2" | 48 version = "1.3.2" |
140 "redox_users", | 140 "redox_users", |
141 "winapi", | 141 "winapi", |
142 ] | 142 ] |
143 | 143 |
144 [[package]] | 144 [[package]] |
145 name = "dlopen" | |
146 version = "0.1.8" | |
147 source = "registry+https://github.com/rust-lang/crates.io-index" | |
148 checksum = "71e80ad39f814a9abe68583cd50a2d45c8a67561c3361ab8da240587dda80937" | |
149 dependencies = [ | |
150 "dlopen_derive", | |
151 "lazy_static", | |
152 "libc", | |
153 "winapi", | |
154 ] | |
155 | |
156 [[package]] | |
157 name = "dlopen_derive" | |
158 version = "0.1.4" | |
159 source = "registry+https://github.com/rust-lang/crates.io-index" | |
160 checksum = "f236d9e1b1fbd81cea0f9cbdc8dcc7e8ebcd80e6659cd7cb2ad5f6c05946c581" | |
161 dependencies = [ | |
162 "libc", | |
163 "quote 0.6.13", | |
164 "syn 0.15.44", | |
165 ] | |
166 | |
167 [[package]] | |
168 name = "either" | 145 name = "either" |
169 version = "1.15.0" | 146 version = "1.15.0" |
170 source = "registry+https://github.com/rust-lang/crates.io-index" | 147 source = "registry+https://github.com/rust-lang/crates.io-index" |
171 checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" | 148 checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" |
172 | 149 |
184 dependencies = [ | 161 dependencies = [ |
185 "garando_pos", | 162 "garando_pos", |
186 "libc", | 163 "libc", |
187 "serde", | 164 "serde", |
188 "term", | 165 "term", |
189 "unicode-xid 0.2.6", | 166 "unicode-xid", |
190 ] | 167 ] |
191 | 168 |
192 [[package]] | 169 [[package]] |
193 name = "garando_pos" | 170 name = "garando_pos" |
194 version = "0.1.0" | 171 version = "0.1.0" |
208 "garando_errors", | 185 "garando_errors", |
209 "garando_pos", | 186 "garando_pos", |
210 "log", | 187 "log", |
211 "serde", | 188 "serde", |
212 "serde_json", | 189 "serde_json", |
213 "unicode-xid 0.2.6", | 190 "unicode-xid", |
214 ] | 191 ] |
215 | 192 |
216 [[package]] | 193 [[package]] |
217 name = "getrandom" | 194 name = "getrandom" |
218 version = "0.2.16" | 195 version = "0.2.16" |
235 version = "0.15.4" | 212 version = "0.15.4" |
236 source = "registry+https://github.com/rust-lang/crates.io-index" | 213 source = "registry+https://github.com/rust-lang/crates.io-index" |
237 checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" | 214 checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" |
238 | 215 |
239 [[package]] | 216 [[package]] |
240 name = "heck" | |
241 version = "0.5.0" | |
242 source = "registry+https://github.com/rust-lang/crates.io-index" | |
243 checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" | |
244 | |
245 [[package]] | |
246 name = "indexmap" | 217 name = "indexmap" |
247 version = "2.10.0" | 218 version = "2.10.0" |
248 source = "registry+https://github.com/rust-lang/crates.io-index" | 219 source = "registry+https://github.com/rust-lang/crates.io-index" |
249 checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661" | 220 checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661" |
250 dependencies = [ | 221 dependencies = [ |
272 version = "1.0.15" | 243 version = "1.0.15" |
273 source = "registry+https://github.com/rust-lang/crates.io-index" | 244 source = "registry+https://github.com/rust-lang/crates.io-index" |
274 checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" | 245 checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" |
275 | 246 |
276 [[package]] | 247 [[package]] |
277 name = "lazy_static" | |
278 version = "1.5.0" | |
279 source = "registry+https://github.com/rust-lang/crates.io-index" | |
280 checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" | |
281 | |
282 [[package]] | |
283 name = "libc" | 248 name = "libc" |
284 version = "0.2.174" | 249 version = "0.2.174" |
285 source = "registry+https://github.com/rust-lang/crates.io-index" | 250 source = "registry+https://github.com/rust-lang/crates.io-index" |
286 checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" | 251 checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" |
287 | 252 |
298 [[package]] | 263 [[package]] |
299 name = "libpam-sys" | 264 name = "libpam-sys" |
300 version = "0.1.0" | 265 version = "0.1.0" |
301 dependencies = [ | 266 dependencies = [ |
302 "libc", | 267 "libc", |
303 "libpam-sys-impls", | |
304 "num_enum", | 268 "num_enum", |
305 "strum", | |
306 ] | |
307 | |
308 [[package]] | |
309 name = "libpam-sys-impls" | |
310 version = "0.0.1" | |
311 dependencies = [ | |
312 "dlopen", | |
313 "proc-macro2 1.0.95", | |
314 "quote 1.0.40", | |
315 "strum", | |
316 "syn 2.0.104", | |
317 ] | 269 ] |
318 | 270 |
319 [[package]] | 271 [[package]] |
320 name = "libpam-sys-test" | 272 name = "libpam-sys-test" |
321 version = "0.0.0" | 273 version = "0.0.0" |
322 dependencies = [ | 274 dependencies = [ |
323 "bindgen", | 275 "bindgen", |
324 "ctest", | 276 "ctest", |
325 "libc", | 277 "libc", |
326 "libpam-sys", | 278 "libpam-sys", |
327 "libpam-sys-impls", | 279 "proc-macro2", |
328 "proc-macro2 1.0.95", | 280 "quote", |
329 "quote 1.0.40", | 281 "syn", |
330 "syn 2.0.104", | |
331 ] | 282 ] |
332 | 283 |
333 [[package]] | 284 [[package]] |
334 name = "libredox" | 285 name = "libredox" |
335 version = "0.1.4" | 286 version = "0.1.4" |
379 | 330 |
380 [[package]] | 331 [[package]] |
381 name = "nonstick" | 332 name = "nonstick" |
382 version = "0.0.8-alpha0" | 333 version = "0.0.8-alpha0" |
383 dependencies = [ | 334 dependencies = [ |
384 "bindgen", | |
385 "bitflags 2.9.1", | 335 "bitflags 2.9.1", |
386 "libc", | 336 "libc", |
387 "libpam-sys", | 337 "libpam-sys", |
388 "memoffset", | 338 "memoffset", |
389 "num_enum", | 339 "num_enum", |
390 "regex", | |
391 ] | 340 ] |
392 | 341 |
393 [[package]] | 342 [[package]] |
394 name = "nonstick-testharness" | 343 name = "nonstick-testharness" |
395 version = "0.0.8-alpha0" | 344 version = "0.0.8-alpha0" |
415 version = "0.7.4" | 364 version = "0.7.4" |
416 source = "registry+https://github.com/rust-lang/crates.io-index" | 365 source = "registry+https://github.com/rust-lang/crates.io-index" |
417 checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d" | 366 checksum = "77e878c846a8abae00dd069496dbe8751b16ac1c3d6bd2a7283a938e8228f90d" |
418 dependencies = [ | 367 dependencies = [ |
419 "proc-macro-crate", | 368 "proc-macro-crate", |
420 "proc-macro2 1.0.95", | 369 "proc-macro2", |
421 "quote 1.0.40", | 370 "quote", |
422 "syn 2.0.104", | 371 "syn", |
423 ] | 372 ] |
424 | 373 |
425 [[package]] | 374 [[package]] |
426 name = "prettyplease" | 375 name = "prettyplease" |
427 version = "0.2.35" | 376 version = "0.2.35" |
428 source = "registry+https://github.com/rust-lang/crates.io-index" | 377 source = "registry+https://github.com/rust-lang/crates.io-index" |
429 checksum = "061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a" | 378 checksum = "061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a" |
430 dependencies = [ | 379 dependencies = [ |
431 "proc-macro2 1.0.95", | 380 "proc-macro2", |
432 "syn 2.0.104", | 381 "syn", |
433 ] | 382 ] |
434 | 383 |
435 [[package]] | 384 [[package]] |
436 name = "proc-macro-crate" | 385 name = "proc-macro-crate" |
437 version = "3.3.0" | 386 version = "3.3.0" |
441 "toml_edit", | 390 "toml_edit", |
442 ] | 391 ] |
443 | 392 |
444 [[package]] | 393 [[package]] |
445 name = "proc-macro2" | 394 name = "proc-macro2" |
446 version = "0.4.30" | |
447 source = "registry+https://github.com/rust-lang/crates.io-index" | |
448 checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" | |
449 dependencies = [ | |
450 "unicode-xid 0.1.0", | |
451 ] | |
452 | |
453 [[package]] | |
454 name = "proc-macro2" | |
455 version = "1.0.95" | 395 version = "1.0.95" |
456 source = "registry+https://github.com/rust-lang/crates.io-index" | 396 source = "registry+https://github.com/rust-lang/crates.io-index" |
457 checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" | 397 checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" |
458 dependencies = [ | 398 dependencies = [ |
459 "unicode-ident", | 399 "unicode-ident", |
460 ] | |
461 | |
462 [[package]] | |
463 name = "quote" | |
464 version = "0.6.13" | |
465 source = "registry+https://github.com/rust-lang/crates.io-index" | |
466 checksum = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" | |
467 dependencies = [ | |
468 "proc-macro2 0.4.30", | |
469 ] | 400 ] |
470 | 401 |
471 [[package]] | 402 [[package]] |
472 name = "quote" | 403 name = "quote" |
473 version = "1.0.40" | 404 version = "1.0.40" |
474 source = "registry+https://github.com/rust-lang/crates.io-index" | 405 source = "registry+https://github.com/rust-lang/crates.io-index" |
475 checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" | 406 checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" |
476 dependencies = [ | 407 dependencies = [ |
477 "proc-macro2 1.0.95", | 408 "proc-macro2", |
478 ] | 409 ] |
479 | 410 |
480 [[package]] | 411 [[package]] |
481 name = "redox_users" | 412 name = "redox_users" |
482 version = "0.4.6" | 413 version = "0.4.6" |
579 name = "serde_derive" | 510 name = "serde_derive" |
580 version = "1.0.219" | 511 version = "1.0.219" |
581 source = "registry+https://github.com/rust-lang/crates.io-index" | 512 source = "registry+https://github.com/rust-lang/crates.io-index" |
582 checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" | 513 checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" |
583 dependencies = [ | 514 dependencies = [ |
584 "proc-macro2 1.0.95", | 515 "proc-macro2", |
585 "quote 1.0.40", | 516 "quote", |
586 "syn 2.0.104", | 517 "syn", |
587 ] | 518 ] |
588 | 519 |
589 [[package]] | 520 [[package]] |
590 name = "serde_json" | 521 name = "serde_json" |
591 version = "1.0.140" | 522 version = "1.0.140" |
603 version = "1.3.0" | 534 version = "1.3.0" |
604 source = "registry+https://github.com/rust-lang/crates.io-index" | 535 source = "registry+https://github.com/rust-lang/crates.io-index" |
605 checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" | 536 checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" |
606 | 537 |
607 [[package]] | 538 [[package]] |
608 name = "strum" | |
609 version = "0.27.1" | |
610 source = "registry+https://github.com/rust-lang/crates.io-index" | |
611 checksum = "f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32" | |
612 dependencies = [ | |
613 "strum_macros", | |
614 ] | |
615 | |
616 [[package]] | |
617 name = "strum_macros" | |
618 version = "0.27.1" | |
619 source = "registry+https://github.com/rust-lang/crates.io-index" | |
620 checksum = "c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8" | |
621 dependencies = [ | |
622 "heck", | |
623 "proc-macro2 1.0.95", | |
624 "quote 1.0.40", | |
625 "rustversion", | |
626 "syn 2.0.104", | |
627 ] | |
628 | |
629 [[package]] | |
630 name = "syn" | |
631 version = "0.15.44" | |
632 source = "registry+https://github.com/rust-lang/crates.io-index" | |
633 checksum = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5" | |
634 dependencies = [ | |
635 "proc-macro2 0.4.30", | |
636 "quote 0.6.13", | |
637 "unicode-xid 0.1.0", | |
638 ] | |
639 | |
640 [[package]] | |
641 name = "syn" | 539 name = "syn" |
642 version = "2.0.104" | 540 version = "2.0.104" |
643 source = "registry+https://github.com/rust-lang/crates.io-index" | 541 source = "registry+https://github.com/rust-lang/crates.io-index" |
644 checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40" | 542 checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40" |
645 dependencies = [ | 543 dependencies = [ |
646 "proc-macro2 1.0.95", | 544 "proc-macro2", |
647 "quote 1.0.40", | 545 "quote", |
648 "unicode-ident", | 546 "unicode-ident", |
649 ] | 547 ] |
650 | 548 |
651 [[package]] | 549 [[package]] |
652 name = "term" | 550 name = "term" |
692 name = "thiserror-impl" | 590 name = "thiserror-impl" |
693 version = "1.0.69" | 591 version = "1.0.69" |
694 source = "registry+https://github.com/rust-lang/crates.io-index" | 592 source = "registry+https://github.com/rust-lang/crates.io-index" |
695 checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" | 593 checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" |
696 dependencies = [ | 594 dependencies = [ |
697 "proc-macro2 1.0.95", | 595 "proc-macro2", |
698 "quote 1.0.40", | 596 "quote", |
699 "syn 2.0.104", | 597 "syn", |
700 ] | 598 ] |
701 | 599 |
702 [[package]] | 600 [[package]] |
703 name = "thiserror-impl" | 601 name = "thiserror-impl" |
704 version = "2.0.12" | 602 version = "2.0.12" |
705 source = "registry+https://github.com/rust-lang/crates.io-index" | 603 source = "registry+https://github.com/rust-lang/crates.io-index" |
706 checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" | 604 checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" |
707 dependencies = [ | 605 dependencies = [ |
708 "proc-macro2 1.0.95", | 606 "proc-macro2", |
709 "quote 1.0.40", | 607 "quote", |
710 "syn 2.0.104", | 608 "syn", |
711 ] | 609 ] |
712 | 610 |
713 [[package]] | 611 [[package]] |
714 name = "toml" | 612 name = "toml" |
715 version = "0.5.11" | 613 version = "0.5.11" |
739 [[package]] | 637 [[package]] |
740 name = "unicode-ident" | 638 name = "unicode-ident" |
741 version = "1.0.18" | 639 version = "1.0.18" |
742 source = "registry+https://github.com/rust-lang/crates.io-index" | 640 source = "registry+https://github.com/rust-lang/crates.io-index" |
743 checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" | 641 checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" |
744 | |
745 [[package]] | |
746 name = "unicode-xid" | |
747 version = "0.1.0" | |
748 source = "registry+https://github.com/rust-lang/crates.io-index" | |
749 checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" | |
750 | 642 |
751 [[package]] | 643 [[package]] |
752 name = "unicode-xid" | 644 name = "unicode-xid" |
753 version = "0.2.6" | 645 version = "0.2.6" |
754 source = "registry+https://github.com/rust-lang/crates.io-index" | 646 source = "registry+https://github.com/rust-lang/crates.io-index" |