tools for building gleam projects with nix
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

nix: build gleam2nix binary with crate2nix

foxgirl.engineering c4a6a35d 2261f0a3

verified
+4066 -6
+746 -5
flake.lock
··· 1 1 { 2 2 "nodes": { 3 - "fenix": { 3 + "cachix": { 4 4 "inputs": { 5 + "devenv": [ 6 + "crate2nix" 7 + ], 8 + "flake-compat": [ 9 + "crate2nix" 10 + ], 5 11 "nixpkgs": "nixpkgs", 12 + "pre-commit-hooks": [ 13 + "crate2nix" 14 + ] 15 + }, 16 + "locked": { 17 + "lastModified": 1709700175, 18 + "narHash": "sha256-A0/6ZjLmT9qdYzKHmevnEIC7G+GiZ4UCr8v0poRPzds=", 19 + "owner": "cachix", 20 + "repo": "cachix", 21 + "rev": "be97b37989f11b724197b5f4c7ffd78f12c8c4bf", 22 + "type": "github" 23 + }, 24 + "original": { 25 + "owner": "cachix", 26 + "ref": "latest", 27 + "repo": "cachix", 28 + "type": "github" 29 + } 30 + }, 31 + "cachix_2": { 32 + "inputs": { 33 + "devenv": [ 34 + "crate2nix", 35 + "crate2nix_stable" 36 + ], 37 + "flake-compat": [ 38 + "crate2nix", 39 + "crate2nix_stable" 40 + ], 41 + "nixpkgs": "nixpkgs_2", 42 + "pre-commit-hooks": [ 43 + "crate2nix", 44 + "crate2nix_stable" 45 + ] 46 + }, 47 + "locked": { 48 + "lastModified": 1716549461, 49 + "narHash": "sha256-lHy5kgx6J8uD+16SO47dPrbob98sh+W1tf4ceSqPVK4=", 50 + "owner": "cachix", 51 + "repo": "cachix", 52 + "rev": "e2bb269fb8c0828d5d4d2d7b8d09ea85abcacbd4", 53 + "type": "github" 54 + }, 55 + "original": { 56 + "owner": "cachix", 57 + "ref": "latest", 58 + "repo": "cachix", 59 + "type": "github" 60 + } 61 + }, 62 + "cachix_3": { 63 + "inputs": { 64 + "devenv": [ 65 + "crate2nix", 66 + "crate2nix_stable", 67 + "crate2nix_stable" 68 + ], 69 + "flake-compat": [ 70 + "crate2nix", 71 + "crate2nix_stable", 72 + "crate2nix_stable" 73 + ], 74 + "nixpkgs": "nixpkgs_3", 75 + "pre-commit-hooks": [ 76 + "crate2nix", 77 + "crate2nix_stable", 78 + "crate2nix_stable" 79 + ] 80 + }, 81 + "locked": { 82 + "lastModified": 1716549461, 83 + "narHash": "sha256-lHy5kgx6J8uD+16SO47dPrbob98sh+W1tf4ceSqPVK4=", 84 + "owner": "cachix", 85 + "repo": "cachix", 86 + "rev": "e2bb269fb8c0828d5d4d2d7b8d09ea85abcacbd4", 87 + "type": "github" 88 + }, 89 + "original": { 90 + "owner": "cachix", 91 + "ref": "latest", 92 + "repo": "cachix", 93 + "type": "github" 94 + } 95 + }, 96 + "crate2nix": { 97 + "inputs": { 98 + "cachix": "cachix", 99 + "crate2nix_stable": "crate2nix_stable", 100 + "devshell": "devshell_3", 101 + "flake-compat": "flake-compat_3", 102 + "flake-parts": "flake-parts_3", 103 + "nix-test-runner": "nix-test-runner_3", 104 + "nixpkgs": [ 105 + "nixpkgs" 106 + ], 107 + "pre-commit-hooks": [ 108 + "git-hooks" 109 + ] 110 + }, 111 + "locked": { 112 + "lastModified": 1739473963, 113 + "narHash": "sha256-ItAhpjNUzEWd/cgZVyW/jvoGbCec4TK29e1Mnmn1oJE=", 114 + "owner": "nix-community", 115 + "repo": "crate2nix", 116 + "rev": "be31feae9a82c225c0fd1bdf978565dc452a483a", 117 + "type": "github" 118 + }, 119 + "original": { 120 + "owner": "nix-community", 121 + "repo": "crate2nix", 122 + "type": "github" 123 + } 124 + }, 125 + "crate2nix_stable": { 126 + "inputs": { 127 + "cachix": "cachix_2", 128 + "crate2nix_stable": "crate2nix_stable_2", 129 + "devshell": "devshell_2", 130 + "flake-compat": "flake-compat_2", 131 + "flake-parts": "flake-parts_2", 132 + "nix-test-runner": "nix-test-runner_2", 133 + "nixpkgs": "nixpkgs_5", 134 + "pre-commit-hooks": "pre-commit-hooks_2" 135 + }, 136 + "locked": { 137 + "lastModified": 1719760004, 138 + "narHash": "sha256-esWhRnt7FhiYq0CcIxw9pvH+ybOQmWBfHYMtleaMhBE=", 139 + "owner": "nix-community", 140 + "repo": "crate2nix", 141 + "rev": "1dee214bb20855fa3e1e7bb98d28922ddaff8c57", 142 + "type": "github" 143 + }, 144 + "original": { 145 + "owner": "nix-community", 146 + "ref": "0.14.1", 147 + "repo": "crate2nix", 148 + "type": "github" 149 + } 150 + }, 151 + "crate2nix_stable_2": { 152 + "inputs": { 153 + "cachix": "cachix_3", 154 + "crate2nix_stable": "crate2nix_stable_3", 155 + "devshell": "devshell", 156 + "flake-compat": "flake-compat", 157 + "flake-parts": "flake-parts", 158 + "nix-test-runner": "nix-test-runner", 159 + "nixpkgs": "nixpkgs_4", 160 + "pre-commit-hooks": "pre-commit-hooks" 161 + }, 162 + "locked": { 163 + "lastModified": 1712821484, 164 + "narHash": "sha256-rGT3CW64cJS9nlnWPFWSc1iEa3dNZecVVuPVGzcsHe8=", 165 + "owner": "nix-community", 166 + "repo": "crate2nix", 167 + "rev": "42883afcad3823fa5811e967fb7bff54bc3c9d6d", 168 + "type": "github" 169 + }, 170 + "original": { 171 + "owner": "nix-community", 172 + "ref": "0.14.0", 173 + "repo": "crate2nix", 174 + "type": "github" 175 + } 176 + }, 177 + "crate2nix_stable_3": { 178 + "inputs": { 179 + "flake-utils": "flake-utils" 180 + }, 181 + "locked": { 182 + "lastModified": 1702842982, 183 + "narHash": "sha256-A9AowkHIjsy1a4LuiPiVP88FMxyCWK41flZEZOUuwQM=", 184 + "owner": "nix-community", 185 + "repo": "crate2nix", 186 + "rev": "75ac2973affa6b9b4f661a7b592cba6e4f51d426", 187 + "type": "github" 188 + }, 189 + "original": { 190 + "owner": "nix-community", 191 + "ref": "0.12.0", 192 + "repo": "crate2nix", 193 + "type": "github" 194 + } 195 + }, 196 + "devshell": { 197 + "inputs": { 198 + "flake-utils": "flake-utils_2", 199 + "nixpkgs": [ 200 + "crate2nix", 201 + "crate2nix_stable", 202 + "crate2nix_stable", 203 + "nixpkgs" 204 + ] 205 + }, 206 + "locked": { 207 + "lastModified": 1717408969, 208 + "narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=", 209 + "owner": "numtide", 210 + "repo": "devshell", 211 + "rev": "1ebbe68d57457c8cae98145410b164b5477761f4", 212 + "type": "github" 213 + }, 214 + "original": { 215 + "owner": "numtide", 216 + "repo": "devshell", 217 + "type": "github" 218 + } 219 + }, 220 + "devshell_2": { 221 + "inputs": { 222 + "flake-utils": "flake-utils_3", 223 + "nixpkgs": [ 224 + "crate2nix", 225 + "crate2nix_stable", 226 + "nixpkgs" 227 + ] 228 + }, 229 + "locked": { 230 + "lastModified": 1717408969, 231 + "narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=", 232 + "owner": "numtide", 233 + "repo": "devshell", 234 + "rev": "1ebbe68d57457c8cae98145410b164b5477761f4", 235 + "type": "github" 236 + }, 237 + "original": { 238 + "owner": "numtide", 239 + "repo": "devshell", 240 + "type": "github" 241 + } 242 + }, 243 + "devshell_3": { 244 + "inputs": { 245 + "flake-utils": "flake-utils_4", 246 + "nixpkgs": [ 247 + "crate2nix", 248 + "nixpkgs" 249 + ] 250 + }, 251 + "locked": { 252 + "lastModified": 1711099426, 253 + "narHash": "sha256-HzpgM/wc3aqpnHJJ2oDqPBkNsqWbW0WfWUO8lKu8nGk=", 254 + "owner": "numtide", 255 + "repo": "devshell", 256 + "rev": "2d45b54ca4a183f2fdcf4b19c895b64fbf620ee8", 257 + "type": "github" 258 + }, 259 + "original": { 260 + "owner": "numtide", 261 + "repo": "devshell", 262 + "type": "github" 263 + } 264 + }, 265 + "fenix": { 266 + "inputs": { 267 + "nixpkgs": "nixpkgs_6", 6 268 "rust-analyzer-src": "rust-analyzer-src" 7 269 }, 8 270 "locked": { ··· 20 282 } 21 283 }, 22 284 "flake-compat": { 285 + "locked": { 286 + "lastModified": 1696426674, 287 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 288 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 289 + "revCount": 57, 290 + "type": "tarball", 291 + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" 292 + }, 293 + "original": { 294 + "type": "tarball", 295 + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" 296 + } 297 + }, 298 + "flake-compat_2": { 299 + "locked": { 300 + "lastModified": 1696426674, 301 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 302 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 303 + "revCount": 57, 304 + "type": "tarball", 305 + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" 306 + }, 307 + "original": { 308 + "type": "tarball", 309 + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" 310 + } 311 + }, 312 + "flake-compat_3": { 313 + "locked": { 314 + "lastModified": 1696426674, 315 + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", 316 + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", 317 + "revCount": 57, 318 + "type": "tarball", 319 + "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz" 320 + }, 321 + "original": { 322 + "type": "tarball", 323 + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" 324 + } 325 + }, 326 + "flake-compat_4": { 23 327 "flake": false, 24 328 "locked": { 25 329 "lastModified": 1747046372, ··· 35 339 "type": "github" 36 340 } 37 341 }, 342 + "flake-parts": { 343 + "inputs": { 344 + "nixpkgs-lib": [ 345 + "crate2nix", 346 + "crate2nix_stable", 347 + "crate2nix_stable", 348 + "nixpkgs" 349 + ] 350 + }, 351 + "locked": { 352 + "lastModified": 1719745305, 353 + "narHash": "sha256-xwgjVUpqSviudEkpQnioeez1Uo2wzrsMaJKJClh+Bls=", 354 + "owner": "hercules-ci", 355 + "repo": "flake-parts", 356 + "rev": "c3c5ecc05edc7dafba779c6c1a61cd08ac6583e9", 357 + "type": "github" 358 + }, 359 + "original": { 360 + "owner": "hercules-ci", 361 + "repo": "flake-parts", 362 + "type": "github" 363 + } 364 + }, 365 + "flake-parts_2": { 366 + "inputs": { 367 + "nixpkgs-lib": [ 368 + "crate2nix", 369 + "crate2nix_stable", 370 + "nixpkgs" 371 + ] 372 + }, 373 + "locked": { 374 + "lastModified": 1719745305, 375 + "narHash": "sha256-xwgjVUpqSviudEkpQnioeez1Uo2wzrsMaJKJClh+Bls=", 376 + "owner": "hercules-ci", 377 + "repo": "flake-parts", 378 + "rev": "c3c5ecc05edc7dafba779c6c1a61cd08ac6583e9", 379 + "type": "github" 380 + }, 381 + "original": { 382 + "owner": "hercules-ci", 383 + "repo": "flake-parts", 384 + "type": "github" 385 + } 386 + }, 387 + "flake-parts_3": { 388 + "inputs": { 389 + "nixpkgs-lib": [ 390 + "crate2nix", 391 + "nixpkgs" 392 + ] 393 + }, 394 + "locked": { 395 + "lastModified": 1712014858, 396 + "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", 397 + "owner": "hercules-ci", 398 + "repo": "flake-parts", 399 + "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", 400 + "type": "github" 401 + }, 402 + "original": { 403 + "owner": "hercules-ci", 404 + "repo": "flake-parts", 405 + "type": "github" 406 + } 407 + }, 408 + "flake-utils": { 409 + "inputs": { 410 + "systems": "systems" 411 + }, 412 + "locked": { 413 + "lastModified": 1694529238, 414 + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", 415 + "owner": "numtide", 416 + "repo": "flake-utils", 417 + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", 418 + "type": "github" 419 + }, 420 + "original": { 421 + "owner": "numtide", 422 + "repo": "flake-utils", 423 + "type": "github" 424 + } 425 + }, 426 + "flake-utils_2": { 427 + "inputs": { 428 + "systems": "systems_2" 429 + }, 430 + "locked": { 431 + "lastModified": 1701680307, 432 + "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", 433 + "owner": "numtide", 434 + "repo": "flake-utils", 435 + "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", 436 + "type": "github" 437 + }, 438 + "original": { 439 + "owner": "numtide", 440 + "repo": "flake-utils", 441 + "type": "github" 442 + } 443 + }, 444 + "flake-utils_3": { 445 + "inputs": { 446 + "systems": "systems_3" 447 + }, 448 + "locked": { 449 + "lastModified": 1701680307, 450 + "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", 451 + "owner": "numtide", 452 + "repo": "flake-utils", 453 + "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", 454 + "type": "github" 455 + }, 456 + "original": { 457 + "owner": "numtide", 458 + "repo": "flake-utils", 459 + "type": "github" 460 + } 461 + }, 462 + "flake-utils_4": { 463 + "inputs": { 464 + "systems": "systems_4" 465 + }, 466 + "locked": { 467 + "lastModified": 1701680307, 468 + "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", 469 + "owner": "numtide", 470 + "repo": "flake-utils", 471 + "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", 472 + "type": "github" 473 + }, 474 + "original": { 475 + "owner": "numtide", 476 + "repo": "flake-utils", 477 + "type": "github" 478 + } 479 + }, 38 480 "git-hooks": { 39 481 "inputs": { 40 - "flake-compat": "flake-compat", 41 - "gitignore": "gitignore", 482 + "flake-compat": "flake-compat_4", 483 + "gitignore": "gitignore_3", 42 484 "nixpkgs": [ 43 485 "nixpkgs" 44 486 ] ··· 60 502 "gitignore": { 61 503 "inputs": { 62 504 "nixpkgs": [ 505 + "crate2nix", 506 + "crate2nix_stable", 507 + "crate2nix_stable", 508 + "pre-commit-hooks", 509 + "nixpkgs" 510 + ] 511 + }, 512 + "locked": { 513 + "lastModified": 1709087332, 514 + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", 515 + "owner": "hercules-ci", 516 + "repo": "gitignore.nix", 517 + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", 518 + "type": "github" 519 + }, 520 + "original": { 521 + "owner": "hercules-ci", 522 + "repo": "gitignore.nix", 523 + "type": "github" 524 + } 525 + }, 526 + "gitignore_2": { 527 + "inputs": { 528 + "nixpkgs": [ 529 + "crate2nix", 530 + "crate2nix_stable", 531 + "pre-commit-hooks", 532 + "nixpkgs" 533 + ] 534 + }, 535 + "locked": { 536 + "lastModified": 1709087332, 537 + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", 538 + "owner": "hercules-ci", 539 + "repo": "gitignore.nix", 540 + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", 541 + "type": "github" 542 + }, 543 + "original": { 544 + "owner": "hercules-ci", 545 + "repo": "gitignore.nix", 546 + "type": "github" 547 + } 548 + }, 549 + "gitignore_3": { 550 + "inputs": { 551 + "nixpkgs": [ 63 552 "git-hooks", 64 553 "nixpkgs" 65 554 ] ··· 78 567 "type": "github" 79 568 } 80 569 }, 570 + "nix-test-runner": { 571 + "flake": false, 572 + "locked": { 573 + "lastModified": 1588761593, 574 + "narHash": "sha256-FKJykltAN/g3eIceJl4SfDnnyuH2jHImhMrXS2KvGIs=", 575 + "owner": "stoeffel", 576 + "repo": "nix-test-runner", 577 + "rev": "c45d45b11ecef3eb9d834c3b6304c05c49b06ca2", 578 + "type": "github" 579 + }, 580 + "original": { 581 + "owner": "stoeffel", 582 + "repo": "nix-test-runner", 583 + "type": "github" 584 + } 585 + }, 586 + "nix-test-runner_2": { 587 + "flake": false, 588 + "locked": { 589 + "lastModified": 1588761593, 590 + "narHash": "sha256-FKJykltAN/g3eIceJl4SfDnnyuH2jHImhMrXS2KvGIs=", 591 + "owner": "stoeffel", 592 + "repo": "nix-test-runner", 593 + "rev": "c45d45b11ecef3eb9d834c3b6304c05c49b06ca2", 594 + "type": "github" 595 + }, 596 + "original": { 597 + "owner": "stoeffel", 598 + "repo": "nix-test-runner", 599 + "type": "github" 600 + } 601 + }, 602 + "nix-test-runner_3": { 603 + "flake": false, 604 + "locked": { 605 + "lastModified": 1588761593, 606 + "narHash": "sha256-FKJykltAN/g3eIceJl4SfDnnyuH2jHImhMrXS2KvGIs=", 607 + "owner": "stoeffel", 608 + "repo": "nix-test-runner", 609 + "rev": "c45d45b11ecef3eb9d834c3b6304c05c49b06ca2", 610 + "type": "github" 611 + }, 612 + "original": { 613 + "owner": "stoeffel", 614 + "repo": "nix-test-runner", 615 + "type": "github" 616 + } 617 + }, 81 618 "nixpkgs": { 82 619 "locked": { 620 + "lastModified": 1700612854, 621 + "narHash": "sha256-yrQ8osMD+vDLGFX7pcwsY/Qr5PUd6OmDMYJZzZi0+zc=", 622 + "owner": "NixOS", 623 + "repo": "nixpkgs", 624 + "rev": "19cbff58383a4ae384dea4d1d0c823d72b49d614", 625 + "type": "github" 626 + }, 627 + "original": { 628 + "owner": "NixOS", 629 + "ref": "nixos-unstable", 630 + "repo": "nixpkgs", 631 + "type": "github" 632 + } 633 + }, 634 + "nixpkgs_2": { 635 + "locked": { 636 + "lastModified": 1715534503, 637 + "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", 638 + "owner": "NixOS", 639 + "repo": "nixpkgs", 640 + "rev": "2057814051972fa1453ddfb0d98badbea9b83c06", 641 + "type": "github" 642 + }, 643 + "original": { 644 + "owner": "NixOS", 645 + "ref": "nixos-unstable", 646 + "repo": "nixpkgs", 647 + "type": "github" 648 + } 649 + }, 650 + "nixpkgs_3": { 651 + "locked": { 652 + "lastModified": 1715534503, 653 + "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=", 654 + "owner": "NixOS", 655 + "repo": "nixpkgs", 656 + "rev": "2057814051972fa1453ddfb0d98badbea9b83c06", 657 + "type": "github" 658 + }, 659 + "original": { 660 + "owner": "NixOS", 661 + "ref": "nixos-unstable", 662 + "repo": "nixpkgs", 663 + "type": "github" 664 + } 665 + }, 666 + "nixpkgs_4": { 667 + "locked": { 668 + "lastModified": 1719506693, 669 + "narHash": "sha256-C8e9S7RzshSdHB7L+v9I51af1gDM5unhJ2xO1ywxNH8=", 670 + "path": "/nix/store/4p0avw1s3vf27hspgqsrqs37gxk4i83i-source", 671 + "rev": "b2852eb9365c6de48ffb0dc2c9562591f652242a", 672 + "type": "path" 673 + }, 674 + "original": { 675 + "id": "nixpkgs", 676 + "type": "indirect" 677 + } 678 + }, 679 + "nixpkgs_5": { 680 + "locked": { 681 + "lastModified": 1719506693, 682 + "narHash": "sha256-C8e9S7RzshSdHB7L+v9I51af1gDM5unhJ2xO1ywxNH8=", 683 + "path": "/nix/store/4p0avw1s3vf27hspgqsrqs37gxk4i83i-source", 684 + "rev": "b2852eb9365c6de48ffb0dc2c9562591f652242a", 685 + "type": "path" 686 + }, 687 + "original": { 688 + "id": "nixpkgs", 689 + "type": "indirect" 690 + } 691 + }, 692 + "nixpkgs_6": { 693 + "locked": { 83 694 "lastModified": 1757745802, 84 695 "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=", 85 696 "owner": "nixos", ··· 94 705 "type": "github" 95 706 } 96 707 }, 97 - "nixpkgs_2": { 708 + "nixpkgs_7": { 98 709 "locked": { 99 710 "lastModified": 1757967192, 100 711 "narHash": "sha256-/aA9A/OBmnuOMgwfzdsXRusqzUpd8rQnQY8jtrHK+To=", ··· 110 721 "type": "github" 111 722 } 112 723 }, 724 + "pre-commit-hooks": { 725 + "inputs": { 726 + "flake-compat": [ 727 + "crate2nix", 728 + "crate2nix_stable", 729 + "crate2nix_stable", 730 + "flake-compat" 731 + ], 732 + "gitignore": "gitignore", 733 + "nixpkgs": [ 734 + "crate2nix", 735 + "crate2nix_stable", 736 + "crate2nix_stable", 737 + "nixpkgs" 738 + ], 739 + "nixpkgs-stable": [ 740 + "crate2nix", 741 + "crate2nix_stable", 742 + "crate2nix_stable", 743 + "nixpkgs" 744 + ] 745 + }, 746 + "locked": { 747 + "lastModified": 1719259945, 748 + "narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=", 749 + "owner": "cachix", 750 + "repo": "pre-commit-hooks.nix", 751 + "rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07", 752 + "type": "github" 753 + }, 754 + "original": { 755 + "owner": "cachix", 756 + "repo": "pre-commit-hooks.nix", 757 + "type": "github" 758 + } 759 + }, 760 + "pre-commit-hooks_2": { 761 + "inputs": { 762 + "flake-compat": [ 763 + "crate2nix", 764 + "crate2nix_stable", 765 + "flake-compat" 766 + ], 767 + "gitignore": "gitignore_2", 768 + "nixpkgs": [ 769 + "crate2nix", 770 + "crate2nix_stable", 771 + "nixpkgs" 772 + ], 773 + "nixpkgs-stable": [ 774 + "crate2nix", 775 + "crate2nix_stable", 776 + "nixpkgs" 777 + ] 778 + }, 779 + "locked": { 780 + "lastModified": 1719259945, 781 + "narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=", 782 + "owner": "cachix", 783 + "repo": "pre-commit-hooks.nix", 784 + "rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07", 785 + "type": "github" 786 + }, 787 + "original": { 788 + "owner": "cachix", 789 + "repo": "pre-commit-hooks.nix", 790 + "type": "github" 791 + } 792 + }, 113 793 "root": { 114 794 "inputs": { 795 + "crate2nix": "crate2nix", 115 796 "fenix": "fenix", 116 797 "git-hooks": "git-hooks", 117 - "nixpkgs": "nixpkgs_2", 798 + "nixpkgs": "nixpkgs_7", 118 799 "treefmt-nix": "treefmt-nix" 119 800 } 120 801 }, ··· 132 813 "owner": "rust-lang", 133 814 "ref": "nightly", 134 815 "repo": "rust-analyzer", 816 + "type": "github" 817 + } 818 + }, 819 + "systems": { 820 + "locked": { 821 + "lastModified": 1681028828, 822 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 823 + "owner": "nix-systems", 824 + "repo": "default", 825 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 826 + "type": "github" 827 + }, 828 + "original": { 829 + "owner": "nix-systems", 830 + "repo": "default", 831 + "type": "github" 832 + } 833 + }, 834 + "systems_2": { 835 + "locked": { 836 + "lastModified": 1681028828, 837 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 838 + "owner": "nix-systems", 839 + "repo": "default", 840 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 841 + "type": "github" 842 + }, 843 + "original": { 844 + "owner": "nix-systems", 845 + "repo": "default", 846 + "type": "github" 847 + } 848 + }, 849 + "systems_3": { 850 + "locked": { 851 + "lastModified": 1681028828, 852 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 853 + "owner": "nix-systems", 854 + "repo": "default", 855 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 856 + "type": "github" 857 + }, 858 + "original": { 859 + "owner": "nix-systems", 860 + "repo": "default", 861 + "type": "github" 862 + } 863 + }, 864 + "systems_4": { 865 + "locked": { 866 + "lastModified": 1681028828, 867 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 868 + "owner": "nix-systems", 869 + "repo": "default", 870 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 871 + "type": "github" 872 + }, 873 + "original": { 874 + "owner": "nix-systems", 875 + "repo": "default", 135 876 "type": "github" 136 877 } 137 878 },
+22 -1
flake.nix
··· 6 6 inputs = { 7 7 nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 8 8 9 + crate2nix.url = "github:nix-community/crate2nix"; 10 + crate2nix.inputs = { 11 + nixpkgs.follows = "nixpkgs"; 12 + pre-commit-hooks.follows = "git-hooks"; 13 + }; 14 + 9 15 fenix.url = "github:nix-community/fenix"; 10 16 11 17 git-hooks.url = "github:cachix/git-hooks.nix"; ··· 19 25 { 20 26 self, 21 27 nixpkgs, 28 + crate2nix, 22 29 fenix, 23 30 git-hooks, 24 31 treefmt-nix, ··· 35 42 { 36 43 packages = forEachSystem ( 37 44 system: pkgs: { 45 + gleam2nix = pkgs.callPackage ./nix/gleam2nix.nix { 46 + inherit (self.packages.${system}) rust-toolchain; 47 + }; 48 + 38 49 rust-toolchain = import ./nix/rust-toolchain.nix { 39 50 inherit (fenix.packages.${system}) fromToolchainFile; 40 51 }; ··· 42 53 (treefmt-nix.lib.evalModule pkgs { 43 54 programs = { 44 55 nixfmt.enable = true; 56 + nixfmt.excludes = [ "nix/Cargo.nix" ]; 45 57 46 58 rustfmt.enable = true; 47 59 rustfmt.package = self.packages.${system}.rust-toolchain; ··· 71 83 nixd 72 84 nixfmt 73 85 86 + crate2nix.packages.${system}.default 74 87 self.packages.${system}.rust-toolchain 75 88 76 89 self.packages.${system}.treefmt ··· 85 98 ); 86 99 87 100 checks = forEachSystem ( 88 - system: _: { 101 + system: pkgs: { 89 102 git-hooks = git-hooks.lib.${system}.run { 90 103 src = ./.; 91 104 hooks = { ··· 93 106 clippy.packageOverrides = { 94 107 cargo = self.packages.${system}.rust-toolchain; 95 108 clippy = self.packages.${system}.rust-toolchain; 109 + }; 110 + 111 + regen-rust-lib = { 112 + enable = true; 113 + name = "Regen Cargo.nix"; 114 + entry = "${pkgs.lib.getExe crate2nix.packages.${system}.default} generate -o nix/Cargo.nix"; 115 + files = "Cargo\\.(lock|toml)"; 116 + pass_filenames = false; 96 117 }; 97 118 98 119 reuse.enable = true;
+3281
nix/Cargo.nix
··· 1 + 2 + # This file was @generated by crate2nix 0.14.1 with the command: 3 + # "generate" "-o" "nix/Cargo.nix" 4 + # See https://github.com/kolloch/crate2nix for more info. 5 + 6 + { nixpkgs ? <nixpkgs> 7 + , pkgs ? import nixpkgs { config = {}; } 8 + , fetchurl ? pkgs.fetchurl 9 + , lib ? pkgs.lib 10 + , stdenv ? pkgs.stdenv 11 + , buildRustCrateForPkgs ? pkgs: pkgs.buildRustCrate 12 + # This is used as the `crateOverrides` argument for `buildRustCrate`. 13 + , defaultCrateOverrides ? pkgs.defaultCrateOverrides 14 + # The features to enable for the root_crate or the workspace_members. 15 + , rootFeatures ? [ "default" ] 16 + # If true, throw errors instead of issueing deprecation warnings. 17 + , strictDeprecation ? false 18 + # Elements to add to the `-C target-feature=` argument passed to `rustc` 19 + # (separated by `,`, prefixed with `+`). 20 + # Used for conditional compilation based on CPU feature detection. 21 + , targetFeatures ? [] 22 + # Whether to perform release builds: longer compile times, faster binaries. 23 + , release ? true 24 + # Additional crate2nix configuration if it exists. 25 + , crateConfig 26 + ? if builtins.pathExists ./crate-config.nix 27 + then pkgs.callPackage ./crate-config.nix {} 28 + else {} 29 + }: 30 + 31 + rec { 32 + # 33 + # "public" attributes that we attempt to keep stable with new versions of crate2nix. 34 + # 35 + 36 + rootCrate = rec { 37 + packageId = "gleam2nix"; 38 + 39 + # Use this attribute to refer to the derivation building your root crate package. 40 + # You can override the features with rootCrate.build.override { features = [ "default" "feature1" ... ]; }. 41 + build = internal.buildRustCrateWithFeatures { 42 + inherit packageId; 43 + }; 44 + 45 + # Debug support which might change between releases. 46 + # File a bug if you depend on any for non-debug work! 47 + debug = internal.debugCrate { inherit packageId; }; 48 + }; 49 + # Refer your crate build derivation by name here. 50 + # You can override the features with 51 + # workspaceMembers."${crateName}".build.override { features = [ "default" "feature1" ... ]; }. 52 + workspaceMembers = { 53 + "gleam2nix" = rec { 54 + packageId = "gleam2nix"; 55 + build = internal.buildRustCrateWithFeatures { 56 + packageId = "gleam2nix"; 57 + }; 58 + 59 + # Debug support which might change between releases. 60 + # File a bug if you depend on any for non-debug work! 61 + debug = internal.debugCrate { inherit packageId; }; 62 + }; 63 + }; 64 + 65 + 66 + 67 + # A derivation that joins the outputs of all workspace members together. 68 + allWorkspaceMembers = pkgs.symlinkJoin { 69 + name = "all-workspace-members"; 70 + paths = 71 + let members = builtins.attrValues workspaceMembers; 72 + in builtins.map (m: m.build) members; 73 + }; 74 + 75 + # 76 + # "internal" ("private") attributes that may change in every new version of crate2nix. 77 + # 78 + 79 + internal = rec { 80 + # Build and dependency information for crates. 81 + # Many of the fields are passed one-to-one to buildRustCrate. 82 + # 83 + # Noteworthy: 84 + # * `dependencies`/`buildDependencies`: similar to the corresponding fields for buildRustCrate. 85 + # but with additional information which is used during dependency/feature resolution. 86 + # * `resolvedDependencies`: the selected default features reported by cargo - only included for debugging. 87 + # * `devDependencies` as of now not used by `buildRustCrate` but used to 88 + # inject test dependencies into the build 89 + 90 + crates = { 91 + "addr2line" = rec { 92 + crateName = "addr2line"; 93 + version = "0.24.2"; 94 + edition = "2018"; 95 + crateBin = []; 96 + sha256 = "1hd1i57zxgz08j6h5qrhsnm2fi0bcqvsh389fw400xm3arz2ggnz"; 97 + dependencies = [ 98 + { 99 + name = "gimli"; 100 + packageId = "gimli"; 101 + usesDefaultFeatures = false; 102 + features = [ "read" ]; 103 + } 104 + ]; 105 + features = { 106 + "all" = [ "bin" ]; 107 + "alloc" = [ "dep:alloc" ]; 108 + "bin" = [ "loader" "rustc-demangle" "cpp_demangle" "fallible-iterator" "smallvec" "dep:clap" ]; 109 + "compiler_builtins" = [ "dep:compiler_builtins" ]; 110 + "core" = [ "dep:core" ]; 111 + "cpp_demangle" = [ "dep:cpp_demangle" ]; 112 + "default" = [ "rustc-demangle" "cpp_demangle" "loader" "fallible-iterator" "smallvec" ]; 113 + "fallible-iterator" = [ "dep:fallible-iterator" ]; 114 + "loader" = [ "std" "dep:object" "dep:memmap2" "dep:typed-arena" ]; 115 + "rustc-demangle" = [ "dep:rustc-demangle" ]; 116 + "rustc-dep-of-std" = [ "core" "alloc" "compiler_builtins" "gimli/rustc-dep-of-std" ]; 117 + "smallvec" = [ "dep:smallvec" ]; 118 + "std" = [ "gimli/std" ]; 119 + }; 120 + }; 121 + "adler2" = rec { 122 + crateName = "adler2"; 123 + version = "2.0.1"; 124 + edition = "2021"; 125 + sha256 = "1ymy18s9hs7ya1pjc9864l30wk8p2qfqdi7mhhcc5nfakxbij09j"; 126 + authors = [ 127 + "Jonas Schievink <jonasschievink@gmail.com>" 128 + "oyvindln <oyvindln@users.noreply.github.com>" 129 + ]; 130 + features = { 131 + "core" = [ "dep:core" ]; 132 + "default" = [ "std" ]; 133 + "rustc-dep-of-std" = [ "core" ]; 134 + }; 135 + }; 136 + "autocfg" = rec { 137 + crateName = "autocfg"; 138 + version = "1.5.0"; 139 + edition = "2015"; 140 + sha256 = "1s77f98id9l4af4alklmzq46f21c980v13z2r1pcxx6bqgw0d1n0"; 141 + authors = [ 142 + "Josh Stone <cuviper@gmail.com>" 143 + ]; 144 + 145 + }; 146 + "backtrace" = rec { 147 + crateName = "backtrace"; 148 + version = "0.3.75"; 149 + edition = "2021"; 150 + sha256 = "00hhizz29mvd7cdqyz5wrj98vqkihgcxmv2vl7z0d0f53qrac1k8"; 151 + authors = [ 152 + "The Rust Project Developers" 153 + ]; 154 + dependencies = [ 155 + { 156 + name = "addr2line"; 157 + packageId = "addr2line"; 158 + usesDefaultFeatures = false; 159 + target = { target, features }: (!((target."windows" or false) && ("msvc" == target."env" or null) && (!("uwp" == target."vendor" or null)))); 160 + } 161 + { 162 + name = "cfg-if"; 163 + packageId = "cfg-if"; 164 + } 165 + { 166 + name = "libc"; 167 + packageId = "libc"; 168 + usesDefaultFeatures = false; 169 + target = { target, features }: (!((target."windows" or false) && ("msvc" == target."env" or null) && (!("uwp" == target."vendor" or null)))); 170 + } 171 + { 172 + name = "miniz_oxide"; 173 + packageId = "miniz_oxide"; 174 + usesDefaultFeatures = false; 175 + target = { target, features }: (!((target."windows" or false) && ("msvc" == target."env" or null) && (!("uwp" == target."vendor" or null)))); 176 + } 177 + { 178 + name = "object"; 179 + packageId = "object"; 180 + usesDefaultFeatures = false; 181 + target = { target, features }: (!((target."windows" or false) && ("msvc" == target."env" or null) && (!("uwp" == target."vendor" or null)))); 182 + features = [ "read_core" "elf" "macho" "pe" "xcoff" "unaligned" "archive" ]; 183 + } 184 + { 185 + name = "rustc-demangle"; 186 + packageId = "rustc-demangle"; 187 + } 188 + { 189 + name = "windows-targets"; 190 + packageId = "windows-targets 0.52.6"; 191 + target = { target, features }: ((target."windows" or false) || ("cygwin" == target."os" or null)); 192 + } 193 + ]; 194 + features = { 195 + "cpp_demangle" = [ "dep:cpp_demangle" ]; 196 + "default" = [ "std" ]; 197 + "ruzstd" = [ "dep:ruzstd" ]; 198 + "serde" = [ "dep:serde" ]; 199 + "serialize-serde" = [ "serde" ]; 200 + }; 201 + resolvedDefaultFeatures = [ "default" "std" ]; 202 + }; 203 + "backtrace-ext" = rec { 204 + crateName = "backtrace-ext"; 205 + version = "0.2.1"; 206 + edition = "2018"; 207 + sha256 = "0l4xacjnx4jrn9k14xbs2swks018mviq03sp7c1gn62apviywysk"; 208 + libName = "backtrace_ext"; 209 + dependencies = [ 210 + { 211 + name = "backtrace"; 212 + packageId = "backtrace"; 213 + } 214 + ]; 215 + 216 + }; 217 + "base64" = rec { 218 + crateName = "base64"; 219 + version = "0.22.1"; 220 + edition = "2018"; 221 + sha256 = "1imqzgh7bxcikp5vx3shqvw9j09g9ly0xr0jma0q66i52r7jbcvj"; 222 + authors = [ 223 + "Marshall Pierce <marshall@mpierce.org>" 224 + ]; 225 + features = { 226 + "default" = [ "std" ]; 227 + "std" = [ "alloc" ]; 228 + }; 229 + resolvedDefaultFeatures = [ "alloc" "default" "std" ]; 230 + }; 231 + "bitflags" = rec { 232 + crateName = "bitflags"; 233 + version = "2.9.4"; 234 + edition = "2021"; 235 + sha256 = "157kkcv8s7vk6d17dar1pa5cqcz4c8pdrn16wm1ld7jnr86d2q92"; 236 + authors = [ 237 + "The Rust Project Developers" 238 + ]; 239 + features = { 240 + "arbitrary" = [ "dep:arbitrary" ]; 241 + "bytemuck" = [ "dep:bytemuck" ]; 242 + "serde" = [ "dep:serde" ]; 243 + }; 244 + resolvedDefaultFeatures = [ "std" ]; 245 + }; 246 + "byteorder" = rec { 247 + crateName = "byteorder"; 248 + version = "1.5.0"; 249 + edition = "2021"; 250 + sha256 = "0jzncxyf404mwqdbspihyzpkndfgda450l0893pz5xj685cg5l0z"; 251 + authors = [ 252 + "Andrew Gallant <jamslam@gmail.com>" 253 + ]; 254 + features = { 255 + "default" = [ "std" ]; 256 + }; 257 + resolvedDefaultFeatures = [ "default" "std" ]; 258 + }; 259 + "cfg-if" = rec { 260 + crateName = "cfg-if"; 261 + version = "1.0.3"; 262 + edition = "2018"; 263 + sha256 = "1afg7146gbxjvkbjx7i5sdrpqp9q5akmk9004fr8rsm90jf2il9g"; 264 + libName = "cfg_if"; 265 + authors = [ 266 + "Alex Crichton <alex@alexcrichton.com>" 267 + ]; 268 + features = { 269 + "core" = [ "dep:core" ]; 270 + "rustc-dep-of-std" = [ "core" ]; 271 + }; 272 + }; 273 + "equivalent" = rec { 274 + crateName = "equivalent"; 275 + version = "1.0.2"; 276 + edition = "2015"; 277 + sha256 = "03swzqznragy8n0x31lqc78g2af054jwivp7lkrbrc0khz74lyl7"; 278 + 279 + }; 280 + "errno" = rec { 281 + crateName = "errno"; 282 + version = "0.3.14"; 283 + edition = "2018"; 284 + sha256 = "1szgccmh8vgryqyadg8xd58mnwwicf39zmin3bsn63df2wbbgjir"; 285 + authors = [ 286 + "Chris Wong <lambda.fairy@gmail.com>" 287 + "Dan Gohman <dev@sunfishcode.online>" 288 + ]; 289 + dependencies = [ 290 + { 291 + name = "libc"; 292 + packageId = "libc"; 293 + usesDefaultFeatures = false; 294 + target = { target, features }: ("hermit" == target."os" or null); 295 + } 296 + { 297 + name = "libc"; 298 + packageId = "libc"; 299 + usesDefaultFeatures = false; 300 + target = { target, features }: ("wasi" == target."os" or null); 301 + } 302 + { 303 + name = "libc"; 304 + packageId = "libc"; 305 + usesDefaultFeatures = false; 306 + target = { target, features }: (target."unix" or false); 307 + } 308 + { 309 + name = "windows-sys"; 310 + packageId = "windows-sys 0.61.0"; 311 + target = { target, features }: (target."windows" or false); 312 + features = [ "Win32_Foundation" "Win32_System_Diagnostics_Debug" ]; 313 + } 314 + ]; 315 + features = { 316 + "default" = [ "std" ]; 317 + "std" = [ "libc/std" ]; 318 + }; 319 + resolvedDefaultFeatures = [ "std" ]; 320 + }; 321 + "facet" = rec { 322 + crateName = "facet"; 323 + version = "0.29.1"; 324 + edition = "2024"; 325 + sha256 = "0ih94456csny3zakj8wsf930k0qnbwvm18qsr03f6vnjkzj7lyy4"; 326 + dependencies = [ 327 + { 328 + name = "facet-core"; 329 + packageId = "facet-core"; 330 + usesDefaultFeatures = false; 331 + } 332 + { 333 + name = "facet-macros"; 334 + packageId = "facet-macros"; 335 + } 336 + { 337 + name = "static_assertions"; 338 + packageId = "static_assertions"; 339 + } 340 + ]; 341 + features = { 342 + "alloc" = [ "facet-core/alloc" ]; 343 + "bytes" = [ "facet-core/bytes" ]; 344 + "camino" = [ "facet-core/camino" ]; 345 + "chrono" = [ "facet-core/chrono" ]; 346 + "default" = [ "std" ]; 347 + "fn-ptr" = [ "facet-core/fn-ptr" ]; 348 + "function" = [ "facet-macros/function" ]; 349 + "jiff02" = [ "facet-core/jiff02" ]; 350 + "ordered-float" = [ "facet-core/ordered-float" ]; 351 + "reflect" = [ "dep:facet-reflect" ]; 352 + "std" = [ "facet-core/std" "alloc" ]; 353 + "time" = [ "facet-core/time" ]; 354 + "tuples-12" = [ "facet-core/tuples-12" ]; 355 + "ulid" = [ "facet-core/ulid" ]; 356 + "url" = [ "facet-core/url" ]; 357 + "uuid" = [ "facet-core/uuid" ]; 358 + }; 359 + resolvedDefaultFeatures = [ "alloc" "default" "std" ]; 360 + }; 361 + "facet-args" = rec { 362 + crateName = "facet-args"; 363 + version = "0.29.0"; 364 + edition = "2024"; 365 + sha256 = "1gnkhggzj5r59lpnm313lrqhk9kh7a45spyfffis8g504ds48vb7"; 366 + libName = "facet_args"; 367 + dependencies = [ 368 + { 369 + name = "facet-core"; 370 + packageId = "facet-core"; 371 + } 372 + { 373 + name = "facet-reflect"; 374 + packageId = "facet-reflect"; 375 + } 376 + { 377 + name = "heck"; 378 + packageId = "heck"; 379 + } 380 + { 381 + name = "log"; 382 + packageId = "log"; 383 + } 384 + { 385 + name = "miette"; 386 + packageId = "miette"; 387 + usesDefaultFeatures = false; 388 + } 389 + ]; 390 + devDependencies = [ 391 + { 392 + name = "miette"; 393 + packageId = "miette"; 394 + usesDefaultFeatures = false; 395 + features = [ "fancy" ]; 396 + } 397 + ]; 398 + features = { 399 + "default" = [ "rich-diagnostics" ]; 400 + }; 401 + resolvedDefaultFeatures = [ "default" "rich-diagnostics" ]; 402 + }; 403 + "facet-core" = rec { 404 + crateName = "facet-core"; 405 + version = "0.29.1"; 406 + edition = "2024"; 407 + sha256 = "0ixx907g13f99gwpphb6yvv78qd3dg5a7nsl0451i3wzvqc8li4z"; 408 + libName = "facet_core"; 409 + dependencies = [ 410 + { 411 + name = "bitflags"; 412 + packageId = "bitflags"; 413 + } 414 + { 415 + name = "impls"; 416 + packageId = "impls"; 417 + } 418 + ]; 419 + features = { 420 + "bytes" = [ "alloc" "dep:bytes" ]; 421 + "camino" = [ "dep:camino" "alloc" ]; 422 + "chrono" = [ "alloc" "dep:chrono" ]; 423 + "default" = [ "std" ]; 424 + "jiff02" = [ "alloc" "dep:jiff" ]; 425 + "ordered-float" = [ "dep:ordered-float" ]; 426 + "std" = [ "alloc" ]; 427 + "time" = [ "alloc" "dep:time" ]; 428 + "ulid" = [ "alloc" "dep:ulid" ]; 429 + "url" = [ "alloc" "dep:url" ]; 430 + "uuid" = [ "alloc" "dep:uuid" ]; 431 + }; 432 + resolvedDefaultFeatures = [ "alloc" "default" "std" ]; 433 + }; 434 + "facet-deserialize" = rec { 435 + crateName = "facet-deserialize"; 436 + version = "0.29.0"; 437 + edition = "2024"; 438 + sha256 = "03ypil16r2yrdpii7zslgavsf0y12f2zbfb10bxykdcsb1xyr8wg"; 439 + libName = "facet_deserialize"; 440 + dependencies = [ 441 + { 442 + name = "facet-core"; 443 + packageId = "facet-core"; 444 + usesDefaultFeatures = false; 445 + } 446 + { 447 + name = "facet-reflect"; 448 + packageId = "facet-reflect"; 449 + usesDefaultFeatures = false; 450 + } 451 + { 452 + name = "log"; 453 + packageId = "log"; 454 + } 455 + { 456 + name = "owo-colors"; 457 + packageId = "owo-colors"; 458 + } 459 + ]; 460 + features = { 461 + "alloc" = [ "facet-core/alloc" "facet-reflect/alloc" ]; 462 + "ariadne" = [ "alloc" "dep:ariadne" ]; 463 + "default" = [ "std" "rich-diagnostics" ]; 464 + "rich-diagnostics" = [ "ariadne" "std" ]; 465 + "std" = [ "alloc" ]; 466 + }; 467 + }; 468 + "facet-json" = rec { 469 + crateName = "facet-json"; 470 + version = "0.29.0"; 471 + edition = "2024"; 472 + sha256 = "09n92fx4m3q5xh2x37g18ywvkwh9ma6yvwndkihs2s69108r0qkm"; 473 + libName = "facet_json"; 474 + dependencies = [ 475 + { 476 + name = "facet-core"; 477 + packageId = "facet-core"; 478 + usesDefaultFeatures = false; 479 + features = [ "alloc" ]; 480 + } 481 + { 482 + name = "facet-deserialize"; 483 + packageId = "facet-deserialize"; 484 + usesDefaultFeatures = false; 485 + } 486 + { 487 + name = "facet-reflect"; 488 + packageId = "facet-reflect"; 489 + usesDefaultFeatures = false; 490 + features = [ "alloc" ]; 491 + } 492 + { 493 + name = "facet-serialize"; 494 + packageId = "facet-serialize"; 495 + usesDefaultFeatures = false; 496 + } 497 + { 498 + name = "itoa"; 499 + packageId = "itoa"; 500 + } 501 + { 502 + name = "lexical-parse-float"; 503 + packageId = "lexical-parse-float"; 504 + } 505 + { 506 + name = "lexical-parse-integer"; 507 + packageId = "lexical-parse-integer"; 508 + } 509 + { 510 + name = "log"; 511 + packageId = "log"; 512 + } 513 + { 514 + name = "ryu"; 515 + packageId = "ryu"; 516 + } 517 + ]; 518 + features = { 519 + "default" = [ "rich-diagnostics" ]; 520 + "rich-diagnostics" = [ "facet-deserialize/rich-diagnostics" ]; 521 + }; 522 + }; 523 + "facet-macros" = rec { 524 + crateName = "facet-macros"; 525 + version = "0.29.1"; 526 + edition = "2024"; 527 + sha256 = "1zjwij738j20x1237yzx5vnw8yjjwll5im8cxhagckpsxxkgn9np"; 528 + procMacro = true; 529 + libName = "facet_macros"; 530 + dependencies = [ 531 + { 532 + name = "facet-core"; 533 + packageId = "facet-core"; 534 + target = { target, features }: false; 535 + } 536 + { 537 + name = "facet-macros-emit"; 538 + packageId = "facet-macros-emit"; 539 + } 540 + ]; 541 + features = { 542 + "function" = [ "facet-macros-emit/function" ]; 543 + }; 544 + }; 545 + "facet-macros-emit" = rec { 546 + crateName = "facet-macros-emit"; 547 + version = "0.29.1"; 548 + edition = "2024"; 549 + sha256 = "0qgyq5nxklxkz4acpvaw4bimdx55k5ay8p3v6nwrz1s36mjxbj5k"; 550 + libName = "facet_macros_emit"; 551 + dependencies = [ 552 + { 553 + name = "facet-macros-parse"; 554 + packageId = "facet-macros-parse"; 555 + } 556 + { 557 + name = "quote"; 558 + packageId = "quote"; 559 + } 560 + ]; 561 + features = { 562 + "function" = [ "facet-macros-parse/function" ]; 563 + }; 564 + }; 565 + "facet-macros-parse" = rec { 566 + crateName = "facet-macros-parse"; 567 + version = "0.29.1"; 568 + edition = "2024"; 569 + sha256 = "0dkpm65kr98xwvchf0camfxd0cx6n3nsqji29p0srbckslg5qxwz"; 570 + libName = "facet_macros_parse"; 571 + dependencies = [ 572 + { 573 + name = "proc-macro2"; 574 + packageId = "proc-macro2"; 575 + } 576 + { 577 + name = "quote"; 578 + packageId = "quote"; 579 + } 580 + { 581 + name = "unsynn"; 582 + packageId = "unsynn"; 583 + } 584 + ]; 585 + features = { 586 + }; 587 + }; 588 + "facet-reflect" = rec { 589 + crateName = "facet-reflect"; 590 + version = "0.29.1"; 591 + edition = "2024"; 592 + sha256 = "0c1xnp05b29nh4zgwnqmrb1qjim2i91v3r0zsh26mszprajj355i"; 593 + libName = "facet_reflect"; 594 + dependencies = [ 595 + { 596 + name = "bitflags"; 597 + packageId = "bitflags"; 598 + } 599 + { 600 + name = "facet-core"; 601 + packageId = "facet-core"; 602 + usesDefaultFeatures = false; 603 + } 604 + ]; 605 + features = { 606 + "alloc" = [ "facet-core/alloc" ]; 607 + "camino" = [ "alloc" "dep:camino" "facet-core/camino" ]; 608 + "default" = [ "std" ]; 609 + "fn-ptr" = [ "facet-core/fn-ptr" ]; 610 + "jiff02" = [ "facet-core/jiff02" ]; 611 + "log" = [ "dep:log" ]; 612 + "std" = [ "alloc" ]; 613 + "time" = [ "facet-core/time" ]; 614 + "ulid" = [ "alloc" "dep:ulid" "facet-core/ulid" ]; 615 + "uuid" = [ "alloc" "dep:uuid" "facet-core/uuid" ]; 616 + }; 617 + resolvedDefaultFeatures = [ "alloc" "default" "std" ]; 618 + }; 619 + "facet-serialize" = rec { 620 + crateName = "facet-serialize"; 621 + version = "0.29.0"; 622 + edition = "2024"; 623 + sha256 = "18ckkz02yckixrx1zx5pz3dljr4qkn6cbyk25wil1jkdnihda841"; 624 + libName = "facet_serialize"; 625 + dependencies = [ 626 + { 627 + name = "facet-core"; 628 + packageId = "facet-core"; 629 + usesDefaultFeatures = false; 630 + } 631 + { 632 + name = "facet-reflect"; 633 + packageId = "facet-reflect"; 634 + usesDefaultFeatures = false; 635 + } 636 + { 637 + name = "log"; 638 + packageId = "log"; 639 + } 640 + ]; 641 + features = { 642 + "alloc" = [ "facet-core/alloc" "facet-reflect/alloc" ]; 643 + "default" = [ "std" ]; 644 + "std" = [ "alloc" ]; 645 + }; 646 + resolvedDefaultFeatures = [ "alloc" "std" ]; 647 + }; 648 + "facet-toml" = rec { 649 + crateName = "facet-toml"; 650 + version = "0.29.0"; 651 + edition = "2024"; 652 + sha256 = "0dmixb45q783yfm7jzdrm4gj3aqjl3pyvdmfqqbp58pyx8c49fdr"; 653 + libName = "facet_toml"; 654 + dependencies = [ 655 + { 656 + name = "facet-core"; 657 + packageId = "facet-core"; 658 + usesDefaultFeatures = false; 659 + } 660 + { 661 + name = "facet-reflect"; 662 + packageId = "facet-reflect"; 663 + usesDefaultFeatures = false; 664 + } 665 + { 666 + name = "facet-serialize"; 667 + packageId = "facet-serialize"; 668 + optional = true; 669 + usesDefaultFeatures = false; 670 + } 671 + { 672 + name = "log"; 673 + packageId = "log"; 674 + } 675 + { 676 + name = "num-traits"; 677 + packageId = "num-traits"; 678 + usesDefaultFeatures = false; 679 + } 680 + { 681 + name = "owo-colors"; 682 + packageId = "owo-colors"; 683 + } 684 + { 685 + name = "toml_edit"; 686 + packageId = "toml_edit"; 687 + optional = true; 688 + usesDefaultFeatures = false; 689 + features = [ "parse" ]; 690 + } 691 + ]; 692 + features = { 693 + "alloc" = [ "facet-core/alloc" "facet-reflect/alloc" "facet-serialize?/alloc" ]; 694 + "default" = [ "serialize" "deserialize" "std" "rich-diagnostics" ]; 695 + "deserialize" = [ "alloc" "toml_edit/parse" ]; 696 + "rich-diagnostics" = [ "dep:ariadne" "std" ]; 697 + "serialize" = [ "alloc" "dep:facet-serialize" "toml_edit/display" ]; 698 + "std" = [ "alloc" "facet-core/std" "facet-reflect/std" "num-traits/std" "facet-serialize?/std" ]; 699 + "toml_edit" = [ "dep:toml_edit" ]; 700 + }; 701 + resolvedDefaultFeatures = [ "alloc" "deserialize" "std" "toml_edit" ]; 702 + }; 703 + "fxhash" = rec { 704 + crateName = "fxhash"; 705 + version = "0.2.1"; 706 + edition = "2015"; 707 + sha256 = "037mb9ichariqi45xm6mz0b11pa92gj38ba0409z3iz239sns6y3"; 708 + libPath = "lib.rs"; 709 + authors = [ 710 + "cbreeden <github@u.breeden.cc>" 711 + ]; 712 + dependencies = [ 713 + { 714 + name = "byteorder"; 715 + packageId = "byteorder"; 716 + } 717 + ]; 718 + 719 + }; 720 + "gimli" = rec { 721 + crateName = "gimli"; 722 + version = "0.31.1"; 723 + edition = "2018"; 724 + sha256 = "0gvqc0ramx8szv76jhfd4dms0zyamvlg4whhiz11j34hh3dqxqh7"; 725 + features = { 726 + "default" = [ "read-all" "write" ]; 727 + "endian-reader" = [ "read" "dep:stable_deref_trait" ]; 728 + "fallible-iterator" = [ "dep:fallible-iterator" ]; 729 + "read" = [ "read-core" ]; 730 + "read-all" = [ "read" "std" "fallible-iterator" "endian-reader" ]; 731 + "rustc-dep-of-std" = [ "dep:core" "dep:alloc" "dep:compiler_builtins" ]; 732 + "std" = [ "fallible-iterator?/std" "stable_deref_trait?/std" ]; 733 + "write" = [ "dep:indexmap" ]; 734 + }; 735 + resolvedDefaultFeatures = [ "read" "read-core" ]; 736 + }; 737 + "gleam2nix" = rec { 738 + crateName = "gleam2nix"; 739 + version = "0.1.0"; 740 + edition = "2024"; 741 + crateBin = [ 742 + { 743 + name = "gleam2nix"; 744 + path = "src/main.rs"; 745 + requiredFeatures = [ ]; 746 + } 747 + ]; 748 + src = lib.cleanSourceWith { filter = sourceFilter; src = ../.; }; 749 + dependencies = [ 750 + { 751 + name = "base64"; 752 + packageId = "base64"; 753 + } 754 + { 755 + name = "facet"; 756 + packageId = "facet"; 757 + } 758 + { 759 + name = "facet-args"; 760 + packageId = "facet-args"; 761 + } 762 + { 763 + name = "facet-json"; 764 + packageId = "facet-json"; 765 + usesDefaultFeatures = false; 766 + } 767 + { 768 + name = "facet-toml"; 769 + packageId = "facet-toml"; 770 + usesDefaultFeatures = false; 771 + features = [ "std" "deserialize" ]; 772 + } 773 + { 774 + name = "hex"; 775 + packageId = "hex"; 776 + } 777 + { 778 + name = "miette"; 779 + packageId = "miette"; 780 + usesDefaultFeatures = false; 781 + features = [ "fancy" ]; 782 + } 783 + ]; 784 + 785 + }; 786 + "hashbrown" = rec { 787 + crateName = "hashbrown"; 788 + version = "0.15.5"; 789 + edition = "2021"; 790 + sha256 = "189qaczmjxnikm9db748xyhiw04kpmhm9xj9k9hg0sgx7pjwyacj"; 791 + authors = [ 792 + "Amanieu d'Antras <amanieu@gmail.com>" 793 + ]; 794 + features = { 795 + "alloc" = [ "dep:alloc" ]; 796 + "allocator-api2" = [ "dep:allocator-api2" ]; 797 + "core" = [ "dep:core" ]; 798 + "default" = [ "default-hasher" "inline-more" "allocator-api2" "equivalent" "raw-entry" ]; 799 + "default-hasher" = [ "dep:foldhash" ]; 800 + "equivalent" = [ "dep:equivalent" ]; 801 + "nightly" = [ "bumpalo/allocator_api" ]; 802 + "rayon" = [ "dep:rayon" ]; 803 + "rustc-dep-of-std" = [ "nightly" "core" "alloc" "rustc-internal-api" ]; 804 + "serde" = [ "dep:serde" ]; 805 + }; 806 + }; 807 + "heck" = rec { 808 + crateName = "heck"; 809 + version = "0.5.0"; 810 + edition = "2021"; 811 + sha256 = "1sjmpsdl8czyh9ywl3qcsfsq9a307dg4ni2vnlwgnzzqhc4y0113"; 812 + 813 + }; 814 + "hex" = rec { 815 + crateName = "hex"; 816 + version = "0.4.3"; 817 + edition = "2018"; 818 + sha256 = "0w1a4davm1lgzpamwnba907aysmlrnygbqmfis2mqjx5m552a93z"; 819 + authors = [ 820 + "KokaKiwi <kokakiwi@kokakiwi.net>" 821 + ]; 822 + features = { 823 + "default" = [ "std" ]; 824 + "serde" = [ "dep:serde" ]; 825 + "std" = [ "alloc" ]; 826 + }; 827 + resolvedDefaultFeatures = [ "alloc" "default" "std" ]; 828 + }; 829 + "impls" = rec { 830 + crateName = "impls"; 831 + version = "1.0.3"; 832 + edition = "2015"; 833 + sha256 = "1g2i16vn99kmzfaag6df9bjg3k9p2p1jc3qdm5hqhlvhpmdn8iks"; 834 + authors = [ 835 + "Nikolai Vazquez" 836 + "Nadrieril Feneanar" 837 + ]; 838 + 839 + }; 840 + "indexmap" = rec { 841 + crateName = "indexmap"; 842 + version = "2.11.3"; 843 + edition = "2021"; 844 + sha256 = "1hqs931f1sd3r92zj77ji9bs75f20amnj0s3aqas9zqkym29h4cj"; 845 + dependencies = [ 846 + { 847 + name = "equivalent"; 848 + packageId = "equivalent"; 849 + usesDefaultFeatures = false; 850 + } 851 + { 852 + name = "hashbrown"; 853 + packageId = "hashbrown"; 854 + usesDefaultFeatures = false; 855 + } 856 + ]; 857 + features = { 858 + "arbitrary" = [ "dep:arbitrary" ]; 859 + "borsh" = [ "dep:borsh" ]; 860 + "default" = [ "std" ]; 861 + "quickcheck" = [ "dep:quickcheck" ]; 862 + "rayon" = [ "dep:rayon" ]; 863 + "serde" = [ "dep:serde_core" "dep:serde" ]; 864 + "sval" = [ "dep:sval" ]; 865 + }; 866 + resolvedDefaultFeatures = [ "default" "std" ]; 867 + }; 868 + "is_ci" = rec { 869 + crateName = "is_ci"; 870 + version = "1.2.0"; 871 + edition = "2018"; 872 + crateBin = []; 873 + sha256 = "0ifwvxmrsj4r29agfzr71bjq6y1bihkx38fbzafq5vl0jn1wjmbn"; 874 + authors = [ 875 + "Kat Marchán <kzm@zkat.tech>" 876 + ]; 877 + 878 + }; 879 + "itoa" = rec { 880 + crateName = "itoa"; 881 + version = "1.0.15"; 882 + edition = "2018"; 883 + sha256 = "0b4fj9kz54dr3wam0vprjwgygvycyw8r0qwg7vp19ly8b2w16psa"; 884 + authors = [ 885 + "David Tolnay <dtolnay@gmail.com>" 886 + ]; 887 + features = { 888 + "no-panic" = [ "dep:no-panic" ]; 889 + }; 890 + }; 891 + "lexical-parse-float" = rec { 892 + crateName = "lexical-parse-float"; 893 + version = "1.0.5"; 894 + edition = "2021"; 895 + sha256 = "1wmhcndf7gvfqvmd5v61nhbqgaybiw27q1cs41h81c5h3yq9qvyy"; 896 + libName = "lexical_parse_float"; 897 + authors = [ 898 + "Alex Huszagh <ahuszagh@gmail.com>" 899 + ]; 900 + dependencies = [ 901 + { 902 + name = "lexical-parse-integer"; 903 + packageId = "lexical-parse-integer"; 904 + usesDefaultFeatures = false; 905 + } 906 + { 907 + name = "lexical-util"; 908 + packageId = "lexical-util"; 909 + usesDefaultFeatures = false; 910 + features = [ "parse-floats" ]; 911 + } 912 + { 913 + name = "static_assertions"; 914 + packageId = "static_assertions"; 915 + } 916 + ]; 917 + features = { 918 + "compact" = [ "lexical-util/compact" "lexical-parse-integer/compact" ]; 919 + "default" = [ "std" ]; 920 + "f128" = [ "lexical-util/f128" ]; 921 + "f16" = [ "lexical-util/f16" ]; 922 + "format" = [ "lexical-util/format" "lexical-parse-integer/format" ]; 923 + "lint" = [ "lexical-util/lint" "lexical-parse-integer/lint" ]; 924 + "power-of-two" = [ "lexical-util/power-of-two" "lexical-parse-integer/power-of-two" ]; 925 + "radix" = [ "lexical-util/radix" "lexical-parse-integer/radix" "power-of-two" ]; 926 + "std" = [ "lexical-util/std" "lexical-parse-integer/std" ]; 927 + }; 928 + resolvedDefaultFeatures = [ "default" "std" ]; 929 + }; 930 + "lexical-parse-integer" = rec { 931 + crateName = "lexical-parse-integer"; 932 + version = "1.0.5"; 933 + edition = "2021"; 934 + sha256 = "0bpidpb0viqj9wx3z727y6d59smz5kj7km5nlwdi42pw4ap7l83j"; 935 + libName = "lexical_parse_integer"; 936 + authors = [ 937 + "Alex Huszagh <ahuszagh@gmail.com>" 938 + ]; 939 + dependencies = [ 940 + { 941 + name = "lexical-util"; 942 + packageId = "lexical-util"; 943 + usesDefaultFeatures = false; 944 + features = [ "parse-integers" ]; 945 + } 946 + { 947 + name = "static_assertions"; 948 + packageId = "static_assertions"; 949 + } 950 + ]; 951 + features = { 952 + "compact" = [ "lexical-util/compact" ]; 953 + "default" = [ "std" ]; 954 + "format" = [ "lexical-util/format" ]; 955 + "lint" = [ "lexical-util/lint" ]; 956 + "power-of-two" = [ "lexical-util/power-of-two" ]; 957 + "radix" = [ "lexical-util/radix" "power-of-two" ]; 958 + "std" = [ "lexical-util/std" ]; 959 + }; 960 + resolvedDefaultFeatures = [ "default" "std" ]; 961 + }; 962 + "lexical-util" = rec { 963 + crateName = "lexical-util"; 964 + version = "1.0.6"; 965 + edition = "2021"; 966 + sha256 = "1cx0974y9x63ikra6l2vqcr4gmf8pipdrfzzfz0j9z9pym5y50js"; 967 + libName = "lexical_util"; 968 + authors = [ 969 + "Alex Huszagh <ahuszagh@gmail.com>" 970 + ]; 971 + dependencies = [ 972 + { 973 + name = "static_assertions"; 974 + packageId = "static_assertions"; 975 + } 976 + ]; 977 + features = { 978 + "default" = [ "std" ]; 979 + "f128" = [ "parse-floats" "write-floats" ]; 980 + "f16" = [ "parse-floats" "write-floats" ]; 981 + "parse-floats" = [ "parse" "floats" ]; 982 + "parse-integers" = [ "parse" "integers" ]; 983 + "radix" = [ "power-of-two" ]; 984 + "write-floats" = [ "write" "floats" ]; 985 + "write-integers" = [ "write" "integers" ]; 986 + }; 987 + resolvedDefaultFeatures = [ "floats" "integers" "parse" "parse-floats" "parse-integers" "std" ]; 988 + }; 989 + "libc" = rec { 990 + crateName = "libc"; 991 + version = "0.2.175"; 992 + edition = "2021"; 993 + sha256 = "0hw5sb3gjr0ivah7s3fmavlpvspjpd4mr009abmam2sr7r4sx0ka"; 994 + authors = [ 995 + "The Rust Project Developers" 996 + ]; 997 + features = { 998 + "default" = [ "std" ]; 999 + "rustc-dep-of-std" = [ "align" "rustc-std-workspace-core" ]; 1000 + "rustc-std-workspace-core" = [ "dep:rustc-std-workspace-core" ]; 1001 + "use_std" = [ "std" ]; 1002 + }; 1003 + resolvedDefaultFeatures = [ "std" ]; 1004 + }; 1005 + "linux-raw-sys" = rec { 1006 + crateName = "linux-raw-sys"; 1007 + version = "0.11.0"; 1008 + edition = "2021"; 1009 + sha256 = "0fghx0nn8nvbz5yzgizfcwd6ap2pislp68j8c1bwyr6sacxkq7fz"; 1010 + libName = "linux_raw_sys"; 1011 + authors = [ 1012 + "Dan Gohman <dev@sunfishcode.online>" 1013 + ]; 1014 + features = { 1015 + "core" = [ "dep:core" ]; 1016 + "default" = [ "std" "general" "errno" ]; 1017 + "rustc-dep-of-std" = [ "core" "no_std" ]; 1018 + }; 1019 + resolvedDefaultFeatures = [ "auxvec" "elf" "errno" "general" "ioctl" "no_std" ]; 1020 + }; 1021 + "log" = rec { 1022 + crateName = "log"; 1023 + version = "0.4.28"; 1024 + edition = "2021"; 1025 + sha256 = "0cklpzrpxafbaq1nyxarhnmcw9z3xcjrad3ch55mmr58xw2ha21l"; 1026 + authors = [ 1027 + "The Rust Project Developers" 1028 + ]; 1029 + features = { 1030 + "kv_serde" = [ "kv_std" "value-bag/serde" "serde" ]; 1031 + "kv_std" = [ "std" "kv" "value-bag/error" ]; 1032 + "kv_sval" = [ "kv" "value-bag/sval" "sval" "sval_ref" ]; 1033 + "kv_unstable" = [ "kv" "value-bag" ]; 1034 + "kv_unstable_serde" = [ "kv_serde" "kv_unstable_std" ]; 1035 + "kv_unstable_std" = [ "kv_std" "kv_unstable" ]; 1036 + "kv_unstable_sval" = [ "kv_sval" "kv_unstable" ]; 1037 + "serde" = [ "dep:serde" ]; 1038 + "sval" = [ "dep:sval" ]; 1039 + "sval_ref" = [ "dep:sval_ref" ]; 1040 + "value-bag" = [ "dep:value-bag" ]; 1041 + }; 1042 + }; 1043 + "memchr" = rec { 1044 + crateName = "memchr"; 1045 + version = "2.7.5"; 1046 + edition = "2021"; 1047 + sha256 = "1h2bh2jajkizz04fh047lpid5wgw2cr9igpkdhl3ibzscpd858ij"; 1048 + authors = [ 1049 + "Andrew Gallant <jamslam@gmail.com>" 1050 + "bluss" 1051 + ]; 1052 + features = { 1053 + "core" = [ "dep:core" ]; 1054 + "default" = [ "std" ]; 1055 + "logging" = [ "dep:log" ]; 1056 + "rustc-dep-of-std" = [ "core" ]; 1057 + "std" = [ "alloc" ]; 1058 + "use_std" = [ "std" ]; 1059 + }; 1060 + resolvedDefaultFeatures = [ "alloc" "std" ]; 1061 + }; 1062 + "miette" = rec { 1063 + crateName = "miette"; 1064 + version = "7.6.0"; 1065 + edition = "2018"; 1066 + sha256 = "1dwjnnpcff4jzpf5ns1m19di2p0n5j31zmjv5dskrih7i3nfz62z"; 1067 + authors = [ 1068 + "Kat Marchán <kzm@zkat.tech>" 1069 + ]; 1070 + dependencies = [ 1071 + { 1072 + name = "backtrace"; 1073 + packageId = "backtrace"; 1074 + optional = true; 1075 + } 1076 + { 1077 + name = "backtrace-ext"; 1078 + packageId = "backtrace-ext"; 1079 + optional = true; 1080 + } 1081 + { 1082 + name = "cfg-if"; 1083 + packageId = "cfg-if"; 1084 + } 1085 + { 1086 + name = "owo-colors"; 1087 + packageId = "owo-colors"; 1088 + optional = true; 1089 + } 1090 + { 1091 + name = "supports-color"; 1092 + packageId = "supports-color"; 1093 + optional = true; 1094 + } 1095 + { 1096 + name = "supports-hyperlinks"; 1097 + packageId = "supports-hyperlinks"; 1098 + optional = true; 1099 + } 1100 + { 1101 + name = "supports-unicode"; 1102 + packageId = "supports-unicode"; 1103 + optional = true; 1104 + } 1105 + { 1106 + name = "terminal_size"; 1107 + packageId = "terminal_size"; 1108 + optional = true; 1109 + } 1110 + { 1111 + name = "textwrap"; 1112 + packageId = "textwrap"; 1113 + optional = true; 1114 + usesDefaultFeatures = false; 1115 + features = [ "unicode-linebreak" "unicode-width" ]; 1116 + } 1117 + { 1118 + name = "unicode-width"; 1119 + packageId = "unicode-width 0.1.14"; 1120 + } 1121 + ]; 1122 + features = { 1123 + "default" = [ "derive" ]; 1124 + "derive" = [ "dep:miette-derive" ]; 1125 + "fancy" = [ "fancy-no-backtrace" "dep:backtrace" "dep:backtrace-ext" ]; 1126 + "fancy-base" = [ "dep:owo-colors" "dep:textwrap" ]; 1127 + "fancy-no-backtrace" = [ "fancy-base" "dep:terminal_size" "dep:supports-hyperlinks" "dep:supports-color" "dep:supports-unicode" ]; 1128 + "fancy-no-syscall" = [ "fancy-base" ]; 1129 + "serde" = [ "dep:serde" ]; 1130 + "syntect-highlighter" = [ "fancy-no-backtrace" "dep:syntect" ]; 1131 + }; 1132 + resolvedDefaultFeatures = [ "fancy" "fancy-base" "fancy-no-backtrace" ]; 1133 + }; 1134 + "miniz_oxide" = rec { 1135 + crateName = "miniz_oxide"; 1136 + version = "0.8.9"; 1137 + edition = "2021"; 1138 + sha256 = "05k3pdg8bjjzayq3rf0qhpirq9k37pxnasfn4arbs17phqn6m9qz"; 1139 + authors = [ 1140 + "Frommi <daniil.liferenko@gmail.com>" 1141 + "oyvindln <oyvindln@users.noreply.github.com>" 1142 + "Rich Geldreich richgel99@gmail.com" 1143 + ]; 1144 + dependencies = [ 1145 + { 1146 + name = "adler2"; 1147 + packageId = "adler2"; 1148 + usesDefaultFeatures = false; 1149 + } 1150 + ]; 1151 + features = { 1152 + "alloc" = [ "dep:alloc" ]; 1153 + "core" = [ "dep:core" ]; 1154 + "default" = [ "with-alloc" ]; 1155 + "rustc-dep-of-std" = [ "core" "alloc" "adler2/rustc-dep-of-std" ]; 1156 + "serde" = [ "dep:serde" ]; 1157 + "simd" = [ "simd-adler32" ]; 1158 + "simd-adler32" = [ "dep:simd-adler32" ]; 1159 + }; 1160 + }; 1161 + "mutants" = rec { 1162 + crateName = "mutants"; 1163 + version = "0.0.3"; 1164 + edition = "2018"; 1165 + sha256 = "09k1jp50slkabs90vbj2fwa2z1cgcw0vvkhrn43hx5i68x98f0mw"; 1166 + procMacro = true; 1167 + 1168 + }; 1169 + "num-traits" = rec { 1170 + crateName = "num-traits"; 1171 + version = "0.2.19"; 1172 + edition = "2021"; 1173 + sha256 = "0h984rhdkkqd4ny9cif7y2azl3xdfb7768hb9irhpsch4q3gq787"; 1174 + libName = "num_traits"; 1175 + authors = [ 1176 + "The Rust Project Developers" 1177 + ]; 1178 + buildDependencies = [ 1179 + { 1180 + name = "autocfg"; 1181 + packageId = "autocfg"; 1182 + } 1183 + ]; 1184 + features = { 1185 + "default" = [ "std" ]; 1186 + "libm" = [ "dep:libm" ]; 1187 + }; 1188 + resolvedDefaultFeatures = [ "std" ]; 1189 + }; 1190 + "object" = rec { 1191 + crateName = "object"; 1192 + version = "0.36.7"; 1193 + edition = "2018"; 1194 + sha256 = "11vv97djn9nc5n6w1gc6bd96d2qk2c8cg1kw5km9bsi3v4a8x532"; 1195 + dependencies = [ 1196 + { 1197 + name = "memchr"; 1198 + packageId = "memchr"; 1199 + usesDefaultFeatures = false; 1200 + } 1201 + ]; 1202 + features = { 1203 + "all" = [ "read" "write" "build" "std" "compression" "wasm" ]; 1204 + "alloc" = [ "dep:alloc" ]; 1205 + "build" = [ "build_core" "write_std" "elf" ]; 1206 + "build_core" = [ "read_core" "write_core" ]; 1207 + "compiler_builtins" = [ "dep:compiler_builtins" ]; 1208 + "compression" = [ "dep:flate2" "dep:ruzstd" "std" ]; 1209 + "core" = [ "dep:core" ]; 1210 + "default" = [ "read" "compression" ]; 1211 + "doc" = [ "read_core" "write_std" "build_core" "std" "compression" "archive" "coff" "elf" "macho" "pe" "wasm" "xcoff" ]; 1212 + "pe" = [ "coff" ]; 1213 + "read" = [ "read_core" "archive" "coff" "elf" "macho" "pe" "xcoff" "unaligned" ]; 1214 + "rustc-dep-of-std" = [ "core" "compiler_builtins" "alloc" "memchr/rustc-dep-of-std" ]; 1215 + "std" = [ "memchr/std" ]; 1216 + "unstable-all" = [ "all" "unstable" ]; 1217 + "wasm" = [ "dep:wasmparser" ]; 1218 + "write" = [ "write_std" "coff" "elf" "macho" "pe" "xcoff" ]; 1219 + "write_core" = [ "dep:crc32fast" "dep:indexmap" "dep:hashbrown" ]; 1220 + "write_std" = [ "write_core" "std" "indexmap?/std" "crc32fast?/std" ]; 1221 + }; 1222 + resolvedDefaultFeatures = [ "archive" "coff" "elf" "macho" "pe" "read_core" "unaligned" "xcoff" ]; 1223 + }; 1224 + "owo-colors" = rec { 1225 + crateName = "owo-colors"; 1226 + version = "4.2.2"; 1227 + edition = "2021"; 1228 + sha256 = "0pjlic0x9gc12iv1rxc6gvvx0sw0wpq629a6s07l81c45i54zpa8"; 1229 + libName = "owo_colors"; 1230 + authors = [ 1231 + "jam1garner <8260240+jam1garner@users.noreply.github.com>" 1232 + ]; 1233 + features = { 1234 + "supports-color" = [ "dep:supports-color" ]; 1235 + "supports-colors" = [ "dep:supports-color-2" "supports-color" ]; 1236 + }; 1237 + }; 1238 + "proc-macro2" = rec { 1239 + crateName = "proc-macro2"; 1240 + version = "1.0.101"; 1241 + edition = "2021"; 1242 + sha256 = "1pijhychkpl7rcyf1h7mfk6gjfii1ywf5n0snmnqs5g4hvyl7bl9"; 1243 + libName = "proc_macro2"; 1244 + authors = [ 1245 + "David Tolnay <dtolnay@gmail.com>" 1246 + "Alex Crichton <alex@alexcrichton.com>" 1247 + ]; 1248 + dependencies = [ 1249 + { 1250 + name = "unicode-ident"; 1251 + packageId = "unicode-ident"; 1252 + } 1253 + ]; 1254 + features = { 1255 + "default" = [ "proc-macro" ]; 1256 + }; 1257 + resolvedDefaultFeatures = [ "default" "proc-macro" "span-locations" ]; 1258 + }; 1259 + "quote" = rec { 1260 + crateName = "quote"; 1261 + version = "1.0.40"; 1262 + edition = "2018"; 1263 + sha256 = "1394cxjg6nwld82pzp2d4fp6pmaz32gai1zh9z5hvh0dawww118q"; 1264 + authors = [ 1265 + "David Tolnay <dtolnay@gmail.com>" 1266 + ]; 1267 + dependencies = [ 1268 + { 1269 + name = "proc-macro2"; 1270 + packageId = "proc-macro2"; 1271 + usesDefaultFeatures = false; 1272 + } 1273 + ]; 1274 + features = { 1275 + "default" = [ "proc-macro" ]; 1276 + "proc-macro" = [ "proc-macro2/proc-macro" ]; 1277 + }; 1278 + resolvedDefaultFeatures = [ "default" "proc-macro" ]; 1279 + }; 1280 + "rustc-demangle" = rec { 1281 + crateName = "rustc-demangle"; 1282 + version = "0.1.26"; 1283 + edition = "2015"; 1284 + sha256 = "1kja3nb0yhlm4j2p1hl8d7sjmn2g9fa1s4pj0qma5kj2lcndkxsn"; 1285 + libName = "rustc_demangle"; 1286 + authors = [ 1287 + "Alex Crichton <alex@alexcrichton.com>" 1288 + ]; 1289 + features = { 1290 + "core" = [ "dep:core" ]; 1291 + "rustc-dep-of-std" = [ "core" ]; 1292 + }; 1293 + }; 1294 + "rustix" = rec { 1295 + crateName = "rustix"; 1296 + version = "1.1.2"; 1297 + edition = "2021"; 1298 + sha256 = "0gpz343xfzx16x82s1x336n0kr49j02cvhgxdvaq86jmqnigh5fd"; 1299 + authors = [ 1300 + "Dan Gohman <dev@sunfishcode.online>" 1301 + "Jakub Konka <kubkon@jakubkonka.com>" 1302 + ]; 1303 + dependencies = [ 1304 + { 1305 + name = "bitflags"; 1306 + packageId = "bitflags"; 1307 + usesDefaultFeatures = false; 1308 + } 1309 + { 1310 + name = "errno"; 1311 + packageId = "errno"; 1312 + rename = "libc_errno"; 1313 + optional = true; 1314 + usesDefaultFeatures = false; 1315 + target = { target, features }: ((!(target."rustix_use_libc" or false)) && (!(target."miri" or false)) && ("linux" == target."os" or null) && (("little" == target."endian" or null) || (("s390x" == target."arch" or null) || ("powerpc" == target."arch" or null))) && (("arm" == target."arch" or null) || (("aarch64" == target."arch" or null) && ("64" == target."pointer_width" or null)) || ("riscv64" == target."arch" or null) || ((target."rustix_use_experimental_asm" or false) && ("powerpc" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("powerpc64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("s390x" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips32r6" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64r6" == target."arch" or null)) || ("x86" == target."arch" or null) || (("x86_64" == target."arch" or null) && ("64" == target."pointer_width" or null)))); 1316 + } 1317 + { 1318 + name = "errno"; 1319 + packageId = "errno"; 1320 + rename = "libc_errno"; 1321 + usesDefaultFeatures = false; 1322 + target = { target, features }: ((!(target."windows" or false)) && ((target."rustix_use_libc" or false) || (target."miri" or false) || (!(("linux" == target."os" or null) && (("little" == target."endian" or null) || (("s390x" == target."arch" or null) || ("powerpc" == target."arch" or null))) && (("arm" == target."arch" or null) || (("aarch64" == target."arch" or null) && ("64" == target."pointer_width" or null)) || ("riscv64" == target."arch" or null) || ((target."rustix_use_experimental_asm" or false) && ("powerpc" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("powerpc64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("s390x" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips32r6" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64r6" == target."arch" or null)) || ("x86" == target."arch" or null) || (("x86_64" == target."arch" or null) && ("64" == target."pointer_width" or null))))))); 1323 + } 1324 + { 1325 + name = "errno"; 1326 + packageId = "errno"; 1327 + rename = "libc_errno"; 1328 + usesDefaultFeatures = false; 1329 + target = { target, features }: (target."windows" or false); 1330 + } 1331 + { 1332 + name = "libc"; 1333 + packageId = "libc"; 1334 + optional = true; 1335 + usesDefaultFeatures = false; 1336 + target = { target, features }: ((!(target."rustix_use_libc" or false)) && (!(target."miri" or false)) && ("linux" == target."os" or null) && (("little" == target."endian" or null) || (("s390x" == target."arch" or null) || ("powerpc" == target."arch" or null))) && (("arm" == target."arch" or null) || (("aarch64" == target."arch" or null) && ("64" == target."pointer_width" or null)) || ("riscv64" == target."arch" or null) || ((target."rustix_use_experimental_asm" or false) && ("powerpc" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("powerpc64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("s390x" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips32r6" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64r6" == target."arch" or null)) || ("x86" == target."arch" or null) || (("x86_64" == target."arch" or null) && ("64" == target."pointer_width" or null)))); 1337 + } 1338 + { 1339 + name = "libc"; 1340 + packageId = "libc"; 1341 + usesDefaultFeatures = false; 1342 + target = { target, features }: ((!(target."windows" or false)) && ((target."rustix_use_libc" or false) || (target."miri" or false) || (!(("linux" == target."os" or null) && (("little" == target."endian" or null) || (("s390x" == target."arch" or null) || ("powerpc" == target."arch" or null))) && (("arm" == target."arch" or null) || (("aarch64" == target."arch" or null) && ("64" == target."pointer_width" or null)) || ("riscv64" == target."arch" or null) || ((target."rustix_use_experimental_asm" or false) && ("powerpc" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("powerpc64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("s390x" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips32r6" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64r6" == target."arch" or null)) || ("x86" == target."arch" or null) || (("x86_64" == target."arch" or null) && ("64" == target."pointer_width" or null))))))); 1343 + } 1344 + { 1345 + name = "linux-raw-sys"; 1346 + packageId = "linux-raw-sys"; 1347 + usesDefaultFeatures = false; 1348 + target = { target, features }: ((("linux" == target."os" or null)) && ((target."rustix_use_libc" or false) || (target."miri" or false) || (!(("linux" == target."os" or null) && (("little" == target."endian" or null) || (("s390x" == target."arch" or null) || ("powerpc" == target."arch" or null))) && (("arm" == target."arch" or null) || (("aarch64" == target."arch" or null) && ("64" == target."pointer_width" or null)) || ("riscv64" == target."arch" or null) || ((target."rustix_use_experimental_asm" or false) && ("powerpc" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("powerpc64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("s390x" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips32r6" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64r6" == target."arch" or null)) || ("x86" == target."arch" or null) || (("x86_64" == target."arch" or null) && ("64" == target."pointer_width" or null))))))); 1349 + features = [ "general" "ioctl" "no_std" ]; 1350 + } 1351 + { 1352 + name = "linux-raw-sys"; 1353 + packageId = "linux-raw-sys"; 1354 + usesDefaultFeatures = false; 1355 + target = { target, features }: ((!(target."rustix_use_libc" or false)) && (!(target."miri" or false)) && ("linux" == target."os" or null) && (("little" == target."endian" or null) || (("s390x" == target."arch" or null) || ("powerpc" == target."arch" or null))) && (("arm" == target."arch" or null) || (("aarch64" == target."arch" or null) && ("64" == target."pointer_width" or null)) || ("riscv64" == target."arch" or null) || ((target."rustix_use_experimental_asm" or false) && ("powerpc" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("powerpc64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("s390x" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips32r6" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64" == target."arch" or null)) || ((target."rustix_use_experimental_asm" or false) && ("mips64r6" == target."arch" or null)) || ("x86" == target."arch" or null) || (("x86_64" == target."arch" or null) && ("64" == target."pointer_width" or null)))); 1356 + features = [ "auxvec" "general" "errno" "ioctl" "no_std" "elf" ]; 1357 + } 1358 + { 1359 + name = "windows-sys"; 1360 + packageId = "windows-sys 0.61.0"; 1361 + target = { target, features }: (target."windows" or false); 1362 + features = [ "Win32_Foundation" "Win32_Networking_WinSock" ]; 1363 + } 1364 + ]; 1365 + devDependencies = [ 1366 + { 1367 + name = "errno"; 1368 + packageId = "errno"; 1369 + rename = "libc_errno"; 1370 + usesDefaultFeatures = false; 1371 + } 1372 + { 1373 + name = "libc"; 1374 + packageId = "libc"; 1375 + } 1376 + ]; 1377 + features = { 1378 + "all-apis" = [ "event" "fs" "io_uring" "mm" "mount" "net" "param" "pipe" "process" "pty" "rand" "runtime" "shm" "stdio" "system" "termios" "thread" "time" ]; 1379 + "core" = [ "dep:core" ]; 1380 + "default" = [ "std" ]; 1381 + "io_uring" = [ "event" "fs" "net" "thread" "linux-raw-sys/io_uring" ]; 1382 + "libc" = [ "dep:libc" ]; 1383 + "libc_errno" = [ "dep:libc_errno" ]; 1384 + "linux_5_1" = [ "linux_4_11" ]; 1385 + "linux_5_11" = [ "linux_5_1" ]; 1386 + "linux_latest" = [ "linux_5_11" ]; 1387 + "net" = [ "linux-raw-sys/net" "linux-raw-sys/netlink" "linux-raw-sys/if_ether" "linux-raw-sys/xdp" ]; 1388 + "process" = [ "linux-raw-sys/prctl" ]; 1389 + "pty" = [ "fs" ]; 1390 + "runtime" = [ "linux-raw-sys/prctl" ]; 1391 + "rustc-dep-of-std" = [ "core" "rustc-std-workspace-alloc" "linux-raw-sys/rustc-dep-of-std" "bitflags/rustc-dep-of-std" ]; 1392 + "rustc-std-workspace-alloc" = [ "dep:rustc-std-workspace-alloc" ]; 1393 + "shm" = [ "fs" ]; 1394 + "std" = [ "bitflags/std" "alloc" "libc?/std" "libc_errno?/std" ]; 1395 + "system" = [ "linux-raw-sys/system" ]; 1396 + "thread" = [ "linux-raw-sys/prctl" ]; 1397 + "use-libc" = [ "libc_errno" "libc" ]; 1398 + }; 1399 + resolvedDefaultFeatures = [ "alloc" "default" "std" "termios" ]; 1400 + }; 1401 + "ryu" = rec { 1402 + crateName = "ryu"; 1403 + version = "1.0.20"; 1404 + edition = "2018"; 1405 + sha256 = "07s855l8sb333h6bpn24pka5sp7hjk2w667xy6a0khkf6sqv5lr8"; 1406 + authors = [ 1407 + "David Tolnay <dtolnay@gmail.com>" 1408 + ]; 1409 + features = { 1410 + "no-panic" = [ "dep:no-panic" ]; 1411 + }; 1412 + }; 1413 + "shadow_counted" = rec { 1414 + crateName = "shadow_counted"; 1415 + version = "0.4.0"; 1416 + edition = "2021"; 1417 + sha256 = "0swxc9s7rxnm7mpw8fzmcxpffmmsydi3dpfvmbhyng1k8za4ink5"; 1418 + authors = [ 1419 + "Christian Thäter <ct@pipapo.org>" 1420 + ]; 1421 + 1422 + }; 1423 + "static_assertions" = rec { 1424 + crateName = "static_assertions"; 1425 + version = "1.1.0"; 1426 + edition = "2015"; 1427 + sha256 = "0gsl6xmw10gvn3zs1rv99laj5ig7ylffnh71f9l34js4nr4r7sx2"; 1428 + authors = [ 1429 + "Nikolai Vazquez" 1430 + ]; 1431 + features = { 1432 + }; 1433 + }; 1434 + "supports-color" = rec { 1435 + crateName = "supports-color"; 1436 + version = "3.0.2"; 1437 + edition = "2018"; 1438 + sha256 = "1mk7r2j6l7zmqk3pg7av0l6viq413lmk1vz4bjnf9lnq5liwfky6"; 1439 + libName = "supports_color"; 1440 + authors = [ 1441 + "Kat Marchán <kzm@zkat.tech>" 1442 + ]; 1443 + dependencies = [ 1444 + { 1445 + name = "is_ci"; 1446 + packageId = "is_ci"; 1447 + } 1448 + ]; 1449 + 1450 + }; 1451 + "supports-hyperlinks" = rec { 1452 + crateName = "supports-hyperlinks"; 1453 + version = "3.1.0"; 1454 + edition = "2021"; 1455 + sha256 = "12r8d8ckdx78rhdsavh08gg4210i3bmcn2prm7k2s5b37knl8kw0"; 1456 + libName = "supports_hyperlinks"; 1457 + authors = [ 1458 + "Kat Marchán <kzm@zkat.tech>" 1459 + ]; 1460 + 1461 + }; 1462 + "supports-unicode" = rec { 1463 + crateName = "supports-unicode"; 1464 + version = "3.0.0"; 1465 + edition = "2018"; 1466 + sha256 = "1qpc344453x3ai4k9iygxnbk6lr2nw5jflj8ns5q3dbcmwq1lh5p"; 1467 + libName = "supports_unicode"; 1468 + authors = [ 1469 + "Kat Marchán <kzm@zkat.tech>" 1470 + ]; 1471 + 1472 + }; 1473 + "terminal_size" = rec { 1474 + crateName = "terminal_size"; 1475 + version = "0.4.3"; 1476 + edition = "2021"; 1477 + sha256 = "1l7cicmz49c0cyskfp5a389rsai649xi7y032v73475ikjbwpf30"; 1478 + authors = [ 1479 + "Andrew Chin <achin@eminence32.net>" 1480 + ]; 1481 + dependencies = [ 1482 + { 1483 + name = "rustix"; 1484 + packageId = "rustix"; 1485 + target = { target, features }: (target."unix" or false); 1486 + features = [ "termios" ]; 1487 + } 1488 + { 1489 + name = "windows-sys"; 1490 + packageId = "windows-sys 0.60.2"; 1491 + target = { target, features }: (target."windows" or false); 1492 + features = [ "Win32_Foundation" "Win32_System_Console" ]; 1493 + } 1494 + ]; 1495 + 1496 + }; 1497 + "textwrap" = rec { 1498 + crateName = "textwrap"; 1499 + version = "0.16.2"; 1500 + edition = "2021"; 1501 + sha256 = "0mrhd8q0dnh5hwbwhiv89c6i41yzmhw4clwa592rrp24b9hlfdf1"; 1502 + authors = [ 1503 + "Martin Geisler <martin@geisler.net>" 1504 + ]; 1505 + dependencies = [ 1506 + { 1507 + name = "unicode-linebreak"; 1508 + packageId = "unicode-linebreak"; 1509 + optional = true; 1510 + } 1511 + { 1512 + name = "unicode-width"; 1513 + packageId = "unicode-width 0.2.1"; 1514 + optional = true; 1515 + } 1516 + ]; 1517 + features = { 1518 + "default" = [ "unicode-linebreak" "unicode-width" "smawk" ]; 1519 + "hyphenation" = [ "dep:hyphenation" ]; 1520 + "smawk" = [ "dep:smawk" ]; 1521 + "terminal_size" = [ "dep:terminal_size" ]; 1522 + "unicode-linebreak" = [ "dep:unicode-linebreak" ]; 1523 + "unicode-width" = [ "dep:unicode-width" ]; 1524 + }; 1525 + resolvedDefaultFeatures = [ "unicode-linebreak" "unicode-width" ]; 1526 + }; 1527 + "toml_datetime" = rec { 1528 + crateName = "toml_datetime"; 1529 + version = "0.6.11"; 1530 + edition = "2021"; 1531 + sha256 = "077ix2hb1dcya49hmi1avalwbixmrs75zgzb3b2i7g2gizwdmk92"; 1532 + features = { 1533 + "serde" = [ "dep:serde" ]; 1534 + }; 1535 + }; 1536 + "toml_edit" = rec { 1537 + crateName = "toml_edit"; 1538 + version = "0.22.27"; 1539 + edition = "2021"; 1540 + sha256 = "16l15xm40404asih8vyjvnka9g0xs9i4hfb6ry3ph9g419k8rzj1"; 1541 + dependencies = [ 1542 + { 1543 + name = "indexmap"; 1544 + packageId = "indexmap"; 1545 + features = [ "std" ]; 1546 + } 1547 + { 1548 + name = "toml_datetime"; 1549 + packageId = "toml_datetime"; 1550 + } 1551 + { 1552 + name = "winnow"; 1553 + packageId = "winnow"; 1554 + optional = true; 1555 + } 1556 + ]; 1557 + features = { 1558 + "default" = [ "parse" "display" ]; 1559 + "display" = [ "dep:toml_write" ]; 1560 + "parse" = [ "dep:winnow" ]; 1561 + "perf" = [ "dep:kstring" ]; 1562 + "serde" = [ "dep:serde" "toml_datetime/serde" "dep:serde_spanned" ]; 1563 + "unstable-debug" = [ "winnow?/debug" ]; 1564 + }; 1565 + resolvedDefaultFeatures = [ "parse" ]; 1566 + }; 1567 + "unicode-ident" = rec { 1568 + crateName = "unicode-ident"; 1569 + version = "1.0.19"; 1570 + edition = "2018"; 1571 + sha256 = "17bx1j1zf6b9j3kpyf74mraary7ava3984km0n8kh499h5a58fpn"; 1572 + libName = "unicode_ident"; 1573 + authors = [ 1574 + "David Tolnay <dtolnay@gmail.com>" 1575 + ]; 1576 + 1577 + }; 1578 + "unicode-linebreak" = rec { 1579 + crateName = "unicode-linebreak"; 1580 + version = "0.1.5"; 1581 + edition = "2021"; 1582 + sha256 = "07spj2hh3daajg335m4wdav6nfkl0f6c0q72lc37blr97hych29v"; 1583 + libName = "unicode_linebreak"; 1584 + authors = [ 1585 + "Axel Forsman <axelsfor@gmail.com>" 1586 + ]; 1587 + 1588 + }; 1589 + "unicode-width 0.1.14" = rec { 1590 + crateName = "unicode-width"; 1591 + version = "0.1.14"; 1592 + edition = "2021"; 1593 + sha256 = "1bzn2zv0gp8xxbxbhifw778a7fc93pa6a1kj24jgg9msj07f7mkx"; 1594 + libName = "unicode_width"; 1595 + authors = [ 1596 + "kwantam <kwantam@gmail.com>" 1597 + "Manish Goregaokar <manishsmail@gmail.com>" 1598 + ]; 1599 + features = { 1600 + "compiler_builtins" = [ "dep:compiler_builtins" ]; 1601 + "core" = [ "dep:core" ]; 1602 + "default" = [ "cjk" ]; 1603 + "rustc-dep-of-std" = [ "std" "core" "compiler_builtins" ]; 1604 + "std" = [ "dep:std" ]; 1605 + }; 1606 + resolvedDefaultFeatures = [ "cjk" "default" ]; 1607 + }; 1608 + "unicode-width 0.2.1" = rec { 1609 + crateName = "unicode-width"; 1610 + version = "0.2.1"; 1611 + edition = "2021"; 1612 + sha256 = "0k0mlq7xy1y1kq6cgv1r2rs2knn6rln3g3af50rhi0dkgp60f6ja"; 1613 + libName = "unicode_width"; 1614 + authors = [ 1615 + "kwantam <kwantam@gmail.com>" 1616 + "Manish Goregaokar <manishsmail@gmail.com>" 1617 + ]; 1618 + features = { 1619 + "core" = [ "dep:core" ]; 1620 + "default" = [ "cjk" ]; 1621 + "rustc-dep-of-std" = [ "std" "core" ]; 1622 + "std" = [ "dep:std" ]; 1623 + }; 1624 + resolvedDefaultFeatures = [ "cjk" "default" ]; 1625 + }; 1626 + "unsynn" = rec { 1627 + crateName = "unsynn"; 1628 + version = "0.1.1"; 1629 + edition = "2021"; 1630 + sha256 = "1g6m4anf2h1cydash719vys8laxdzks82fy43hhi3kr5kqx60h3r"; 1631 + authors = [ 1632 + "Christian Thäter <ct@pipapo.org>" 1633 + ]; 1634 + dependencies = [ 1635 + { 1636 + name = "fxhash"; 1637 + packageId = "fxhash"; 1638 + optional = true; 1639 + } 1640 + { 1641 + name = "mutants"; 1642 + packageId = "mutants"; 1643 + } 1644 + { 1645 + name = "proc-macro2"; 1646 + packageId = "proc-macro2"; 1647 + features = [ "proc-macro" "span-locations" ]; 1648 + } 1649 + { 1650 + name = "shadow_counted"; 1651 + packageId = "shadow_counted"; 1652 + } 1653 + ]; 1654 + features = { 1655 + "default" = [ "hash_keywords" "docgen" ]; 1656 + "hash_keywords" = [ "dep:fxhash" ]; 1657 + }; 1658 + resolvedDefaultFeatures = [ "default" "docgen" "hash_keywords" ]; 1659 + }; 1660 + "windows-link 0.1.3" = rec { 1661 + crateName = "windows-link"; 1662 + version = "0.1.3"; 1663 + edition = "2021"; 1664 + sha256 = "12kr1p46dbhpijr4zbwr2spfgq8i8c5x55mvvfmyl96m01cx4sjy"; 1665 + libName = "windows_link"; 1666 + authors = [ 1667 + "Microsoft" 1668 + ]; 1669 + 1670 + }; 1671 + "windows-link 0.2.0" = rec { 1672 + crateName = "windows-link"; 1673 + version = "0.2.0"; 1674 + edition = "2021"; 1675 + sha256 = "0r9w2z96d5phmm185aq92z54jp9h2nqisa4wgc71idxbc436rr25"; 1676 + libName = "windows_link"; 1677 + 1678 + }; 1679 + "windows-sys 0.60.2" = rec { 1680 + crateName = "windows-sys"; 1681 + version = "0.60.2"; 1682 + edition = "2021"; 1683 + sha256 = "1jrbc615ihqnhjhxplr2kw7rasrskv9wj3lr80hgfd42sbj01xgj"; 1684 + libName = "windows_sys"; 1685 + authors = [ 1686 + "Microsoft" 1687 + ]; 1688 + dependencies = [ 1689 + { 1690 + name = "windows-targets"; 1691 + packageId = "windows-targets 0.53.3"; 1692 + usesDefaultFeatures = false; 1693 + } 1694 + ]; 1695 + features = { 1696 + "Wdk" = [ "Win32_Foundation" ]; 1697 + "Wdk_Devices" = [ "Wdk" ]; 1698 + "Wdk_Devices_Bluetooth" = [ "Wdk_Devices" ]; 1699 + "Wdk_Devices_HumanInterfaceDevice" = [ "Wdk_Devices" ]; 1700 + "Wdk_Foundation" = [ "Wdk" ]; 1701 + "Wdk_Graphics" = [ "Wdk" ]; 1702 + "Wdk_Graphics_Direct3D" = [ "Wdk_Graphics" ]; 1703 + "Wdk_NetworkManagement" = [ "Wdk" ]; 1704 + "Wdk_NetworkManagement_Ndis" = [ "Wdk_NetworkManagement" ]; 1705 + "Wdk_NetworkManagement_WindowsFilteringPlatform" = [ "Wdk_NetworkManagement" ]; 1706 + "Wdk_Storage" = [ "Wdk" ]; 1707 + "Wdk_Storage_FileSystem" = [ "Wdk_Storage" ]; 1708 + "Wdk_Storage_FileSystem_Minifilters" = [ "Wdk_Storage_FileSystem" ]; 1709 + "Wdk_System" = [ "Wdk" ]; 1710 + "Wdk_System_IO" = [ "Wdk_System" ]; 1711 + "Wdk_System_Memory" = [ "Wdk_System" ]; 1712 + "Wdk_System_OfflineRegistry" = [ "Wdk_System" ]; 1713 + "Wdk_System_Registry" = [ "Wdk_System" ]; 1714 + "Wdk_System_SystemInformation" = [ "Wdk_System" ]; 1715 + "Wdk_System_SystemServices" = [ "Wdk_System" ]; 1716 + "Wdk_System_Threading" = [ "Wdk_System" ]; 1717 + "Win32" = [ "Win32_Foundation" ]; 1718 + "Win32_Data" = [ "Win32" ]; 1719 + "Win32_Data_HtmlHelp" = [ "Win32_Data" ]; 1720 + "Win32_Data_RightsManagement" = [ "Win32_Data" ]; 1721 + "Win32_Devices" = [ "Win32" ]; 1722 + "Win32_Devices_AllJoyn" = [ "Win32_Devices" ]; 1723 + "Win32_Devices_Beep" = [ "Win32_Devices" ]; 1724 + "Win32_Devices_BiometricFramework" = [ "Win32_Devices" ]; 1725 + "Win32_Devices_Bluetooth" = [ "Win32_Devices" ]; 1726 + "Win32_Devices_Cdrom" = [ "Win32_Devices" ]; 1727 + "Win32_Devices_Communication" = [ "Win32_Devices" ]; 1728 + "Win32_Devices_DeviceAndDriverInstallation" = [ "Win32_Devices" ]; 1729 + "Win32_Devices_DeviceQuery" = [ "Win32_Devices" ]; 1730 + "Win32_Devices_Display" = [ "Win32_Devices" ]; 1731 + "Win32_Devices_Dvd" = [ "Win32_Devices" ]; 1732 + "Win32_Devices_Enumeration" = [ "Win32_Devices" ]; 1733 + "Win32_Devices_Enumeration_Pnp" = [ "Win32_Devices_Enumeration" ]; 1734 + "Win32_Devices_Fax" = [ "Win32_Devices" ]; 1735 + "Win32_Devices_HumanInterfaceDevice" = [ "Win32_Devices" ]; 1736 + "Win32_Devices_Nfc" = [ "Win32_Devices" ]; 1737 + "Win32_Devices_Nfp" = [ "Win32_Devices" ]; 1738 + "Win32_Devices_PortableDevices" = [ "Win32_Devices" ]; 1739 + "Win32_Devices_Properties" = [ "Win32_Devices" ]; 1740 + "Win32_Devices_Pwm" = [ "Win32_Devices" ]; 1741 + "Win32_Devices_Sensors" = [ "Win32_Devices" ]; 1742 + "Win32_Devices_SerialCommunication" = [ "Win32_Devices" ]; 1743 + "Win32_Devices_Tapi" = [ "Win32_Devices" ]; 1744 + "Win32_Devices_Usb" = [ "Win32_Devices" ]; 1745 + "Win32_Devices_WebServicesOnDevices" = [ "Win32_Devices" ]; 1746 + "Win32_Foundation" = [ "Win32" ]; 1747 + "Win32_Gaming" = [ "Win32" ]; 1748 + "Win32_Globalization" = [ "Win32" ]; 1749 + "Win32_Graphics" = [ "Win32" ]; 1750 + "Win32_Graphics_Dwm" = [ "Win32_Graphics" ]; 1751 + "Win32_Graphics_Gdi" = [ "Win32_Graphics" ]; 1752 + "Win32_Graphics_GdiPlus" = [ "Win32_Graphics" ]; 1753 + "Win32_Graphics_Hlsl" = [ "Win32_Graphics" ]; 1754 + "Win32_Graphics_OpenGL" = [ "Win32_Graphics" ]; 1755 + "Win32_Graphics_Printing" = [ "Win32_Graphics" ]; 1756 + "Win32_Graphics_Printing_PrintTicket" = [ "Win32_Graphics_Printing" ]; 1757 + "Win32_Management" = [ "Win32" ]; 1758 + "Win32_Management_MobileDeviceManagementRegistration" = [ "Win32_Management" ]; 1759 + "Win32_Media" = [ "Win32" ]; 1760 + "Win32_Media_Audio" = [ "Win32_Media" ]; 1761 + "Win32_Media_DxMediaObjects" = [ "Win32_Media" ]; 1762 + "Win32_Media_KernelStreaming" = [ "Win32_Media" ]; 1763 + "Win32_Media_Multimedia" = [ "Win32_Media" ]; 1764 + "Win32_Media_Streaming" = [ "Win32_Media" ]; 1765 + "Win32_Media_WindowsMediaFormat" = [ "Win32_Media" ]; 1766 + "Win32_NetworkManagement" = [ "Win32" ]; 1767 + "Win32_NetworkManagement_Dhcp" = [ "Win32_NetworkManagement" ]; 1768 + "Win32_NetworkManagement_Dns" = [ "Win32_NetworkManagement" ]; 1769 + "Win32_NetworkManagement_InternetConnectionWizard" = [ "Win32_NetworkManagement" ]; 1770 + "Win32_NetworkManagement_IpHelper" = [ "Win32_NetworkManagement" ]; 1771 + "Win32_NetworkManagement_Multicast" = [ "Win32_NetworkManagement" ]; 1772 + "Win32_NetworkManagement_Ndis" = [ "Win32_NetworkManagement" ]; 1773 + "Win32_NetworkManagement_NetBios" = [ "Win32_NetworkManagement" ]; 1774 + "Win32_NetworkManagement_NetManagement" = [ "Win32_NetworkManagement" ]; 1775 + "Win32_NetworkManagement_NetShell" = [ "Win32_NetworkManagement" ]; 1776 + "Win32_NetworkManagement_NetworkDiagnosticsFramework" = [ "Win32_NetworkManagement" ]; 1777 + "Win32_NetworkManagement_P2P" = [ "Win32_NetworkManagement" ]; 1778 + "Win32_NetworkManagement_QoS" = [ "Win32_NetworkManagement" ]; 1779 + "Win32_NetworkManagement_Rras" = [ "Win32_NetworkManagement" ]; 1780 + "Win32_NetworkManagement_Snmp" = [ "Win32_NetworkManagement" ]; 1781 + "Win32_NetworkManagement_WNet" = [ "Win32_NetworkManagement" ]; 1782 + "Win32_NetworkManagement_WebDav" = [ "Win32_NetworkManagement" ]; 1783 + "Win32_NetworkManagement_WiFi" = [ "Win32_NetworkManagement" ]; 1784 + "Win32_NetworkManagement_WindowsConnectionManager" = [ "Win32_NetworkManagement" ]; 1785 + "Win32_NetworkManagement_WindowsFilteringPlatform" = [ "Win32_NetworkManagement" ]; 1786 + "Win32_NetworkManagement_WindowsFirewall" = [ "Win32_NetworkManagement" ]; 1787 + "Win32_NetworkManagement_WindowsNetworkVirtualization" = [ "Win32_NetworkManagement" ]; 1788 + "Win32_Networking" = [ "Win32" ]; 1789 + "Win32_Networking_ActiveDirectory" = [ "Win32_Networking" ]; 1790 + "Win32_Networking_Clustering" = [ "Win32_Networking" ]; 1791 + "Win32_Networking_HttpServer" = [ "Win32_Networking" ]; 1792 + "Win32_Networking_Ldap" = [ "Win32_Networking" ]; 1793 + "Win32_Networking_WebSocket" = [ "Win32_Networking" ]; 1794 + "Win32_Networking_WinHttp" = [ "Win32_Networking" ]; 1795 + "Win32_Networking_WinInet" = [ "Win32_Networking" ]; 1796 + "Win32_Networking_WinSock" = [ "Win32_Networking" ]; 1797 + "Win32_Networking_WindowsWebServices" = [ "Win32_Networking" ]; 1798 + "Win32_Security" = [ "Win32" ]; 1799 + "Win32_Security_AppLocker" = [ "Win32_Security" ]; 1800 + "Win32_Security_Authentication" = [ "Win32_Security" ]; 1801 + "Win32_Security_Authentication_Identity" = [ "Win32_Security_Authentication" ]; 1802 + "Win32_Security_Authorization" = [ "Win32_Security" ]; 1803 + "Win32_Security_Credentials" = [ "Win32_Security" ]; 1804 + "Win32_Security_Cryptography" = [ "Win32_Security" ]; 1805 + "Win32_Security_Cryptography_Catalog" = [ "Win32_Security_Cryptography" ]; 1806 + "Win32_Security_Cryptography_Certificates" = [ "Win32_Security_Cryptography" ]; 1807 + "Win32_Security_Cryptography_Sip" = [ "Win32_Security_Cryptography" ]; 1808 + "Win32_Security_Cryptography_UI" = [ "Win32_Security_Cryptography" ]; 1809 + "Win32_Security_DiagnosticDataQuery" = [ "Win32_Security" ]; 1810 + "Win32_Security_DirectoryServices" = [ "Win32_Security" ]; 1811 + "Win32_Security_EnterpriseData" = [ "Win32_Security" ]; 1812 + "Win32_Security_ExtensibleAuthenticationProtocol" = [ "Win32_Security" ]; 1813 + "Win32_Security_Isolation" = [ "Win32_Security" ]; 1814 + "Win32_Security_LicenseProtection" = [ "Win32_Security" ]; 1815 + "Win32_Security_NetworkAccessProtection" = [ "Win32_Security" ]; 1816 + "Win32_Security_WinTrust" = [ "Win32_Security" ]; 1817 + "Win32_Security_WinWlx" = [ "Win32_Security" ]; 1818 + "Win32_Storage" = [ "Win32" ]; 1819 + "Win32_Storage_Cabinets" = [ "Win32_Storage" ]; 1820 + "Win32_Storage_CloudFilters" = [ "Win32_Storage" ]; 1821 + "Win32_Storage_Compression" = [ "Win32_Storage" ]; 1822 + "Win32_Storage_DistributedFileSystem" = [ "Win32_Storage" ]; 1823 + "Win32_Storage_FileHistory" = [ "Win32_Storage" ]; 1824 + "Win32_Storage_FileSystem" = [ "Win32_Storage" ]; 1825 + "Win32_Storage_Imapi" = [ "Win32_Storage" ]; 1826 + "Win32_Storage_IndexServer" = [ "Win32_Storage" ]; 1827 + "Win32_Storage_InstallableFileSystems" = [ "Win32_Storage" ]; 1828 + "Win32_Storage_IscsiDisc" = [ "Win32_Storage" ]; 1829 + "Win32_Storage_Jet" = [ "Win32_Storage" ]; 1830 + "Win32_Storage_Nvme" = [ "Win32_Storage" ]; 1831 + "Win32_Storage_OfflineFiles" = [ "Win32_Storage" ]; 1832 + "Win32_Storage_OperationRecorder" = [ "Win32_Storage" ]; 1833 + "Win32_Storage_Packaging" = [ "Win32_Storage" ]; 1834 + "Win32_Storage_Packaging_Appx" = [ "Win32_Storage_Packaging" ]; 1835 + "Win32_Storage_ProjectedFileSystem" = [ "Win32_Storage" ]; 1836 + "Win32_Storage_StructuredStorage" = [ "Win32_Storage" ]; 1837 + "Win32_Storage_Vhd" = [ "Win32_Storage" ]; 1838 + "Win32_Storage_Xps" = [ "Win32_Storage" ]; 1839 + "Win32_System" = [ "Win32" ]; 1840 + "Win32_System_AddressBook" = [ "Win32_System" ]; 1841 + "Win32_System_Antimalware" = [ "Win32_System" ]; 1842 + "Win32_System_ApplicationInstallationAndServicing" = [ "Win32_System" ]; 1843 + "Win32_System_ApplicationVerifier" = [ "Win32_System" ]; 1844 + "Win32_System_ClrHosting" = [ "Win32_System" ]; 1845 + "Win32_System_Com" = [ "Win32_System" ]; 1846 + "Win32_System_Com_Marshal" = [ "Win32_System_Com" ]; 1847 + "Win32_System_Com_StructuredStorage" = [ "Win32_System_Com" ]; 1848 + "Win32_System_Com_Urlmon" = [ "Win32_System_Com" ]; 1849 + "Win32_System_ComponentServices" = [ "Win32_System" ]; 1850 + "Win32_System_Console" = [ "Win32_System" ]; 1851 + "Win32_System_CorrelationVector" = [ "Win32_System" ]; 1852 + "Win32_System_DataExchange" = [ "Win32_System" ]; 1853 + "Win32_System_DeploymentServices" = [ "Win32_System" ]; 1854 + "Win32_System_DeveloperLicensing" = [ "Win32_System" ]; 1855 + "Win32_System_Diagnostics" = [ "Win32_System" ]; 1856 + "Win32_System_Diagnostics_Ceip" = [ "Win32_System_Diagnostics" ]; 1857 + "Win32_System_Diagnostics_Debug" = [ "Win32_System_Diagnostics" ]; 1858 + "Win32_System_Diagnostics_Debug_Extensions" = [ "Win32_System_Diagnostics_Debug" ]; 1859 + "Win32_System_Diagnostics_Etw" = [ "Win32_System_Diagnostics" ]; 1860 + "Win32_System_Diagnostics_ProcessSnapshotting" = [ "Win32_System_Diagnostics" ]; 1861 + "Win32_System_Diagnostics_ToolHelp" = [ "Win32_System_Diagnostics" ]; 1862 + "Win32_System_Diagnostics_TraceLogging" = [ "Win32_System_Diagnostics" ]; 1863 + "Win32_System_DistributedTransactionCoordinator" = [ "Win32_System" ]; 1864 + "Win32_System_Environment" = [ "Win32_System" ]; 1865 + "Win32_System_ErrorReporting" = [ "Win32_System" ]; 1866 + "Win32_System_EventCollector" = [ "Win32_System" ]; 1867 + "Win32_System_EventLog" = [ "Win32_System" ]; 1868 + "Win32_System_EventNotificationService" = [ "Win32_System" ]; 1869 + "Win32_System_GroupPolicy" = [ "Win32_System" ]; 1870 + "Win32_System_HostCompute" = [ "Win32_System" ]; 1871 + "Win32_System_HostComputeNetwork" = [ "Win32_System" ]; 1872 + "Win32_System_HostComputeSystem" = [ "Win32_System" ]; 1873 + "Win32_System_Hypervisor" = [ "Win32_System" ]; 1874 + "Win32_System_IO" = [ "Win32_System" ]; 1875 + "Win32_System_Iis" = [ "Win32_System" ]; 1876 + "Win32_System_Ioctl" = [ "Win32_System" ]; 1877 + "Win32_System_JobObjects" = [ "Win32_System" ]; 1878 + "Win32_System_Js" = [ "Win32_System" ]; 1879 + "Win32_System_Kernel" = [ "Win32_System" ]; 1880 + "Win32_System_LibraryLoader" = [ "Win32_System" ]; 1881 + "Win32_System_Mailslots" = [ "Win32_System" ]; 1882 + "Win32_System_Mapi" = [ "Win32_System" ]; 1883 + "Win32_System_Memory" = [ "Win32_System" ]; 1884 + "Win32_System_Memory_NonVolatile" = [ "Win32_System_Memory" ]; 1885 + "Win32_System_MessageQueuing" = [ "Win32_System" ]; 1886 + "Win32_System_MixedReality" = [ "Win32_System" ]; 1887 + "Win32_System_Ole" = [ "Win32_System" ]; 1888 + "Win32_System_PasswordManagement" = [ "Win32_System" ]; 1889 + "Win32_System_Performance" = [ "Win32_System" ]; 1890 + "Win32_System_Performance_HardwareCounterProfiling" = [ "Win32_System_Performance" ]; 1891 + "Win32_System_Pipes" = [ "Win32_System" ]; 1892 + "Win32_System_Power" = [ "Win32_System" ]; 1893 + "Win32_System_ProcessStatus" = [ "Win32_System" ]; 1894 + "Win32_System_Recovery" = [ "Win32_System" ]; 1895 + "Win32_System_Registry" = [ "Win32_System" ]; 1896 + "Win32_System_RemoteDesktop" = [ "Win32_System" ]; 1897 + "Win32_System_RemoteManagement" = [ "Win32_System" ]; 1898 + "Win32_System_RestartManager" = [ "Win32_System" ]; 1899 + "Win32_System_Restore" = [ "Win32_System" ]; 1900 + "Win32_System_Rpc" = [ "Win32_System" ]; 1901 + "Win32_System_Search" = [ "Win32_System" ]; 1902 + "Win32_System_Search_Common" = [ "Win32_System_Search" ]; 1903 + "Win32_System_SecurityCenter" = [ "Win32_System" ]; 1904 + "Win32_System_Services" = [ "Win32_System" ]; 1905 + "Win32_System_SetupAndMigration" = [ "Win32_System" ]; 1906 + "Win32_System_Shutdown" = [ "Win32_System" ]; 1907 + "Win32_System_StationsAndDesktops" = [ "Win32_System" ]; 1908 + "Win32_System_SubsystemForLinux" = [ "Win32_System" ]; 1909 + "Win32_System_SystemInformation" = [ "Win32_System" ]; 1910 + "Win32_System_SystemServices" = [ "Win32_System" ]; 1911 + "Win32_System_Threading" = [ "Win32_System" ]; 1912 + "Win32_System_Time" = [ "Win32_System" ]; 1913 + "Win32_System_TpmBaseServices" = [ "Win32_System" ]; 1914 + "Win32_System_UserAccessLogging" = [ "Win32_System" ]; 1915 + "Win32_System_Variant" = [ "Win32_System" ]; 1916 + "Win32_System_VirtualDosMachines" = [ "Win32_System" ]; 1917 + "Win32_System_WindowsProgramming" = [ "Win32_System" ]; 1918 + "Win32_System_Wmi" = [ "Win32_System" ]; 1919 + "Win32_UI" = [ "Win32" ]; 1920 + "Win32_UI_Accessibility" = [ "Win32_UI" ]; 1921 + "Win32_UI_ColorSystem" = [ "Win32_UI" ]; 1922 + "Win32_UI_Controls" = [ "Win32_UI" ]; 1923 + "Win32_UI_Controls_Dialogs" = [ "Win32_UI_Controls" ]; 1924 + "Win32_UI_HiDpi" = [ "Win32_UI" ]; 1925 + "Win32_UI_Input" = [ "Win32_UI" ]; 1926 + "Win32_UI_Input_Ime" = [ "Win32_UI_Input" ]; 1927 + "Win32_UI_Input_KeyboardAndMouse" = [ "Win32_UI_Input" ]; 1928 + "Win32_UI_Input_Pointer" = [ "Win32_UI_Input" ]; 1929 + "Win32_UI_Input_Touch" = [ "Win32_UI_Input" ]; 1930 + "Win32_UI_Input_XboxController" = [ "Win32_UI_Input" ]; 1931 + "Win32_UI_InteractionContext" = [ "Win32_UI" ]; 1932 + "Win32_UI_Magnification" = [ "Win32_UI" ]; 1933 + "Win32_UI_Shell" = [ "Win32_UI" ]; 1934 + "Win32_UI_Shell_Common" = [ "Win32_UI_Shell" ]; 1935 + "Win32_UI_Shell_PropertiesSystem" = [ "Win32_UI_Shell" ]; 1936 + "Win32_UI_TabletPC" = [ "Win32_UI" ]; 1937 + "Win32_UI_TextServices" = [ "Win32_UI" ]; 1938 + "Win32_UI_WindowsAndMessaging" = [ "Win32_UI" ]; 1939 + "Win32_Web" = [ "Win32" ]; 1940 + "Win32_Web_InternetExplorer" = [ "Win32_Web" ]; 1941 + }; 1942 + resolvedDefaultFeatures = [ "Win32" "Win32_Foundation" "Win32_System" "Win32_System_Console" "default" ]; 1943 + }; 1944 + "windows-sys 0.61.0" = rec { 1945 + crateName = "windows-sys"; 1946 + version = "0.61.0"; 1947 + edition = "2021"; 1948 + sha256 = "1ajpwsmzfcsa1r7i0dxzvfn24dp3525rcd7aq95ydvdj8171h0g2"; 1949 + libName = "windows_sys"; 1950 + dependencies = [ 1951 + { 1952 + name = "windows-link"; 1953 + packageId = "windows-link 0.2.0"; 1954 + usesDefaultFeatures = false; 1955 + } 1956 + ]; 1957 + features = { 1958 + "Wdk" = [ "Win32_Foundation" ]; 1959 + "Wdk_Devices" = [ "Wdk" ]; 1960 + "Wdk_Devices_Bluetooth" = [ "Wdk_Devices" ]; 1961 + "Wdk_Devices_HumanInterfaceDevice" = [ "Wdk_Devices" ]; 1962 + "Wdk_Foundation" = [ "Wdk" ]; 1963 + "Wdk_Graphics" = [ "Wdk" ]; 1964 + "Wdk_Graphics_Direct3D" = [ "Wdk_Graphics" ]; 1965 + "Wdk_NetworkManagement" = [ "Wdk" ]; 1966 + "Wdk_NetworkManagement_Ndis" = [ "Wdk_NetworkManagement" ]; 1967 + "Wdk_NetworkManagement_WindowsFilteringPlatform" = [ "Wdk_NetworkManagement" ]; 1968 + "Wdk_Storage" = [ "Wdk" ]; 1969 + "Wdk_Storage_FileSystem" = [ "Wdk_Storage" ]; 1970 + "Wdk_Storage_FileSystem_Minifilters" = [ "Wdk_Storage_FileSystem" ]; 1971 + "Wdk_System" = [ "Wdk" ]; 1972 + "Wdk_System_IO" = [ "Wdk_System" ]; 1973 + "Wdk_System_Memory" = [ "Wdk_System" ]; 1974 + "Wdk_System_OfflineRegistry" = [ "Wdk_System" ]; 1975 + "Wdk_System_Registry" = [ "Wdk_System" ]; 1976 + "Wdk_System_SystemInformation" = [ "Wdk_System" ]; 1977 + "Wdk_System_SystemServices" = [ "Wdk_System" ]; 1978 + "Wdk_System_Threading" = [ "Wdk_System" ]; 1979 + "Win32" = [ "Win32_Foundation" ]; 1980 + "Win32_Data" = [ "Win32" ]; 1981 + "Win32_Data_HtmlHelp" = [ "Win32_Data" ]; 1982 + "Win32_Data_RightsManagement" = [ "Win32_Data" ]; 1983 + "Win32_Devices" = [ "Win32" ]; 1984 + "Win32_Devices_AllJoyn" = [ "Win32_Devices" ]; 1985 + "Win32_Devices_Beep" = [ "Win32_Devices" ]; 1986 + "Win32_Devices_BiometricFramework" = [ "Win32_Devices" ]; 1987 + "Win32_Devices_Bluetooth" = [ "Win32_Devices" ]; 1988 + "Win32_Devices_Cdrom" = [ "Win32_Devices" ]; 1989 + "Win32_Devices_Communication" = [ "Win32_Devices" ]; 1990 + "Win32_Devices_DeviceAndDriverInstallation" = [ "Win32_Devices" ]; 1991 + "Win32_Devices_DeviceQuery" = [ "Win32_Devices" ]; 1992 + "Win32_Devices_Display" = [ "Win32_Devices" ]; 1993 + "Win32_Devices_Dvd" = [ "Win32_Devices" ]; 1994 + "Win32_Devices_Enumeration" = [ "Win32_Devices" ]; 1995 + "Win32_Devices_Enumeration_Pnp" = [ "Win32_Devices_Enumeration" ]; 1996 + "Win32_Devices_Fax" = [ "Win32_Devices" ]; 1997 + "Win32_Devices_HumanInterfaceDevice" = [ "Win32_Devices" ]; 1998 + "Win32_Devices_Nfc" = [ "Win32_Devices" ]; 1999 + "Win32_Devices_Nfp" = [ "Win32_Devices" ]; 2000 + "Win32_Devices_PortableDevices" = [ "Win32_Devices" ]; 2001 + "Win32_Devices_Properties" = [ "Win32_Devices" ]; 2002 + "Win32_Devices_Pwm" = [ "Win32_Devices" ]; 2003 + "Win32_Devices_Sensors" = [ "Win32_Devices" ]; 2004 + "Win32_Devices_SerialCommunication" = [ "Win32_Devices" ]; 2005 + "Win32_Devices_Tapi" = [ "Win32_Devices" ]; 2006 + "Win32_Devices_Usb" = [ "Win32_Devices" ]; 2007 + "Win32_Devices_WebServicesOnDevices" = [ "Win32_Devices" ]; 2008 + "Win32_Foundation" = [ "Win32" ]; 2009 + "Win32_Gaming" = [ "Win32" ]; 2010 + "Win32_Globalization" = [ "Win32" ]; 2011 + "Win32_Graphics" = [ "Win32" ]; 2012 + "Win32_Graphics_Dwm" = [ "Win32_Graphics" ]; 2013 + "Win32_Graphics_Gdi" = [ "Win32_Graphics" ]; 2014 + "Win32_Graphics_GdiPlus" = [ "Win32_Graphics" ]; 2015 + "Win32_Graphics_Hlsl" = [ "Win32_Graphics" ]; 2016 + "Win32_Graphics_OpenGL" = [ "Win32_Graphics" ]; 2017 + "Win32_Graphics_Printing" = [ "Win32_Graphics" ]; 2018 + "Win32_Graphics_Printing_PrintTicket" = [ "Win32_Graphics_Printing" ]; 2019 + "Win32_Management" = [ "Win32" ]; 2020 + "Win32_Management_MobileDeviceManagementRegistration" = [ "Win32_Management" ]; 2021 + "Win32_Media" = [ "Win32" ]; 2022 + "Win32_Media_Audio" = [ "Win32_Media" ]; 2023 + "Win32_Media_DxMediaObjects" = [ "Win32_Media" ]; 2024 + "Win32_Media_KernelStreaming" = [ "Win32_Media" ]; 2025 + "Win32_Media_Multimedia" = [ "Win32_Media" ]; 2026 + "Win32_Media_Streaming" = [ "Win32_Media" ]; 2027 + "Win32_Media_WindowsMediaFormat" = [ "Win32_Media" ]; 2028 + "Win32_NetworkManagement" = [ "Win32" ]; 2029 + "Win32_NetworkManagement_Dhcp" = [ "Win32_NetworkManagement" ]; 2030 + "Win32_NetworkManagement_Dns" = [ "Win32_NetworkManagement" ]; 2031 + "Win32_NetworkManagement_InternetConnectionWizard" = [ "Win32_NetworkManagement" ]; 2032 + "Win32_NetworkManagement_IpHelper" = [ "Win32_NetworkManagement" ]; 2033 + "Win32_NetworkManagement_Multicast" = [ "Win32_NetworkManagement" ]; 2034 + "Win32_NetworkManagement_Ndis" = [ "Win32_NetworkManagement" ]; 2035 + "Win32_NetworkManagement_NetBios" = [ "Win32_NetworkManagement" ]; 2036 + "Win32_NetworkManagement_NetManagement" = [ "Win32_NetworkManagement" ]; 2037 + "Win32_NetworkManagement_NetShell" = [ "Win32_NetworkManagement" ]; 2038 + "Win32_NetworkManagement_NetworkDiagnosticsFramework" = [ "Win32_NetworkManagement" ]; 2039 + "Win32_NetworkManagement_P2P" = [ "Win32_NetworkManagement" ]; 2040 + "Win32_NetworkManagement_QoS" = [ "Win32_NetworkManagement" ]; 2041 + "Win32_NetworkManagement_Rras" = [ "Win32_NetworkManagement" ]; 2042 + "Win32_NetworkManagement_Snmp" = [ "Win32_NetworkManagement" ]; 2043 + "Win32_NetworkManagement_WNet" = [ "Win32_NetworkManagement" ]; 2044 + "Win32_NetworkManagement_WebDav" = [ "Win32_NetworkManagement" ]; 2045 + "Win32_NetworkManagement_WiFi" = [ "Win32_NetworkManagement" ]; 2046 + "Win32_NetworkManagement_WindowsConnectionManager" = [ "Win32_NetworkManagement" ]; 2047 + "Win32_NetworkManagement_WindowsFilteringPlatform" = [ "Win32_NetworkManagement" ]; 2048 + "Win32_NetworkManagement_WindowsFirewall" = [ "Win32_NetworkManagement" ]; 2049 + "Win32_NetworkManagement_WindowsNetworkVirtualization" = [ "Win32_NetworkManagement" ]; 2050 + "Win32_Networking" = [ "Win32" ]; 2051 + "Win32_Networking_ActiveDirectory" = [ "Win32_Networking" ]; 2052 + "Win32_Networking_Clustering" = [ "Win32_Networking" ]; 2053 + "Win32_Networking_HttpServer" = [ "Win32_Networking" ]; 2054 + "Win32_Networking_Ldap" = [ "Win32_Networking" ]; 2055 + "Win32_Networking_WebSocket" = [ "Win32_Networking" ]; 2056 + "Win32_Networking_WinHttp" = [ "Win32_Networking" ]; 2057 + "Win32_Networking_WinInet" = [ "Win32_Networking" ]; 2058 + "Win32_Networking_WinSock" = [ "Win32_Networking" ]; 2059 + "Win32_Networking_WindowsWebServices" = [ "Win32_Networking" ]; 2060 + "Win32_Security" = [ "Win32" ]; 2061 + "Win32_Security_AppLocker" = [ "Win32_Security" ]; 2062 + "Win32_Security_Authentication" = [ "Win32_Security" ]; 2063 + "Win32_Security_Authentication_Identity" = [ "Win32_Security_Authentication" ]; 2064 + "Win32_Security_Authorization" = [ "Win32_Security" ]; 2065 + "Win32_Security_Credentials" = [ "Win32_Security" ]; 2066 + "Win32_Security_Cryptography" = [ "Win32_Security" ]; 2067 + "Win32_Security_Cryptography_Catalog" = [ "Win32_Security_Cryptography" ]; 2068 + "Win32_Security_Cryptography_Certificates" = [ "Win32_Security_Cryptography" ]; 2069 + "Win32_Security_Cryptography_Sip" = [ "Win32_Security_Cryptography" ]; 2070 + "Win32_Security_Cryptography_UI" = [ "Win32_Security_Cryptography" ]; 2071 + "Win32_Security_DiagnosticDataQuery" = [ "Win32_Security" ]; 2072 + "Win32_Security_DirectoryServices" = [ "Win32_Security" ]; 2073 + "Win32_Security_EnterpriseData" = [ "Win32_Security" ]; 2074 + "Win32_Security_ExtensibleAuthenticationProtocol" = [ "Win32_Security" ]; 2075 + "Win32_Security_Isolation" = [ "Win32_Security" ]; 2076 + "Win32_Security_LicenseProtection" = [ "Win32_Security" ]; 2077 + "Win32_Security_NetworkAccessProtection" = [ "Win32_Security" ]; 2078 + "Win32_Security_WinTrust" = [ "Win32_Security" ]; 2079 + "Win32_Security_WinWlx" = [ "Win32_Security" ]; 2080 + "Win32_Storage" = [ "Win32" ]; 2081 + "Win32_Storage_Cabinets" = [ "Win32_Storage" ]; 2082 + "Win32_Storage_CloudFilters" = [ "Win32_Storage" ]; 2083 + "Win32_Storage_Compression" = [ "Win32_Storage" ]; 2084 + "Win32_Storage_DistributedFileSystem" = [ "Win32_Storage" ]; 2085 + "Win32_Storage_FileHistory" = [ "Win32_Storage" ]; 2086 + "Win32_Storage_FileSystem" = [ "Win32_Storage" ]; 2087 + "Win32_Storage_Imapi" = [ "Win32_Storage" ]; 2088 + "Win32_Storage_IndexServer" = [ "Win32_Storage" ]; 2089 + "Win32_Storage_InstallableFileSystems" = [ "Win32_Storage" ]; 2090 + "Win32_Storage_IscsiDisc" = [ "Win32_Storage" ]; 2091 + "Win32_Storage_Jet" = [ "Win32_Storage" ]; 2092 + "Win32_Storage_Nvme" = [ "Win32_Storage" ]; 2093 + "Win32_Storage_OfflineFiles" = [ "Win32_Storage" ]; 2094 + "Win32_Storage_OperationRecorder" = [ "Win32_Storage" ]; 2095 + "Win32_Storage_Packaging" = [ "Win32_Storage" ]; 2096 + "Win32_Storage_Packaging_Appx" = [ "Win32_Storage_Packaging" ]; 2097 + "Win32_Storage_ProjectedFileSystem" = [ "Win32_Storage" ]; 2098 + "Win32_Storage_StructuredStorage" = [ "Win32_Storage" ]; 2099 + "Win32_Storage_Vhd" = [ "Win32_Storage" ]; 2100 + "Win32_Storage_Xps" = [ "Win32_Storage" ]; 2101 + "Win32_System" = [ "Win32" ]; 2102 + "Win32_System_AddressBook" = [ "Win32_System" ]; 2103 + "Win32_System_Antimalware" = [ "Win32_System" ]; 2104 + "Win32_System_ApplicationInstallationAndServicing" = [ "Win32_System" ]; 2105 + "Win32_System_ApplicationVerifier" = [ "Win32_System" ]; 2106 + "Win32_System_ClrHosting" = [ "Win32_System" ]; 2107 + "Win32_System_Com" = [ "Win32_System" ]; 2108 + "Win32_System_Com_Marshal" = [ "Win32_System_Com" ]; 2109 + "Win32_System_Com_StructuredStorage" = [ "Win32_System_Com" ]; 2110 + "Win32_System_Com_Urlmon" = [ "Win32_System_Com" ]; 2111 + "Win32_System_ComponentServices" = [ "Win32_System" ]; 2112 + "Win32_System_Console" = [ "Win32_System" ]; 2113 + "Win32_System_CorrelationVector" = [ "Win32_System" ]; 2114 + "Win32_System_DataExchange" = [ "Win32_System" ]; 2115 + "Win32_System_DeploymentServices" = [ "Win32_System" ]; 2116 + "Win32_System_DeveloperLicensing" = [ "Win32_System" ]; 2117 + "Win32_System_Diagnostics" = [ "Win32_System" ]; 2118 + "Win32_System_Diagnostics_Ceip" = [ "Win32_System_Diagnostics" ]; 2119 + "Win32_System_Diagnostics_Debug" = [ "Win32_System_Diagnostics" ]; 2120 + "Win32_System_Diagnostics_Debug_Extensions" = [ "Win32_System_Diagnostics_Debug" ]; 2121 + "Win32_System_Diagnostics_Etw" = [ "Win32_System_Diagnostics" ]; 2122 + "Win32_System_Diagnostics_ProcessSnapshotting" = [ "Win32_System_Diagnostics" ]; 2123 + "Win32_System_Diagnostics_ToolHelp" = [ "Win32_System_Diagnostics" ]; 2124 + "Win32_System_Diagnostics_TraceLogging" = [ "Win32_System_Diagnostics" ]; 2125 + "Win32_System_DistributedTransactionCoordinator" = [ "Win32_System" ]; 2126 + "Win32_System_Environment" = [ "Win32_System" ]; 2127 + "Win32_System_ErrorReporting" = [ "Win32_System" ]; 2128 + "Win32_System_EventCollector" = [ "Win32_System" ]; 2129 + "Win32_System_EventLog" = [ "Win32_System" ]; 2130 + "Win32_System_EventNotificationService" = [ "Win32_System" ]; 2131 + "Win32_System_GroupPolicy" = [ "Win32_System" ]; 2132 + "Win32_System_HostCompute" = [ "Win32_System" ]; 2133 + "Win32_System_HostComputeNetwork" = [ "Win32_System" ]; 2134 + "Win32_System_HostComputeSystem" = [ "Win32_System" ]; 2135 + "Win32_System_Hypervisor" = [ "Win32_System" ]; 2136 + "Win32_System_IO" = [ "Win32_System" ]; 2137 + "Win32_System_Iis" = [ "Win32_System" ]; 2138 + "Win32_System_Ioctl" = [ "Win32_System" ]; 2139 + "Win32_System_JobObjects" = [ "Win32_System" ]; 2140 + "Win32_System_Js" = [ "Win32_System" ]; 2141 + "Win32_System_Kernel" = [ "Win32_System" ]; 2142 + "Win32_System_LibraryLoader" = [ "Win32_System" ]; 2143 + "Win32_System_Mailslots" = [ "Win32_System" ]; 2144 + "Win32_System_Mapi" = [ "Win32_System" ]; 2145 + "Win32_System_Memory" = [ "Win32_System" ]; 2146 + "Win32_System_Memory_NonVolatile" = [ "Win32_System_Memory" ]; 2147 + "Win32_System_MessageQueuing" = [ "Win32_System" ]; 2148 + "Win32_System_MixedReality" = [ "Win32_System" ]; 2149 + "Win32_System_Ole" = [ "Win32_System" ]; 2150 + "Win32_System_PasswordManagement" = [ "Win32_System" ]; 2151 + "Win32_System_Performance" = [ "Win32_System" ]; 2152 + "Win32_System_Performance_HardwareCounterProfiling" = [ "Win32_System_Performance" ]; 2153 + "Win32_System_Pipes" = [ "Win32_System" ]; 2154 + "Win32_System_Power" = [ "Win32_System" ]; 2155 + "Win32_System_ProcessStatus" = [ "Win32_System" ]; 2156 + "Win32_System_Recovery" = [ "Win32_System" ]; 2157 + "Win32_System_Registry" = [ "Win32_System" ]; 2158 + "Win32_System_RemoteDesktop" = [ "Win32_System" ]; 2159 + "Win32_System_RemoteManagement" = [ "Win32_System" ]; 2160 + "Win32_System_RestartManager" = [ "Win32_System" ]; 2161 + "Win32_System_Restore" = [ "Win32_System" ]; 2162 + "Win32_System_Rpc" = [ "Win32_System" ]; 2163 + "Win32_System_Search" = [ "Win32_System" ]; 2164 + "Win32_System_Search_Common" = [ "Win32_System_Search" ]; 2165 + "Win32_System_SecurityCenter" = [ "Win32_System" ]; 2166 + "Win32_System_Services" = [ "Win32_System" ]; 2167 + "Win32_System_SetupAndMigration" = [ "Win32_System" ]; 2168 + "Win32_System_Shutdown" = [ "Win32_System" ]; 2169 + "Win32_System_StationsAndDesktops" = [ "Win32_System" ]; 2170 + "Win32_System_SubsystemForLinux" = [ "Win32_System" ]; 2171 + "Win32_System_SystemInformation" = [ "Win32_System" ]; 2172 + "Win32_System_SystemServices" = [ "Win32_System" ]; 2173 + "Win32_System_Threading" = [ "Win32_System" ]; 2174 + "Win32_System_Time" = [ "Win32_System" ]; 2175 + "Win32_System_TpmBaseServices" = [ "Win32_System" ]; 2176 + "Win32_System_UserAccessLogging" = [ "Win32_System" ]; 2177 + "Win32_System_Variant" = [ "Win32_System" ]; 2178 + "Win32_System_VirtualDosMachines" = [ "Win32_System" ]; 2179 + "Win32_System_WindowsProgramming" = [ "Win32_System" ]; 2180 + "Win32_System_Wmi" = [ "Win32_System" ]; 2181 + "Win32_UI" = [ "Win32" ]; 2182 + "Win32_UI_Accessibility" = [ "Win32_UI" ]; 2183 + "Win32_UI_ColorSystem" = [ "Win32_UI" ]; 2184 + "Win32_UI_Controls" = [ "Win32_UI" ]; 2185 + "Win32_UI_Controls_Dialogs" = [ "Win32_UI_Controls" ]; 2186 + "Win32_UI_HiDpi" = [ "Win32_UI" ]; 2187 + "Win32_UI_Input" = [ "Win32_UI" ]; 2188 + "Win32_UI_Input_Ime" = [ "Win32_UI_Input" ]; 2189 + "Win32_UI_Input_KeyboardAndMouse" = [ "Win32_UI_Input" ]; 2190 + "Win32_UI_Input_Pointer" = [ "Win32_UI_Input" ]; 2191 + "Win32_UI_Input_Touch" = [ "Win32_UI_Input" ]; 2192 + "Win32_UI_Input_XboxController" = [ "Win32_UI_Input" ]; 2193 + "Win32_UI_InteractionContext" = [ "Win32_UI" ]; 2194 + "Win32_UI_Magnification" = [ "Win32_UI" ]; 2195 + "Win32_UI_Shell" = [ "Win32_UI" ]; 2196 + "Win32_UI_Shell_Common" = [ "Win32_UI_Shell" ]; 2197 + "Win32_UI_Shell_PropertiesSystem" = [ "Win32_UI_Shell" ]; 2198 + "Win32_UI_TabletPC" = [ "Win32_UI" ]; 2199 + "Win32_UI_TextServices" = [ "Win32_UI" ]; 2200 + "Win32_UI_WindowsAndMessaging" = [ "Win32_UI" ]; 2201 + "Win32_Web" = [ "Win32" ]; 2202 + "Win32_Web_InternetExplorer" = [ "Win32_Web" ]; 2203 + }; 2204 + resolvedDefaultFeatures = [ "Win32" "Win32_Foundation" "Win32_Networking" "Win32_Networking_WinSock" "Win32_System" "Win32_System_Diagnostics" "Win32_System_Diagnostics_Debug" "default" ]; 2205 + }; 2206 + "windows-targets 0.52.6" = rec { 2207 + crateName = "windows-targets"; 2208 + version = "0.52.6"; 2209 + edition = "2021"; 2210 + sha256 = "0wwrx625nwlfp7k93r2rra568gad1mwd888h1jwnl0vfg5r4ywlv"; 2211 + libName = "windows_targets"; 2212 + authors = [ 2213 + "Microsoft" 2214 + ]; 2215 + dependencies = [ 2216 + { 2217 + name = "windows_aarch64_gnullvm"; 2218 + packageId = "windows_aarch64_gnullvm 0.52.6"; 2219 + target = { target, features }: (target.name == "aarch64-pc-windows-gnullvm"); 2220 + } 2221 + { 2222 + name = "windows_aarch64_msvc"; 2223 + packageId = "windows_aarch64_msvc 0.52.6"; 2224 + target = { target, features }: (("aarch64" == target."arch" or null) && ("msvc" == target."env" or null) && (!(target."windows_raw_dylib" or false))); 2225 + } 2226 + { 2227 + name = "windows_i686_gnu"; 2228 + packageId = "windows_i686_gnu 0.52.6"; 2229 + target = { target, features }: (("x86" == target."arch" or null) && ("gnu" == target."env" or null) && (!("llvm" == target."abi" or null)) && (!(target."windows_raw_dylib" or false))); 2230 + } 2231 + { 2232 + name = "windows_i686_gnullvm"; 2233 + packageId = "windows_i686_gnullvm 0.52.6"; 2234 + target = { target, features }: (target.name == "i686-pc-windows-gnullvm"); 2235 + } 2236 + { 2237 + name = "windows_i686_msvc"; 2238 + packageId = "windows_i686_msvc 0.52.6"; 2239 + target = { target, features }: (("x86" == target."arch" or null) && ("msvc" == target."env" or null) && (!(target."windows_raw_dylib" or false))); 2240 + } 2241 + { 2242 + name = "windows_x86_64_gnu"; 2243 + packageId = "windows_x86_64_gnu 0.52.6"; 2244 + target = { target, features }: (("x86_64" == target."arch" or null) && ("gnu" == target."env" or null) && (!("llvm" == target."abi" or null)) && (!(target."windows_raw_dylib" or false))); 2245 + } 2246 + { 2247 + name = "windows_x86_64_gnullvm"; 2248 + packageId = "windows_x86_64_gnullvm 0.52.6"; 2249 + target = { target, features }: (target.name == "x86_64-pc-windows-gnullvm"); 2250 + } 2251 + { 2252 + name = "windows_x86_64_msvc"; 2253 + packageId = "windows_x86_64_msvc 0.52.6"; 2254 + target = { target, features }: ((("x86_64" == target."arch" or null) || ("arm64ec" == target."arch" or null)) && ("msvc" == target."env" or null) && (!(target."windows_raw_dylib" or false))); 2255 + } 2256 + ]; 2257 + 2258 + }; 2259 + "windows-targets 0.53.3" = rec { 2260 + crateName = "windows-targets"; 2261 + version = "0.53.3"; 2262 + edition = "2021"; 2263 + sha256 = "14fwwm136dhs3i1impqrrip7nvkra3bdxa4nqkblj604qhqn1znm"; 2264 + libName = "windows_targets"; 2265 + authors = [ 2266 + "Microsoft" 2267 + ]; 2268 + dependencies = [ 2269 + { 2270 + name = "windows-link"; 2271 + packageId = "windows-link 0.1.3"; 2272 + usesDefaultFeatures = false; 2273 + target = { target, features }: (target."windows_raw_dylib" or false); 2274 + } 2275 + { 2276 + name = "windows_aarch64_gnullvm"; 2277 + packageId = "windows_aarch64_gnullvm 0.53.0"; 2278 + target = { target, features }: (target.name == "aarch64-pc-windows-gnullvm"); 2279 + } 2280 + { 2281 + name = "windows_aarch64_msvc"; 2282 + packageId = "windows_aarch64_msvc 0.53.0"; 2283 + target = { target, features }: (("aarch64" == target."arch" or null) && ("msvc" == target."env" or null) && (!(target."windows_raw_dylib" or false))); 2284 + } 2285 + { 2286 + name = "windows_i686_gnu"; 2287 + packageId = "windows_i686_gnu 0.53.0"; 2288 + target = { target, features }: (("x86" == target."arch" or null) && ("gnu" == target."env" or null) && (!("llvm" == target."abi" or null)) && (!(target."windows_raw_dylib" or false))); 2289 + } 2290 + { 2291 + name = "windows_i686_gnullvm"; 2292 + packageId = "windows_i686_gnullvm 0.53.0"; 2293 + target = { target, features }: (target.name == "i686-pc-windows-gnullvm"); 2294 + } 2295 + { 2296 + name = "windows_i686_msvc"; 2297 + packageId = "windows_i686_msvc 0.53.0"; 2298 + target = { target, features }: (("x86" == target."arch" or null) && ("msvc" == target."env" or null) && (!(target."windows_raw_dylib" or false))); 2299 + } 2300 + { 2301 + name = "windows_x86_64_gnu"; 2302 + packageId = "windows_x86_64_gnu 0.53.0"; 2303 + target = { target, features }: (("x86_64" == target."arch" or null) && ("gnu" == target."env" or null) && (!("llvm" == target."abi" or null)) && (!(target."windows_raw_dylib" or false))); 2304 + } 2305 + { 2306 + name = "windows_x86_64_gnullvm"; 2307 + packageId = "windows_x86_64_gnullvm 0.53.0"; 2308 + target = { target, features }: (target.name == "x86_64-pc-windows-gnullvm"); 2309 + } 2310 + { 2311 + name = "windows_x86_64_msvc"; 2312 + packageId = "windows_x86_64_msvc 0.53.0"; 2313 + target = { target, features }: ((("x86_64" == target."arch" or null) || ("arm64ec" == target."arch" or null)) && ("msvc" == target."env" or null) && (!(target."windows_raw_dylib" or false))); 2314 + } 2315 + ]; 2316 + 2317 + }; 2318 + "windows_aarch64_gnullvm 0.52.6" = rec { 2319 + crateName = "windows_aarch64_gnullvm"; 2320 + version = "0.52.6"; 2321 + edition = "2021"; 2322 + sha256 = "1lrcq38cr2arvmz19v32qaggvj8bh1640mdm9c2fr877h0hn591j"; 2323 + authors = [ 2324 + "Microsoft" 2325 + ]; 2326 + 2327 + }; 2328 + "windows_aarch64_gnullvm 0.53.0" = rec { 2329 + crateName = "windows_aarch64_gnullvm"; 2330 + version = "0.53.0"; 2331 + edition = "2021"; 2332 + sha256 = "0r77pbpbcf8bq4yfwpz2hpq3vns8m0yacpvs2i5cn6fx1pwxbf46"; 2333 + authors = [ 2334 + "Microsoft" 2335 + ]; 2336 + 2337 + }; 2338 + "windows_aarch64_msvc 0.52.6" = rec { 2339 + crateName = "windows_aarch64_msvc"; 2340 + version = "0.52.6"; 2341 + edition = "2021"; 2342 + sha256 = "0sfl0nysnz32yyfh773hpi49b1q700ah6y7sacmjbqjjn5xjmv09"; 2343 + authors = [ 2344 + "Microsoft" 2345 + ]; 2346 + 2347 + }; 2348 + "windows_aarch64_msvc 0.53.0" = rec { 2349 + crateName = "windows_aarch64_msvc"; 2350 + version = "0.53.0"; 2351 + edition = "2021"; 2352 + sha256 = "0v766yqw51pzxxwp203yqy39ijgjamp54hhdbsyqq6x1c8gilrf7"; 2353 + authors = [ 2354 + "Microsoft" 2355 + ]; 2356 + 2357 + }; 2358 + "windows_i686_gnu 0.52.6" = rec { 2359 + crateName = "windows_i686_gnu"; 2360 + version = "0.52.6"; 2361 + edition = "2021"; 2362 + sha256 = "02zspglbykh1jh9pi7gn8g1f97jh1rrccni9ivmrfbl0mgamm6wf"; 2363 + authors = [ 2364 + "Microsoft" 2365 + ]; 2366 + 2367 + }; 2368 + "windows_i686_gnu 0.53.0" = rec { 2369 + crateName = "windows_i686_gnu"; 2370 + version = "0.53.0"; 2371 + edition = "2021"; 2372 + sha256 = "1hvjc8nv95sx5vdd79fivn8bpm7i517dqyf4yvsqgwrmkmjngp61"; 2373 + authors = [ 2374 + "Microsoft" 2375 + ]; 2376 + 2377 + }; 2378 + "windows_i686_gnullvm 0.52.6" = rec { 2379 + crateName = "windows_i686_gnullvm"; 2380 + version = "0.52.6"; 2381 + edition = "2021"; 2382 + sha256 = "0rpdx1537mw6slcpqa0rm3qixmsb79nbhqy5fsm3q2q9ik9m5vhf"; 2383 + authors = [ 2384 + "Microsoft" 2385 + ]; 2386 + 2387 + }; 2388 + "windows_i686_gnullvm 0.53.0" = rec { 2389 + crateName = "windows_i686_gnullvm"; 2390 + version = "0.53.0"; 2391 + edition = "2021"; 2392 + sha256 = "04df1in2k91qyf1wzizvh560bvyzq20yf68k8xa66vdzxnywrrlw"; 2393 + authors = [ 2394 + "Microsoft" 2395 + ]; 2396 + 2397 + }; 2398 + "windows_i686_msvc 0.52.6" = rec { 2399 + crateName = "windows_i686_msvc"; 2400 + version = "0.52.6"; 2401 + edition = "2021"; 2402 + sha256 = "0rkcqmp4zzmfvrrrx01260q3xkpzi6fzi2x2pgdcdry50ny4h294"; 2403 + authors = [ 2404 + "Microsoft" 2405 + ]; 2406 + 2407 + }; 2408 + "windows_i686_msvc 0.53.0" = rec { 2409 + crateName = "windows_i686_msvc"; 2410 + version = "0.53.0"; 2411 + edition = "2021"; 2412 + sha256 = "0pcvb25fkvqnp91z25qr5x61wyya12lx8p7nsa137cbb82ayw7sq"; 2413 + authors = [ 2414 + "Microsoft" 2415 + ]; 2416 + 2417 + }; 2418 + "windows_x86_64_gnu 0.52.6" = rec { 2419 + crateName = "windows_x86_64_gnu"; 2420 + version = "0.52.6"; 2421 + edition = "2021"; 2422 + sha256 = "0y0sifqcb56a56mvn7xjgs8g43p33mfqkd8wj1yhrgxzma05qyhl"; 2423 + authors = [ 2424 + "Microsoft" 2425 + ]; 2426 + 2427 + }; 2428 + "windows_x86_64_gnu 0.53.0" = rec { 2429 + crateName = "windows_x86_64_gnu"; 2430 + version = "0.53.0"; 2431 + edition = "2021"; 2432 + sha256 = "1flh84xkssn1n6m1riddipydcksp2pdl45vdf70jygx3ksnbam9f"; 2433 + authors = [ 2434 + "Microsoft" 2435 + ]; 2436 + 2437 + }; 2438 + "windows_x86_64_gnullvm 0.52.6" = rec { 2439 + crateName = "windows_x86_64_gnullvm"; 2440 + version = "0.52.6"; 2441 + edition = "2021"; 2442 + sha256 = "03gda7zjx1qh8k9nnlgb7m3w3s1xkysg55hkd1wjch8pqhyv5m94"; 2443 + authors = [ 2444 + "Microsoft" 2445 + ]; 2446 + 2447 + }; 2448 + "windows_x86_64_gnullvm 0.53.0" = rec { 2449 + crateName = "windows_x86_64_gnullvm"; 2450 + version = "0.53.0"; 2451 + edition = "2021"; 2452 + sha256 = "0mvc8119xpbi3q2m6mrjcdzl6afx4wffacp13v76g4jrs1fh6vha"; 2453 + authors = [ 2454 + "Microsoft" 2455 + ]; 2456 + 2457 + }; 2458 + "windows_x86_64_msvc 0.52.6" = rec { 2459 + crateName = "windows_x86_64_msvc"; 2460 + version = "0.52.6"; 2461 + edition = "2021"; 2462 + sha256 = "1v7rb5cibyzx8vak29pdrk8nx9hycsjs4w0jgms08qk49jl6v7sq"; 2463 + authors = [ 2464 + "Microsoft" 2465 + ]; 2466 + 2467 + }; 2468 + "windows_x86_64_msvc 0.53.0" = rec { 2469 + crateName = "windows_x86_64_msvc"; 2470 + version = "0.53.0"; 2471 + edition = "2021"; 2472 + sha256 = "11h4i28hq0zlnjcaqi2xdxr7ibnpa8djfggch9rki1zzb8qi8517"; 2473 + authors = [ 2474 + "Microsoft" 2475 + ]; 2476 + 2477 + }; 2478 + "winnow" = rec { 2479 + crateName = "winnow"; 2480 + version = "0.7.13"; 2481 + edition = "2021"; 2482 + sha256 = "1krrjc1wj2vx0r57m9nwnlc1zrhga3fq41d8w9hysvvqb5mj7811"; 2483 + dependencies = [ 2484 + { 2485 + name = "memchr"; 2486 + packageId = "memchr"; 2487 + optional = true; 2488 + usesDefaultFeatures = false; 2489 + } 2490 + ]; 2491 + features = { 2492 + "debug" = [ "std" "dep:anstream" "dep:anstyle" "dep:is_terminal_polyfill" "dep:terminal_size" ]; 2493 + "default" = [ "std" ]; 2494 + "simd" = [ "dep:memchr" ]; 2495 + "std" = [ "alloc" "memchr?/std" ]; 2496 + "unstable-doc" = [ "alloc" "std" "simd" "unstable-recover" ]; 2497 + }; 2498 + resolvedDefaultFeatures = [ "alloc" "default" "std" ]; 2499 + }; 2500 + }; 2501 + 2502 + # 2503 + # crate2nix/default.nix (excerpt start) 2504 + # 2505 + 2506 + /* 2507 + Target (platform) data for conditional dependencies. 2508 + This corresponds roughly to what buildRustCrate is setting. 2509 + */ 2510 + makeDefaultTarget = platform: { 2511 + name = platform.rust.rustcTarget; 2512 + 2513 + unix = platform.isUnix; 2514 + windows = platform.isWindows; 2515 + fuchsia = true; 2516 + test = false; 2517 + 2518 + inherit (platform.rust.platform) 2519 + arch 2520 + os 2521 + vendor 2522 + ; 2523 + family = platform.rust.platform.target-family; 2524 + env = "gnu"; 2525 + endian = if platform.parsed.cpu.significantByte.name == "littleEndian" then "little" else "big"; 2526 + pointer_width = toString platform.parsed.cpu.bits; 2527 + debug_assertions = false; 2528 + }; 2529 + 2530 + registryUrl = 2531 + { registries 2532 + , url 2533 + , crate 2534 + , version 2535 + , sha256 2536 + , 2537 + }: 2538 + let 2539 + dl = registries.${url}.dl; 2540 + tmpl = [ 2541 + "{crate}" 2542 + "{version}" 2543 + "{prefix}" 2544 + "{lowerprefix}" 2545 + "{sha256-checksum}" 2546 + ]; 2547 + in 2548 + with lib.strings; 2549 + if lib.lists.any (i: hasInfix "{}" dl) tmpl then 2550 + let 2551 + prefix = 2552 + if builtins.stringLength crate == 1 then 2553 + "1" 2554 + else if builtins.stringLength crate == 2 then 2555 + "2" 2556 + else 2557 + "${builtins.substring 0 2 crate}/${builtins.substring 2 (builtins.stringLength crate - 2) crate}"; 2558 + in 2559 + builtins.replaceStrings tmpl [ 2560 + crate 2561 + version 2562 + prefix 2563 + (lib.strings.toLower prefix) 2564 + sha256 2565 + ] 2566 + else 2567 + "${dl}/${crate}/${version}/download"; 2568 + 2569 + # Filters common temp files and build files. 2570 + # TODO(pkolloch): Substitute with gitignore filter 2571 + sourceFilter = 2572 + name: type: 2573 + let 2574 + baseName = builtins.baseNameOf (builtins.toString name); 2575 + in 2576 + !( 2577 + # Filter out git 2578 + baseName == ".gitignore" 2579 + || (type == "directory" && baseName == ".git") 2580 + 2581 + # Filter out build results 2582 + || ( 2583 + type == "directory" 2584 + && ( 2585 + baseName == "target" 2586 + || baseName == "_site" 2587 + || baseName == ".sass-cache" 2588 + || baseName == ".jekyll-metadata" 2589 + || baseName == "build-artifacts" 2590 + ) 2591 + ) 2592 + 2593 + # Filter out nix-build result symlinks 2594 + || (type == "symlink" && lib.hasPrefix "result" baseName) 2595 + 2596 + # Filter out IDE config 2597 + || (type == "directory" && (baseName == ".idea" || baseName == ".vscode")) 2598 + || lib.hasSuffix ".iml" baseName 2599 + 2600 + # Filter out nix build files 2601 + || baseName == "Cargo.nix" 2602 + 2603 + # Filter out editor backup / swap files. 2604 + || lib.hasSuffix "~" baseName 2605 + || builtins.match "^\\.sw[a-z]$$" baseName != null 2606 + || builtins.match "^\\..*\\.sw[a-z]$$" baseName != null 2607 + || lib.hasSuffix ".tmp" baseName 2608 + || lib.hasSuffix ".bak" baseName 2609 + || baseName == "tests.nix" 2610 + ); 2611 + 2612 + /* 2613 + Returns a crate which depends on successful test execution 2614 + of crate given as the second argument. 2615 + 2616 + testCrateFlags: list of flags to pass to the test exectuable 2617 + testInputs: list of packages that should be available during test execution 2618 + */ 2619 + crateWithTest = 2620 + { crate 2621 + , testCrate 2622 + , testCrateFlags 2623 + , testInputs 2624 + , testPreRun 2625 + , testPostRun 2626 + , 2627 + }: 2628 + assert builtins.typeOf testCrateFlags == "list"; 2629 + assert builtins.typeOf testInputs == "list"; 2630 + assert builtins.typeOf testPreRun == "string"; 2631 + assert builtins.typeOf testPostRun == "string"; 2632 + let 2633 + # override the `crate` so that it will build and execute tests instead of 2634 + # building the actual lib and bin targets We just have to pass `--test` 2635 + # to rustc and it will do the right thing. We execute the tests and copy 2636 + # their log and the test executables to $out for later inspection. 2637 + test = 2638 + let 2639 + drv = testCrate.override (_: { 2640 + buildTests = true; 2641 + }); 2642 + # If the user hasn't set any pre/post commands, we don't want to 2643 + # insert empty lines. This means that any existing users of crate2nix 2644 + # don't get a spurious rebuild unless they set these explicitly. 2645 + testCommand = pkgs.lib.concatStringsSep "\n" ( 2646 + pkgs.lib.filter (s: s != "") [ 2647 + testPreRun 2648 + "$f $testCrateFlags 2>&1 | tee -a $out" 2649 + testPostRun 2650 + ] 2651 + ); 2652 + in 2653 + pkgs.stdenvNoCC.mkDerivation { 2654 + name = "run-tests-${testCrate.name}"; 2655 + 2656 + inherit (crate) src; 2657 + 2658 + inherit testCrateFlags; 2659 + 2660 + buildInputs = testInputs; 2661 + 2662 + buildPhase = '' 2663 + set -e 2664 + export RUST_BACKTRACE=1 2665 + 2666 + # build outputs 2667 + testRoot=target/debug 2668 + mkdir -p $testRoot 2669 + 2670 + # executables of the crate 2671 + # we copy to prevent std::env::current_exe() to resolve to a store location 2672 + for i in ${crate}/bin/*; do 2673 + cp "$i" "$testRoot" 2674 + done 2675 + chmod +w -R . 2676 + 2677 + # test harness executables are suffixed with a hash, like cargo does 2678 + # this allows to prevent name collision with the main 2679 + # executables of the crate 2680 + hash=$(basename $out) 2681 + for file in ${drv}/tests/*; do 2682 + f=$testRoot/$(basename $file)-$hash 2683 + cp $file $f 2684 + ${testCommand} 2685 + done 2686 + ''; 2687 + }; 2688 + in 2689 + pkgs.runCommand "${crate.name}-linked" 2690 + { 2691 + inherit (crate) outputs crateName; 2692 + passthru = (crate.passthru or { }) // { 2693 + inherit test; 2694 + }; 2695 + } 2696 + ( 2697 + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' 2698 + echo tested by ${test} 2699 + '' 2700 + + '' 2701 + ${lib.concatMapStringsSep "\n" (output: "ln -s ${crate.${output}} ${"$"}${output}") crate.outputs} 2702 + '' 2703 + ); 2704 + 2705 + # A restricted overridable version of builtRustCratesWithFeatures. 2706 + buildRustCrateWithFeatures = 2707 + { packageId 2708 + , features ? rootFeatures 2709 + , crateOverrides ? defaultCrateOverrides 2710 + , buildRustCrateForPkgsFunc ? null 2711 + , runTests ? false 2712 + , testCrateFlags ? [ ] 2713 + , testInputs ? [ ] 2714 + , # Any command to run immediatelly before a test is executed. 2715 + testPreRun ? "" 2716 + , # Any command run immediatelly after a test is executed. 2717 + testPostRun ? "" 2718 + , 2719 + }: 2720 + lib.makeOverridable 2721 + ( 2722 + { features 2723 + , crateOverrides 2724 + , runTests 2725 + , testCrateFlags 2726 + , testInputs 2727 + , testPreRun 2728 + , testPostRun 2729 + , 2730 + }: 2731 + let 2732 + buildRustCrateForPkgsFuncOverriden = 2733 + if buildRustCrateForPkgsFunc != null then 2734 + buildRustCrateForPkgsFunc 2735 + else 2736 + ( 2737 + if crateOverrides == pkgs.defaultCrateOverrides then 2738 + buildRustCrateForPkgs 2739 + else 2740 + pkgs: 2741 + (buildRustCrateForPkgs pkgs).override { 2742 + defaultCrateOverrides = crateOverrides; 2743 + } 2744 + ); 2745 + builtRustCrates = builtRustCratesWithFeatures { 2746 + inherit packageId features; 2747 + buildRustCrateForPkgsFunc = buildRustCrateForPkgsFuncOverriden; 2748 + runTests = false; 2749 + }; 2750 + builtTestRustCrates = builtRustCratesWithFeatures { 2751 + inherit packageId features; 2752 + buildRustCrateForPkgsFunc = buildRustCrateForPkgsFuncOverriden; 2753 + runTests = true; 2754 + }; 2755 + drv = builtRustCrates.crates.${packageId}; 2756 + testDrv = builtTestRustCrates.crates.${packageId}; 2757 + derivation = 2758 + if runTests then 2759 + crateWithTest 2760 + { 2761 + crate = drv; 2762 + testCrate = testDrv; 2763 + inherit 2764 + testCrateFlags 2765 + testInputs 2766 + testPreRun 2767 + testPostRun 2768 + ; 2769 + } 2770 + else 2771 + drv; 2772 + in 2773 + derivation 2774 + ) 2775 + { 2776 + inherit 2777 + features 2778 + crateOverrides 2779 + runTests 2780 + testCrateFlags 2781 + testInputs 2782 + testPreRun 2783 + testPostRun 2784 + ; 2785 + }; 2786 + 2787 + /* 2788 + Returns an attr set with packageId mapped to the result of buildRustCrateForPkgsFunc 2789 + for the corresponding crate. 2790 + */ 2791 + builtRustCratesWithFeatures = 2792 + { packageId 2793 + , features 2794 + , crateConfigs ? crates 2795 + , buildRustCrateForPkgsFunc 2796 + , runTests 2797 + , makeTarget ? makeDefaultTarget 2798 + , 2799 + }@args: 2800 + assert (builtins.isAttrs crateConfigs); 2801 + assert (builtins.isString packageId); 2802 + assert (builtins.isList features); 2803 + assert (builtins.isAttrs (makeTarget stdenv.hostPlatform)); 2804 + assert (builtins.isBool runTests); 2805 + let 2806 + rootPackageId = packageId; 2807 + mergedFeatures = mergePackageFeatures ( 2808 + args 2809 + // { 2810 + inherit rootPackageId; 2811 + target = makeTarget stdenv.hostPlatform // { 2812 + test = runTests; 2813 + }; 2814 + } 2815 + ); 2816 + # Memoize built packages so that reappearing packages are only built once. 2817 + builtByPackageIdByPkgs = mkBuiltByPackageIdByPkgs pkgs; 2818 + mkBuiltByPackageIdByPkgs = 2819 + pkgs: 2820 + let 2821 + self = { 2822 + crates = lib.mapAttrs 2823 + ( 2824 + packageId: value: buildByPackageIdForPkgsImpl self pkgs packageId 2825 + ) 2826 + crateConfigs; 2827 + target = makeTarget pkgs.stdenv.hostPlatform; 2828 + build = mkBuiltByPackageIdByPkgs pkgs.buildPackages; 2829 + }; 2830 + in 2831 + self; 2832 + buildByPackageIdForPkgsImpl = 2833 + self: pkgs: packageId: 2834 + let 2835 + features = mergedFeatures."${packageId}" or [ ]; 2836 + crateConfig' = crateConfigs."${packageId}"; 2837 + crateConfig = builtins.removeAttrs crateConfig' [ 2838 + "resolvedDefaultFeatures" 2839 + "devDependencies" 2840 + ]; 2841 + devDependencies = lib.optionals (runTests && packageId == rootPackageId) ( 2842 + crateConfig'.devDependencies or [ ] 2843 + ); 2844 + dependencies = dependencyDerivations { 2845 + inherit features; 2846 + inherit (self) target; 2847 + buildByPackageId = 2848 + depPackageId: 2849 + # proc_macro crates must be compiled for the build architecture 2850 + if crateConfigs.${depPackageId}.procMacro or false then 2851 + self.build.crates.${depPackageId} 2852 + else 2853 + self.crates.${depPackageId}; 2854 + dependencies = (crateConfig.dependencies or [ ]) ++ devDependencies; 2855 + }; 2856 + buildDependencies = dependencyDerivations { 2857 + inherit features; 2858 + inherit (self.build) target; 2859 + buildByPackageId = depPackageId: self.build.crates.${depPackageId}; 2860 + dependencies = crateConfig.buildDependencies or [ ]; 2861 + }; 2862 + dependenciesWithRenames = 2863 + let 2864 + buildDeps = filterEnabledDependencies { 2865 + inherit features; 2866 + inherit (self) target; 2867 + dependencies = crateConfig.dependencies or [ ] ++ devDependencies; 2868 + }; 2869 + hostDeps = filterEnabledDependencies { 2870 + inherit features; 2871 + inherit (self.build) target; 2872 + dependencies = crateConfig.buildDependencies or [ ]; 2873 + }; 2874 + in 2875 + lib.filter (d: d ? "rename") (hostDeps ++ buildDeps); 2876 + # Crate renames have the form: 2877 + # 2878 + # { 2879 + # crate_name = [ 2880 + # { version = "1.2.3"; rename = "crate_name01"; } 2881 + # ]; 2882 + # # ... 2883 + # } 2884 + crateRenames = 2885 + let 2886 + grouped = lib.groupBy (dependency: dependency.name) dependenciesWithRenames; 2887 + versionAndRename = 2888 + dep: 2889 + let 2890 + package = crateConfigs."${dep.packageId}"; 2891 + in 2892 + { 2893 + inherit (dep) rename; 2894 + inherit (package) version; 2895 + }; 2896 + in 2897 + lib.mapAttrs (name: builtins.map versionAndRename) grouped; 2898 + in 2899 + buildRustCrateForPkgsFunc pkgs ( 2900 + crateConfig 2901 + // { 2902 + src = 2903 + crateConfig.src or (pkgs.fetchurl rec { 2904 + name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz"; 2905 + # https://www.pietroalbini.org/blog/downloading-crates-io/ 2906 + # Not rate-limited, CDN URL. 2907 + url = "https://static.crates.io/crates/${crateConfig.crateName}/${crateConfig.crateName}-${crateConfig.version}.crate"; 2908 + sha256 = 2909 + assert (lib.assertMsg (crateConfig ? sha256) "Missing sha256 for ${name}"); 2910 + crateConfig.sha256; 2911 + }); 2912 + extraRustcOpts = 2913 + lib.lists.optional (targetFeatures != [ ]) 2914 + "-C target-feature=${lib.concatMapStringsSep "," (x: "+${x}") targetFeatures}"; 2915 + inherit 2916 + features 2917 + dependencies 2918 + buildDependencies 2919 + crateRenames 2920 + release 2921 + ; 2922 + } 2923 + ); 2924 + in 2925 + builtByPackageIdByPkgs; 2926 + 2927 + # Returns the actual derivations for the given dependencies. 2928 + dependencyDerivations = 2929 + { buildByPackageId 2930 + , features 2931 + , dependencies 2932 + , target 2933 + , 2934 + }: 2935 + assert (builtins.isList features); 2936 + assert (builtins.isList dependencies); 2937 + assert (builtins.isAttrs target); 2938 + let 2939 + enabledDependencies = filterEnabledDependencies { 2940 + inherit dependencies features target; 2941 + }; 2942 + depDerivation = dependency: buildByPackageId dependency.packageId; 2943 + in 2944 + map depDerivation enabledDependencies; 2945 + 2946 + /* 2947 + Returns a sanitized version of val with all values substituted that cannot 2948 + be serialized as JSON. 2949 + */ 2950 + sanitizeForJson = 2951 + val: 2952 + if builtins.isAttrs val then 2953 + lib.mapAttrs (n: sanitizeForJson) val 2954 + else if builtins.isList val then 2955 + builtins.map sanitizeForJson val 2956 + else if builtins.isFunction val then 2957 + "function" 2958 + else 2959 + val; 2960 + 2961 + # Returns various tools to debug a crate. 2962 + debugCrate = 2963 + { packageId 2964 + , target ? makeDefaultTarget stdenv.hostPlatform 2965 + , 2966 + }: 2967 + assert (builtins.isString packageId); 2968 + let 2969 + debug = rec { 2970 + # The built tree as passed to buildRustCrate. 2971 + buildTree = buildRustCrateWithFeatures { 2972 + buildRustCrateForPkgsFunc = _: lib.id; 2973 + inherit packageId; 2974 + }; 2975 + sanitizedBuildTree = sanitizeForJson buildTree; 2976 + dependencyTree = sanitizeForJson (buildRustCrateWithFeatures { 2977 + buildRustCrateForPkgsFunc = _: crate: { 2978 + "01_crateName" = crate.crateName or false; 2979 + "02_features" = crate.features or [ ]; 2980 + "03_dependencies" = crate.dependencies or [ ]; 2981 + }; 2982 + inherit packageId; 2983 + }); 2984 + mergedPackageFeatures = mergePackageFeatures { 2985 + features = rootFeatures; 2986 + inherit packageId target; 2987 + }; 2988 + diffedDefaultPackageFeatures = diffDefaultPackageFeatures { 2989 + inherit packageId target; 2990 + }; 2991 + }; 2992 + in 2993 + { 2994 + internal = debug; 2995 + }; 2996 + 2997 + /* 2998 + Returns differences between cargo default features and crate2nix default 2999 + features. 3000 + 3001 + This is useful for verifying the feature resolution in crate2nix. 3002 + */ 3003 + diffDefaultPackageFeatures = 3004 + { crateConfigs ? crates 3005 + , packageId 3006 + , target 3007 + , 3008 + }: 3009 + assert (builtins.isAttrs crateConfigs); 3010 + let 3011 + prefixValues = prefix: lib.mapAttrs (n: v: { "${prefix}" = v; }); 3012 + mergedFeatures = prefixValues "crate2nix" (mergePackageFeatures { 3013 + inherit crateConfigs packageId target; 3014 + features = [ "default" ]; 3015 + }); 3016 + configs = prefixValues "cargo" crateConfigs; 3017 + combined = lib.foldAttrs (a: b: a // b) { } [ 3018 + mergedFeatures 3019 + configs 3020 + ]; 3021 + onlyInCargo = builtins.attrNames ( 3022 + lib.filterAttrs (n: v: !(v ? "crate2nix") && (v ? "cargo")) combined 3023 + ); 3024 + onlyInCrate2Nix = builtins.attrNames ( 3025 + lib.filterAttrs (n: v: (v ? "crate2nix") && !(v ? "cargo")) combined 3026 + ); 3027 + differentFeatures = lib.filterAttrs 3028 + ( 3029 + n: v: 3030 + (v ? "crate2nix") 3031 + && (v ? "cargo") 3032 + && (v.crate2nix.features or [ ]) != (v."cargo".resolved_default_features or [ ]) 3033 + ) 3034 + combined; 3035 + in 3036 + builtins.toJSON { 3037 + inherit onlyInCargo onlyInCrate2Nix differentFeatures; 3038 + }; 3039 + 3040 + /* 3041 + Returns an attrset mapping packageId to the list of enabled features. 3042 + 3043 + If multiple paths to a dependency enable different features, the 3044 + corresponding feature sets are merged. Features in rust are additive. 3045 + */ 3046 + mergePackageFeatures = 3047 + { crateConfigs ? crates 3048 + , packageId 3049 + , rootPackageId ? packageId 3050 + , features ? rootFeatures 3051 + , dependencyPath ? [ crates.${packageId}.crateName ] 3052 + , featuresByPackageId ? { } 3053 + , target 3054 + , # Adds devDependencies to the crate with rootPackageId. 3055 + runTests ? false 3056 + , ... 3057 + }@args: 3058 + assert (builtins.isAttrs crateConfigs); 3059 + assert (builtins.isString packageId); 3060 + assert (builtins.isString rootPackageId); 3061 + assert (builtins.isList features); 3062 + assert (builtins.isList dependencyPath); 3063 + assert (builtins.isAttrs featuresByPackageId); 3064 + assert (builtins.isAttrs target); 3065 + assert (builtins.isBool runTests); 3066 + let 3067 + crateConfig = crateConfigs."${packageId}" or (builtins.throw "Package not found: ${packageId}"); 3068 + expandedFeatures = expandFeatures (crateConfig.features or { }) features; 3069 + enabledFeatures = enableFeatures (crateConfig.dependencies or [ ]) expandedFeatures; 3070 + depWithResolvedFeatures = 3071 + dependency: 3072 + let 3073 + inherit (dependency) packageId; 3074 + features = dependencyFeatures enabledFeatures dependency; 3075 + in 3076 + { 3077 + inherit packageId features; 3078 + }; 3079 + resolveDependencies = 3080 + cache: path: dependencies: 3081 + assert (builtins.isAttrs cache); 3082 + assert (builtins.isList dependencies); 3083 + let 3084 + enabledDependencies = filterEnabledDependencies { 3085 + inherit dependencies target; 3086 + features = enabledFeatures; 3087 + }; 3088 + directDependencies = map depWithResolvedFeatures enabledDependencies; 3089 + foldOverCache = op: lib.foldl op cache directDependencies; 3090 + in 3091 + foldOverCache ( 3092 + cache: 3093 + { packageId, features }: 3094 + let 3095 + cacheFeatures = cache.${packageId} or [ ]; 3096 + combinedFeatures = sortedUnique (cacheFeatures ++ features); 3097 + in 3098 + if cache ? ${packageId} && cache.${packageId} == combinedFeatures then 3099 + cache 3100 + else 3101 + mergePackageFeatures { 3102 + features = combinedFeatures; 3103 + featuresByPackageId = cache; 3104 + inherit 3105 + crateConfigs 3106 + packageId 3107 + target 3108 + runTests 3109 + rootPackageId 3110 + ; 3111 + } 3112 + ); 3113 + cacheWithSelf = 3114 + let 3115 + cacheFeatures = featuresByPackageId.${packageId} or [ ]; 3116 + combinedFeatures = sortedUnique (cacheFeatures ++ enabledFeatures); 3117 + in 3118 + featuresByPackageId 3119 + // { 3120 + "${packageId}" = combinedFeatures; 3121 + }; 3122 + cacheWithDependencies = resolveDependencies cacheWithSelf "dep" ( 3123 + crateConfig.dependencies or [ ] 3124 + ++ lib.optionals (runTests && packageId == rootPackageId) (crateConfig.devDependencies or [ ]) 3125 + ); 3126 + cacheWithAll = resolveDependencies cacheWithDependencies "build" ( 3127 + crateConfig.buildDependencies or [ ] 3128 + ); 3129 + in 3130 + cacheWithAll; 3131 + 3132 + # Returns the enabled dependencies given the enabled features. 3133 + filterEnabledDependencies = 3134 + { dependencies 3135 + , features 3136 + , target 3137 + , 3138 + }: 3139 + assert (builtins.isList dependencies); 3140 + assert (builtins.isList features); 3141 + assert (builtins.isAttrs target); 3142 + 3143 + lib.filter 3144 + ( 3145 + dep: 3146 + let 3147 + targetFunc = dep.target or (features: true); 3148 + in 3149 + targetFunc { inherit features target; } 3150 + && (!(dep.optional or false) || builtins.any (doesFeatureEnableDependency dep) features) 3151 + ) 3152 + dependencies; 3153 + 3154 + # Returns whether the given feature should enable the given dependency. 3155 + doesFeatureEnableDependency = 3156 + dependency: feature: 3157 + let 3158 + name = dependency.rename or dependency.name; 3159 + prefix = "${name}/"; 3160 + len = builtins.stringLength prefix; 3161 + startsWithPrefix = builtins.substring 0 len feature == prefix; 3162 + in 3163 + feature == name || feature == "dep:" + name || startsWithPrefix; 3164 + 3165 + /* 3166 + Returns the expanded features for the given inputFeatures by applying the 3167 + rules in featureMap. 3168 + 3169 + featureMap is an attribute set which maps feature names to lists of further 3170 + feature names to enable in case this feature is selected. 3171 + */ 3172 + expandFeatures = 3173 + featureMap: inputFeatures: 3174 + assert (builtins.isAttrs featureMap); 3175 + assert (builtins.isList inputFeatures); 3176 + let 3177 + expandFeaturesNoCycle = 3178 + oldSeen: inputFeatures: 3179 + if inputFeatures != [ ] then 3180 + let 3181 + # The feature we're currently expanding. 3182 + feature = builtins.head inputFeatures; 3183 + # All the features we've seen/expanded so far, including the one 3184 + # we're currently processing. 3185 + seen = oldSeen // { 3186 + ${feature} = 1; 3187 + }; 3188 + # Expand the feature but be careful to not re-introduce a feature 3189 + # that we've already seen: this can easily cause a cycle, see issue 3190 + # #209. 3191 + enables = builtins.filter (f: !(seen ? "${f}")) (featureMap."${feature}" or [ ]); 3192 + in 3193 + [ feature ] ++ (expandFeaturesNoCycle seen (builtins.tail inputFeatures ++ enables)) 3194 + # No more features left, nothing to expand to. 3195 + else 3196 + [ ]; 3197 + outFeatures = expandFeaturesNoCycle { } inputFeatures; 3198 + in 3199 + sortedUnique outFeatures; 3200 + 3201 + /* 3202 + This function adds optional dependencies as features if they are enabled 3203 + indirectly by dependency features. This function mimics Cargo's behavior 3204 + described in a note at: 3205 + https://doc.rust-lang.org/nightly/cargo/reference/features.html#dependency-features 3206 + */ 3207 + enableFeatures = 3208 + dependencies: features: 3209 + assert (builtins.isList features); 3210 + assert (builtins.isList dependencies); 3211 + let 3212 + additionalFeatures = lib.concatMap 3213 + ( 3214 + dependency: 3215 + assert (builtins.isAttrs dependency); 3216 + let 3217 + enabled = builtins.any (doesFeatureEnableDependency dependency) features; 3218 + in 3219 + if (dependency.optional or false) && enabled then 3220 + [ (dependency.rename or dependency.name) ] 3221 + else 3222 + [ ] 3223 + ) 3224 + dependencies; 3225 + in 3226 + sortedUnique (features ++ additionalFeatures); 3227 + 3228 + /* 3229 + Returns the actual features for the given dependency. 3230 + 3231 + features: The features of the crate that refers this dependency. 3232 + */ 3233 + dependencyFeatures = 3234 + features: dependency: 3235 + assert (builtins.isList features); 3236 + assert (builtins.isAttrs dependency); 3237 + let 3238 + defaultOrNil = if dependency.usesDefaultFeatures or true then [ "default" ] else [ ]; 3239 + explicitFeatures = dependency.features or [ ]; 3240 + additionalDependencyFeatures = 3241 + let 3242 + name = dependency.rename or dependency.name; 3243 + stripPrefixMatch = prefix: s: if lib.hasPrefix prefix s then lib.removePrefix prefix s else null; 3244 + extractFeature = 3245 + feature: 3246 + lib.findFirst (f: f != null) null ( 3247 + map (prefix: stripPrefixMatch prefix feature) [ 3248 + (name + "/") 3249 + (name + "?/") 3250 + ] 3251 + ); 3252 + dependencyFeatures = lib.filter (f: f != null) (map extractFeature features); 3253 + in 3254 + dependencyFeatures; 3255 + in 3256 + defaultOrNil ++ explicitFeatures ++ additionalDependencyFeatures; 3257 + 3258 + # Sorts and removes duplicates from a list of strings. 3259 + sortedUnique = 3260 + features: 3261 + assert (builtins.isList features); 3262 + assert (builtins.all builtins.isString features); 3263 + let 3264 + outFeaturesSet = lib.foldl (set: feature: set // { "${feature}" = 1; }) { } features; 3265 + outFeaturesUnique = builtins.attrNames outFeaturesSet; 3266 + in 3267 + builtins.sort (a: b: a < b) outFeaturesUnique; 3268 + 3269 + deprecationWarning = 3270 + message: value: 3271 + if strictDeprecation then 3272 + builtins.throw "strictDeprecation enabled, aborting: ${message}" 3273 + else 3274 + builtins.trace message value; 3275 + 3276 + # 3277 + # crate2nix/default.nix (excerpt end) 3278 + # 3279 + }; 3280 + } 3281 +
+3
nix/Cargo.nix.license
··· 1 + SPDX-FileCopyrightText: NONE 2 + 3 + SPDX-License-Identifier: 0BSD
+14
nix/gleam2nix.nix
··· 1 + # SPDX-FileCopyrightText: 2025 Ruby Iris Juric <ruby@srxl.me> 2 + # 3 + # SPDX-License-Identifier: 0BSD 4 + 5 + { pkgs, rust-toolchain }: 6 + 7 + (pkgs.callPackage ./Cargo.nix { 8 + buildRustCrateForPkgs = 9 + pkgs': 10 + pkgs'.buildRustCrate.override { 11 + cargo = rust-toolchain; 12 + rustc = rust-toolchain; 13 + }; 14 + }).rootCrate.build