From 68ec88c1a1753ef449001c5f1f8b8e82ed29f862 Mon Sep 17 00:00:00 2001 From: Peter Kolloch Date: Sun, 15 Oct 2023 10:25:38 +0200 Subject: [PATCH] [regenerated/updated] crate2nix itself --- crate2nix/Cargo.lock | 391 ++++---- crate2nix/Cargo.nix | 917 ++++++++++-------- crate2nix/templates/nix/crate2nix/default.nix | 2 + nix/dependencies.nix | 34 +- nix/sources.json | 18 +- .../bin_with_git_submodule_dep/Cargo.nix | 2 + sample_projects/codegen/Cargo.nix | 2 + sample_projects/sub_dir_crates/Cargo.nix | 2 + 8 files changed, 770 insertions(+), 598 deletions(-) diff --git a/crate2nix/Cargo.lock b/crate2nix/Cargo.lock index f913a32b..64b5283a 100644 --- a/crate2nix/Cargo.lock +++ b/crate2nix/Cargo.lock @@ -4,27 +4,27 @@ version = 3 [[package]] name = "aho-corasick" -version = "0.7.18" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] [[package]] name = "ansi_term" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b" +checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" dependencies = [ "winapi", ] [[package]] name = "anyhow" -version = "1.0.41" +version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15af2628f6890fe2609a3b91bef4c83450512802e59489f9c1cb1fa5df064a61" +checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "atty" @@ -39,75 +39,52 @@ dependencies = [ [[package]] name = "bitflags" -version = "1.2.1" +version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "block-buffer" -version = "0.7.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "block-padding", - "byte-tools", - "byteorder", "generic-array", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "bstr" -version = "0.2.16" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279" +checksum = "c79ad7fb2dd38f3dabd76b09c6a5a20c038fc0213ef1e9afd30eb777f120f019" dependencies = [ "memchr", + "serde", ] -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - -[[package]] -name = "byteorder" -version = "1.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" - [[package]] name = "camino" -version = "1.0.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4648c6d00a709aa069a236adcaae4f605a6241c72bf5bee79331a4b625921a9" +checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.1" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0226944a63d1bf35a3b5f948dd7c59e263db83695c9e8bffc4037de02e30f1d7" +checksum = "12024c4645c97566567129c204f65d5815a8c9aecf30fcbe682b2fe034996d36" dependencies = [ "serde", ] [[package]] name = "cargo_metadata" -version = "0.14.0" +version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c297bd3135f558552f99a0daa180876984ea2c4ffa7470314540dff8c654109a" +checksum = "4acbb09d9ee8e23699b9634375c72795d095bf268439da88562cf9b501f181fa" dependencies = [ "camino", "cargo-platform", @@ -124,9 +101,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "2.33.3" +version = "2.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002" +checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" dependencies = [ "ansi_term", "atty", @@ -139,13 +116,22 @@ dependencies = [ [[package]] name = "colored-diff" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "516f260afc909bb0d056b76891ad91b3275b83682d851b566792077eee946efd" +checksum = "410208eb08c3f3ad44b95b51c4fc0d5993cbcc9dd39cfadb4214b9115a97dcb5" dependencies = [ "ansi_term", - "difference", - "itertools 0.7.11", + "dissimilar", + "itertools 0.10.5", +] + +[[package]] +name = "cpufeatures" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +dependencies = [ + "libc", ] [[package]] @@ -174,41 +160,36 @@ dependencies = [ ] [[package]] -name = "crossbeam-utils" -version = "0.8.8" +name = "crypto-common" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "cfg-if", - "lazy_static", + "generic-array", + "typenum", ] -[[package]] -name = "difference" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198" - [[package]] name = "digest" -version = "0.8.1" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "generic-array", + "block-buffer", + "crypto-common", ] [[package]] -name = "either" -version = "1.6.1" +name = "dissimilar" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" +checksum = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632" [[package]] -name = "fake-simd" -version = "0.1.2" +name = "either" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "fnv" @@ -218,9 +199,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fs_extra" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" [[package]] name = "fuchsia-cprng" @@ -230,18 +211,19 @@ checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" [[package]] name = "generic-array" -version = "0.12.4" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", + "version_check", ] [[package]] name = "globset" -version = "0.4.8" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10463d9ff00a2a068db14231982f5132edebad0d7660cd956a1c30292dbcbfbd" +checksum = "759c97c1e17c55525b57192c06a267cda0ac5210b222d6b82189a2338fa1c13d" dependencies = [ "aho-corasick", "bstr", @@ -298,11 +280,10 @@ dependencies = [ [[package]] name = "ignore" -version = "0.4.18" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713f1b139373f96a2e0ce3ac931cd01ee973c3c5dd7c40c0c2efe96ad2b6751d" +checksum = "dbe7873dab538a9a44ad79ede1faf5f30d49f9a5c883ddbab48bce81b64b7492" dependencies = [ - "crossbeam-utils", "globset", "lazy_static", "log", @@ -316,27 +297,27 @@ dependencies = [ [[package]] name = "itertools" -version = "0.7.11" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d47946d458e94a1b7bcabbf6521ea7c037062c81f534615abcad76e84d4970d" +checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" dependencies = [ "either", ] [[package]] name = "itertools" -version = "0.9.0" +version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" dependencies = [ "either", ] [[package]] name = "itoa" -version = "0.4.7" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "lazy_static" @@ -346,36 +327,27 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.98" +version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "log" -version = "0.4.14" +version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "maplit" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" +checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "matches" -version = "0.1.8" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" +checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "memchr" -version = "2.4.0" +version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" [[package]] name = "nix-base32" @@ -385,15 +357,9 @@ checksum = "8548db8274cf1b2b4c093557783f99e9ad64ffdaaa29a6c1af0abc9895c15612" [[package]] name = "once_cell" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" - -[[package]] -name = "opaque-debug" -version = "0.2.3" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" +checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "pathdiff" @@ -409,18 +375,20 @@ checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" [[package]] name = "pest" -version = "2.1.3" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53" +checksum = "c022f1e7b65d6a24c0dbbd5fb344c66881bc01f3e5ae74a1c8100f2f985d98a4" dependencies = [ + "memchr", + "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.1.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0" +checksum = "35513f630d46400a977c4cb58f78e1bfbe01434316e60c37d27b9ad6139c66d8" dependencies = [ "pest", "pest_generator", @@ -428,26 +396,26 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.1.3" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55" +checksum = "bc9fc1b9e7057baba189b5c626e2d6f40681ae5b6eb064dc7c7834101ec8123a" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn", + "syn 2.0.38", ] [[package]] name = "pest_meta" -version = "2.1.3" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d" +checksum = "1df74e9e7ec4053ceb980e7c0c8bd3594e977fde1af91daba9c928e8e8c6708d" dependencies = [ - "maplit", + "once_cell", "pest", - "sha-1", + "sha2", ] [[package]] @@ -459,7 +427,7 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2", "quote", - "syn", + "syn 1.0.109", "version_check", ] @@ -476,18 +444,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.27" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038" +checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] name = "quote" -version = "1.0.9" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -531,9 +499,21 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.6" +version = "1.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aaac441002f822bc9705a681810a4dd2963094b9ca0ddc41cb963a4c189189ea" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d83f127d94bdbcda4c8cc2e50f6f84f4b611f69c902699ca385a39c3a75f9ff1" +checksum = "5011c7e263a695dc8ca064cddb722af1be54e517a280b12a5356f98366899e5d" dependencies = [ "aho-corasick", "memchr", @@ -542,9 +522,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.26" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49b3de9ec5dc0a3417da371aab17d729997c15010e7fd24ff707773a33bddb64" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "remove_dir_all" @@ -557,9 +537,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.5" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "same-file" @@ -572,38 +552,38 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.3" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f3aac57ee7f3272d8395c6e4f502f434f0e289fcd62876f70daa008c20dcabe" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" dependencies = [ "serde", ] [[package]] name = "serde" -version = "1.0.126" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03" +checksum = "8e422a44e74ad4001bdc8eede9a4570ab52f71190e9c076d14369f38b9200537" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.126" +version = "1.0.189" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43" +checksum = "1e48d1f918009ce3145511378cf68d613e3b3d9137d67272562080d68a2b32d5" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.38", ] [[package]] name = "serde_json" -version = "1.0.64" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "itoa", "ryu", @@ -611,15 +591,14 @@ dependencies = [ ] [[package]] -name = "sha-1" -version = "0.8.2" +name = "sha2" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ - "block-buffer", + "cfg-if", + "cpufeatures", "digest", - "fake-simd", - "opaque-debug", ] [[package]] @@ -630,9 +609,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" [[package]] name = "structopt" -version = "0.3.22" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69b041cdcb67226aca307e6e7be44c8806423d83e018bd662360a93dabce4d71" +checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" dependencies = [ "clap", "lazy_static", @@ -641,26 +620,37 @@ dependencies = [ [[package]] name = "structopt-derive" -version = "0.4.15" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7813934aecf5f51a54775e00068c237de98489463968231a51746bbbc03f9c10" +checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" dependencies = [ "heck", "proc-macro-error", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "syn" -version = "1.0.73" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", ] [[package]] @@ -675,9 +665,9 @@ dependencies = [ [[package]] name = "tera" -version = "1.12.0" +version = "1.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7571541dff0e57eaa2e931249f0d7489eb2b24b6b105546f8c2f1a47f15aaa3a" +checksum = "970dff17c11e884a4a09bc76e3a17ef71e01bb13447a11e85226e254fe6d10b8" dependencies = [ "globwalk", "lazy_static", @@ -698,50 +688,71 @@ dependencies = [ "unicode-width", ] +[[package]] +name = "thiserror" +version = "1.0.49" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.49" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.38", +] + [[package]] name = "thread_local" -version = "1.1.4" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" +checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" dependencies = [ + "cfg-if", "once_cell", ] [[package]] name = "tinyvec" -version = "1.2.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b5220f05bb7de7f3f53c7c065e1199b3172696fe2db9f9c4d8ad9b4ee74c342" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" dependencies = [ "tinyvec_macros", ] [[package]] name = "tinyvec_macros" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "toml" -version = "0.5.8" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" dependencies = [ "serde", ] [[package]] name = "typenum" -version = "1.13.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879f6906492a7cd215bfa4cf595b600146ccfac0c79bcbd1f3000162af5e8b06" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" -version = "0.1.3" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] name = "unic-char-property" @@ -795,39 +806,36 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.5" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeb8be209bb1c96b7c177c7420d26e04eccacb0eeae6b980e35fcb74678107e0" -dependencies = [ - "matches", -] +checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" -version = "0.1.19" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54590932941a9e9266f0832deed84ebe1bf2e4c9e4a3554d393d18f5e854bf9" +checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" dependencies = [ "tinyvec", ] [[package]] name = "unicode-segmentation" -version = "1.8.0" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8895849a949e7845e06bd6dc1aa51731a103c42707010a5b591c0038fb73385b" +checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" [[package]] name = "unicode-width" -version = "0.1.8" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3" - -[[package]] -name = "unicode-xid" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "url" @@ -858,18 +866,17 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" [[package]] name = "version_check" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "walkdir" -version = "2.3.2" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" dependencies = [ "same-file", - "winapi", "winapi-util", ] @@ -891,9 +898,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ "winapi", ] diff --git a/crate2nix/Cargo.nix b/crate2nix/Cargo.nix index bf6de1ca..ea2d8af5 100644 --- a/crate2nix/Cargo.nix +++ b/crate2nix/Cargo.nix @@ -83,9 +83,9 @@ rec { crates = { "aho-corasick" = rec { crateName = "aho-corasick"; - version = "0.7.18"; - edition = "2018"; - sha256 = "0vv50b3nvkhyy7x7ip19qnsq11bqlnffkmj2yx2xlyk5wzawydqy"; + version = "1.1.2"; + edition = "2021"; + sha256 = "1w510wnixvlgimkx1zjbvlxh6xps2vjgfqgwf5a6adlbjp5rv5mj"; libName = "aho_corasick"; authors = [ "Andrew Gallant " @@ -94,20 +94,23 @@ rec { { name = "memchr"; packageId = "memchr"; + optional = true; usesDefaultFeatures = false; } ]; features = { - "default" = [ "std" ]; - "std" = [ "memchr/std" ]; + "default" = [ "std" "perf-literal" ]; + "logging" = [ "dep:log" ]; + "perf-literal" = [ "dep:memchr" ]; + "std" = [ "memchr?/std" ]; }; - resolvedDefaultFeatures = [ "default" "std" ]; + resolvedDefaultFeatures = [ "default" "perf-literal" "std" ]; }; "ansi_term" = rec { crateName = "ansi_term"; - version = "0.11.0"; + version = "0.12.1"; edition = "2015"; - sha256 = "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"; + sha256 = "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"; authors = [ "ogham@bsago.me" "Ryan Scheel (Havvy) " @@ -118,16 +121,19 @@ rec { name = "winapi"; packageId = "winapi"; target = { target, features }: ("windows" == target."os"); - features = [ "errhandlingapi" "consoleapi" "processenv" ]; + features = [ "consoleapi" "errhandlingapi" "fileapi" "handleapi" "processenv" ]; } ]; - + features = { + "derive_serde_style" = [ "serde" ]; + "serde" = [ "dep:serde" ]; + }; }; "anyhow" = rec { crateName = "anyhow"; - version = "1.0.41"; + version = "1.0.75"; edition = "2018"; - sha256 = "0qaa0vgsa7ybq7wqk57508l52l1lr3sbx49vk9hf43w9yql2dbqm"; + sha256 = "1rmcjkim91c5mw7h9wn8nv0k6x118yz0xg0z1q18svgn42mqqrm4"; authors = [ "David Tolnay " ]; @@ -168,65 +174,40 @@ rec { }; "bitflags" = rec { crateName = "bitflags"; - version = "1.2.1"; - edition = "2015"; - sha256 = "14qnd5nq8p2almk79m4m8ydqhd413yaxsyjp5xd19g3mikzf47fg"; + version = "1.3.2"; + edition = "2018"; + sha256 = "12ki6w8gn1ldq7yz9y680llwk5gmrhrzszaa17g1sbrw2r2qvwxy"; authors = [ "The Rust Project Developers" ]; - features = { }; + features = { + "compiler_builtins" = [ "dep:compiler_builtins" ]; + "core" = [ "dep:core" ]; + "rustc-dep-of-std" = [ "core" "compiler_builtins" ]; + }; resolvedDefaultFeatures = [ "default" ]; }; "block-buffer" = rec { crateName = "block-buffer"; - version = "0.7.3"; - edition = "2015"; - sha256 = "12v8wizynqin0hqf140kmp9s38q223mp1b0hkqk8j5pk8720v560"; + version = "0.10.4"; + edition = "2018"; + sha256 = "0w9sa2ypmrsqqvc20nhwr75wbb5cjr4kkyhpjm1z1lv2kdicfy1h"; authors = [ "RustCrypto Developers" ]; dependencies = [ - { - name = "block-padding"; - packageId = "block-padding"; - } - { - name = "byte-tools"; - packageId = "byte-tools"; - } - { - name = "byteorder"; - packageId = "byteorder"; - usesDefaultFeatures = false; - } { name = "generic-array"; packageId = "generic-array"; } ]; - }; - "block-padding" = rec { - crateName = "block-padding"; - version = "0.1.5"; - edition = "2015"; - sha256 = "1xbkmysiz23vimd17rnsjpw9bgjxipwfslwyygqlkx4in3dxwygs"; - authors = [ - "RustCrypto Developers" - ]; - dependencies = [ - { - name = "byte-tools"; - packageId = "byte-tools"; - } - ]; - }; "bstr" = rec { crateName = "bstr"; - version = "0.2.16"; - edition = "2018"; - sha256 = "0y8jy9kcqn1myzxjx7c73rbv4amfw08n936ycqz3glrsc66jqs4h"; + version = "1.7.0"; + edition = "2021"; + sha256 = "06gh43qpgdqfsfpykw9y4708y0qclajwc2bbsymkv3yk5pxxg6n7"; authors = [ "Andrew Gallant " ]; @@ -236,46 +217,27 @@ rec { packageId = "memchr"; usesDefaultFeatures = false; } + { + name = "serde"; + packageId = "serde"; + optional = true; + usesDefaultFeatures = false; + } ]; features = { + "alloc" = [ "memchr/alloc" "serde?/alloc" ]; "default" = [ "std" "unicode" ]; - "lazy_static" = [ "dep:lazy_static" ]; - "regex-automata" = [ "dep:regex-automata" ]; "serde" = [ "dep:serde" ]; - "serde1" = [ "std" "serde1-nostd" "serde/std" ]; - "serde1-nostd" = [ "serde" ]; - "std" = [ "memchr/std" ]; - "unicode" = [ "lazy_static" "regex-automata" ]; - }; - resolvedDefaultFeatures = [ "std" ]; - }; - "byte-tools" = rec { - crateName = "byte-tools"; - version = "0.3.1"; - edition = "2015"; - sha256 = "1mqi29wsm8njpl51pfwr31wmpzs5ahlcb40wsjyd92l90ixcmdg3"; - authors = [ - "RustCrypto Developers" - ]; - - }; - "byteorder" = rec { - crateName = "byteorder"; - version = "1.4.3"; - edition = "2018"; - sha256 = "0456lv9xi1a5bcm32arknf33ikv76p3fr9yzki4lb2897p2qkh8l"; - authors = [ - "Andrew Gallant " - ]; - features = { - "default" = [ "std" ]; + "std" = [ "alloc" "memchr/std" "serde?/std" ]; + "unicode" = [ "dep:regex-automata" ]; }; + resolvedDefaultFeatures = [ "alloc" "std" ]; }; "camino" = rec { crateName = "camino"; - version = "1.0.4"; + version = "1.1.6"; edition = "2018"; - sha256 = "1a91b5i4n6ikg7p5pgvj3hjac1gnwjmdqsi3k83al2d701nqqr6l"; + sha256 = "171vzfyrm2jmajd70q1m774297y028kadgm7cfw4kxc8lfsr57n5"; authors = [ "Without Boats " "Ashley Williams " @@ -291,6 +253,8 @@ rec { } ]; features = { + "proptest" = [ "dep:proptest" ]; + "proptest1" = [ "proptest" ]; "serde" = [ "dep:serde" ]; "serde1" = [ "serde" ]; }; @@ -298,26 +262,22 @@ rec { }; "cargo-platform" = rec { crateName = "cargo-platform"; - version = "0.1.1"; - edition = "2018"; - sha256 = "1mzi60pf0z83qkzqp7jwd61xnqz2b5ydsj7rnnikbgyicd5989h2"; - authors = [ - "The Cargo Project Developers" - ]; + version = "0.1.4"; + edition = "2021"; + sha256 = "0dkdk4sf0brbd2zgqc6gmv4sh5aqbpv09hi9f5b6cxf98m34q0hj"; dependencies = [ { name = "serde"; packageId = "serde"; - features = [ "derive" ]; } ]; }; "cargo_metadata" = rec { crateName = "cargo_metadata"; - version = "0.14.0"; + version = "0.14.2"; edition = "2018"; - sha256 = "16hhak3gips08lqp0x7s9wnfm139hy0a3nm0k4pman7m6lqvv5y2"; + sha256 = "1yl1y40vby9cas4dlfc44szrbl4m4z3pahv3p6ckdqp8ksfv1jsa"; authors = [ "Oliver Schneider " ]; @@ -369,9 +329,9 @@ rec { }; "clap" = rec { crateName = "clap"; - version = "2.33.3"; - edition = "2015"; - sha256 = "00i065a58987k1sbzqmlz721rw521zcg08jmsh40gi3khp3qmr9p"; + version = "2.34.0"; + edition = "2018"; + sha256 = "071q5d8jfwbazi6zhik9xwpacx5i6kb2vkzy060vhf0c3120aqd0"; authors = [ "Kevin K. " ]; @@ -417,7 +377,6 @@ rec { "color" = [ "ansi_term" "atty" ]; "default" = [ "suggestions" "color" "vec_map" ]; "doc" = [ "yaml" ]; - "lints" = [ "clippy" ]; "strsim" = [ "dep:strsim" ]; "suggestions" = [ "strsim" ]; "term_size" = [ "dep:term_size" ]; @@ -430,28 +389,52 @@ rec { }; "colored-diff" = rec { crateName = "colored-diff"; - version = "0.2.2"; + version = "0.2.3"; edition = "2015"; - sha256 = "1zbfjkp7w1wjcxb1p19dd21mn9xkj6nr2s5pav8b16whzh52cvsi"; - authors = [ - "Christopher Durham " - ]; + sha256 = "1dfwjxd13f8l8bdzm76kkp6cp4sr1pyc8lavp52avwy313mhh0j1"; dependencies = [ { name = "ansi_term"; packageId = "ansi_term"; } { - name = "difference"; - packageId = "difference"; + name = "dissimilar"; + packageId = "dissimilar"; } { name = "itertools"; - packageId = "itertools 0.7.11"; + packageId = "itertools 0.10.5"; usesDefaultFeatures = false; } ]; + }; + "cpufeatures" = rec { + crateName = "cpufeatures"; + version = "0.2.9"; + edition = "2018"; + sha256 = "1wg1vmsx3gd30xkc7h7r6nfx7njx063hqjimgyrb0qj17bzpcyx1"; + authors = [ + "RustCrypto Developers" + ]; + dependencies = [ + { + name = "libc"; + packageId = "libc"; + target = { target, features }: (pkgs.rust.lib.toRustTarget stdenv.hostPlatform == "aarch64-linux-android"); + } + { + name = "libc"; + packageId = "libc"; + target = { target, features }: (("aarch64" == target."arch") && ("linux" == target."os")); + } + { + name = "libc"; + packageId = "libc"; + target = { target, features }: (("aarch64" == target."arch") && ("apple" == target."vendor")); + } + ]; + }; "crate2nix" = rec { crateName = "crate2nix"; @@ -559,69 +542,79 @@ rec { ]; }; - "crossbeam-utils" = rec { - crateName = "crossbeam-utils"; - version = "0.8.8"; + "crypto-common" = rec { + crateName = "crypto-common"; + version = "0.1.6"; edition = "2018"; - sha256 = "0f6b3xrbyc3yx0qa1digmy48mxmh58359kv34qy6ws5p433j9w8b"; + sha256 = "1cvby95a6xg7kxdz5ln3rl9xh66nz66w46mm3g56ri1z5x815yqv"; + authors = [ + "RustCrypto Developers" + ]; dependencies = [ { - name = "cfg-if"; - packageId = "cfg-if"; + name = "generic-array"; + packageId = "generic-array"; + features = [ "more_lengths" ]; } { - name = "lazy_static"; - packageId = "lazy_static"; - optional = true; + name = "typenum"; + packageId = "typenum"; } ]; features = { - "default" = [ "std" ]; - "lazy_static" = [ "dep:lazy_static" ]; - "loom" = [ "dep:loom" ]; - "std" = [ "lazy_static" ]; + "getrandom" = [ "rand_core/getrandom" ]; + "rand_core" = [ "dep:rand_core" ]; }; - resolvedDefaultFeatures = [ "default" "lazy_static" "std" ]; - }; - "difference" = rec { - crateName = "difference"; - version = "2.0.0"; - edition = "2015"; - crateBin = [ ]; - sha256 = "1621wx4k8h452p6xzmzzvm7mz87kxh4yqz0kzxfjj9xmjxlbyk2j"; - authors = [ - "Johann Hofmann " - ]; - features = { - "bin" = [ "getopts" ]; - "getopts" = [ "dep:getopts" ]; - }; - resolvedDefaultFeatures = [ "default" ]; }; "digest" = rec { crateName = "digest"; - version = "0.8.1"; - edition = "2015"; - sha256 = "1madjl27f3kj5ql7kwgvb9c8b7yb7bv7yfgx7rqzj4i3fp4cil7k"; + version = "0.10.7"; + edition = "2018"; + sha256 = "14p2n6ih29x81akj097lvz7wi9b6b9hvls0lwrv7b6xwyy0s5ncy"; authors = [ "RustCrypto Developers" ]; dependencies = [ { - name = "generic-array"; - packageId = "generic-array"; + name = "block-buffer"; + packageId = "block-buffer"; + optional = true; + } + { + name = "crypto-common"; + packageId = "crypto-common"; } ]; features = { "blobby" = [ "dep:blobby" ]; + "block-buffer" = [ "dep:block-buffer" ]; + "const-oid" = [ "dep:const-oid" ]; + "core-api" = [ "block-buffer" ]; + "default" = [ "core-api" ]; "dev" = [ "blobby" ]; + "mac" = [ "subtle" ]; + "oid" = [ "const-oid" ]; + "rand_core" = [ "crypto-common/rand_core" ]; + "std" = [ "alloc" "crypto-common/std" ]; + "subtle" = [ "dep:subtle" ]; }; + resolvedDefaultFeatures = [ "block-buffer" "core-api" "default" ]; + }; + "dissimilar" = rec { + crateName = "dissimilar"; + version = "1.0.7"; + edition = "2018"; + sha256 = "0cn6i035s4hsvv078lg3alsfwjy0k2y7zy5hnsr1cvpf1v4bvqw6"; + authors = [ + "David Tolnay " + ]; + }; "either" = rec { crateName = "either"; - version = "1.6.1"; - edition = "2015"; - sha256 = "0mwl9vngqf5jvrhmhn9x60kr5hivxyjxbmby2pybncxfqhf4z3g7"; + version = "1.9.0"; + edition = "2018"; + sha256 = "01qy3anr7jal5lpc20791vxrw0nl6vksb5j7x56q2fycgcyy8sm2"; authors = [ "bluss" ]; @@ -630,16 +623,6 @@ rec { "serde" = [ "dep:serde" ]; }; }; - "fake-simd" = rec { - crateName = "fake-simd"; - version = "0.1.2"; - edition = "2015"; - sha256 = "1vfylvk4va2ivqx85603lyqqp0zk52cgbs4n5nfbbbqx577qm2p8"; - authors = [ - "The Rust-Crypto Project Developers" - ]; - - }; "fnv" = rec { crateName = "fnv"; version = "1.0.7"; @@ -656,9 +639,9 @@ rec { }; "fs_extra" = rec { crateName = "fs_extra"; - version = "1.2.0"; - edition = "2015"; - sha256 = "151k6dr35mhq5d8pc8krhw55ajhkyiv0pm14s7zzlc5bc9fp28i0"; + version = "1.3.0"; + edition = "2018"; + sha256 = "075i25z70j2mz9r7i9p9r521y8xdj81q7skslyb7zhqnnw33fw22"; authors = [ "Denis Kurilenko " ]; @@ -676,9 +659,9 @@ rec { }; "generic-array" = rec { crateName = "generic-array"; - version = "0.12.4"; + version = "0.14.7"; edition = "2015"; - sha256 = "1gfpay78vijl9vrwl1k9v7fbvbhkhcmnrk4kfg9l6x24y4s9zpzz"; + sha256 = "16lyyrzrljfq424c3n8kfwkqihlimmsg5nhshbbp48np3yjrqr45"; libName = "generic_array"; authors = [ "Bartłomiej Kamiński " @@ -690,15 +673,23 @@ rec { packageId = "typenum"; } ]; + buildDependencies = [ + { + name = "version_check"; + packageId = "version_check"; + } + ]; features = { "serde" = [ "dep:serde" ]; + "zeroize" = [ "dep:zeroize" ]; }; + resolvedDefaultFeatures = [ "more_lengths" ]; }; "globset" = rec { crateName = "globset"; - version = "0.4.8"; + version = "0.4.13"; edition = "2018"; - sha256 = "1gdzphnjjc0wdaawsq3n1nnypv9ja4prhca2n66hcahay2gksihh"; + sha256 = "0gf1l67k78l946wdc8mj219ar86dcyi0cb0raxdm4mbww70rg73m"; authors = [ "Andrew Gallant " ]; @@ -720,6 +711,7 @@ rec { { name = "log"; packageId = "log"; + optional = true; } { name = "regex"; @@ -729,9 +721,12 @@ rec { } ]; features = { + "default" = [ "log" ]; + "log" = [ "dep:log" ]; "serde" = [ "dep:serde" ]; "serde1" = [ "serde" ]; }; + resolvedDefaultFeatures = [ "default" "log" ]; }; "globwalk" = rec { crateName = "globwalk"; @@ -836,17 +831,13 @@ rec { }; "ignore" = rec { crateName = "ignore"; - version = "0.4.18"; + version = "0.4.20"; edition = "2018"; - sha256 = "07bmnv96msggqb040z6xqp1p7s8ys0f97b731hp6mybkjc9ingvi"; + sha256 = "14kl9fv83klbnjxdv0y8lpwlj3gkypxf3vbrmm29m2jkmcyqgryv"; authors = [ "Andrew Gallant " ]; dependencies = [ - { - name = "crossbeam-utils"; - packageId = "crossbeam-utils"; - } { name = "globset"; packageId = "globset"; @@ -889,11 +880,11 @@ rec { "simd-accel" = [ "globset/simd-accel" ]; }; }; - "itertools 0.7.11" = rec { + "itertools 0.10.5" = rec { crateName = "itertools"; - version = "0.7.11"; - edition = "2015"; - sha256 = "03cpsj26xmyamcalclqzr1i700vwx8hnbgxbpjvs354f8mnr8iqd"; + version = "0.10.5"; + edition = "2018"; + sha256 = "0ww45h7nxx5kj6z2y6chlskxd1igvs4j507anr6dzg99x1h25zdh"; authors = [ "bluss" ]; @@ -906,6 +897,7 @@ rec { ]; features = { "default" = [ "use_std" ]; + "use_std" = [ "use_alloc" "either/use_std" ]; }; }; "itertools 0.9.0" = rec { @@ -930,14 +922,14 @@ rec { }; "itoa" = rec { crateName = "itoa"; - version = "0.4.7"; - edition = "2015"; - sha256 = "0di7fggbknwfjcw8cgzm1dnm3ik32l2m1f7nmyh8ipmh45h069fx"; + version = "1.0.9"; + edition = "2018"; + sha256 = "0f6cpb4yqzhkrhhg6kqsw3wnmmhdnnffi6r2xzy248gzi2v0l5dg"; authors = [ "David Tolnay " ]; features = { - "default" = [ "std" ]; + "no-panic" = [ "dep:no-panic" ]; }; }; "lazy_static" = rec { @@ -955,9 +947,9 @@ rec { }; "libc" = rec { crateName = "libc"; - version = "0.2.98"; + version = "0.2.149"; edition = "2015"; - sha256 = "144728k6d98k3hplzklqn18a134nq6nw0jzdxy1s98sx2xvzw31j"; + sha256 = "16z2zqswcbk1qg5yigfyr0d44v0974amdaj564dmv5dpi2y770d0"; authors = [ "The Rust Project Developers" ]; @@ -971,64 +963,50 @@ rec { }; "log" = rec { crateName = "log"; - version = "0.4.14"; + version = "0.4.20"; edition = "2015"; - sha256 = "04175hv0v62shd82qydq58a48k3bjijmk54v38zgqlbxqkkbpfai"; + sha256 = "13rf7wphnwd61vazpxr7fiycin6cb1g8fmvgqg18i464p0y1drmm"; authors = [ "The Rust Project Developers" ]; - dependencies = [ - { - name = "cfg-if"; - packageId = "cfg-if"; - } - ]; features = { "kv_unstable" = [ "value-bag" ]; "kv_unstable_serde" = [ "kv_unstable_std" "value-bag/serde" "serde" ]; "kv_unstable_std" = [ "std" "kv_unstable" "value-bag/error" ]; - "kv_unstable_sval" = [ "kv_unstable" "value-bag/sval" "sval" ]; + "kv_unstable_sval" = [ "kv_unstable" "value-bag/sval" "sval" "sval_ref" ]; "serde" = [ "dep:serde" ]; "sval" = [ "dep:sval" ]; + "sval_ref" = [ "dep:sval_ref" ]; "value-bag" = [ "dep:value-bag" ]; }; }; - "maplit" = rec { - crateName = "maplit"; - version = "1.0.2"; - edition = "2015"; - sha256 = "07b5kjnhrrmfhgqm9wprjw8adx6i225lqp49gasgqg74lahnabiy"; - authors = [ - "bluss" - ]; - - }; "matches" = rec { crateName = "matches"; - version = "0.1.8"; + version = "0.1.10"; edition = "2015"; - sha256 = "020axl4q7rk9vz90phs7f8jas4imxal9y9kxl4z4v7a6719mrz3z"; + sha256 = "1994402fq4viys7pjhzisj4wcw894l53g798kkm2y74laxk0jci5"; libPath = "lib.rs"; - authors = [ - "Simon Sapin " - ]; }; "memchr" = rec { crateName = "memchr"; - version = "2.4.0"; - edition = "2018"; - sha256 = "1p478fqf4nia2ma0kv4npb8x1hli0zz6k16517ikb51jkryx8sxi"; + version = "2.6.4"; + edition = "2021"; + sha256 = "0rq1ka8790ns41j147npvxcqcl2anxyngsdimy85ag2api0fwrgn"; authors = [ "Andrew Gallant " "bluss" ]; features = { + "compiler_builtins" = [ "dep:compiler_builtins" ]; + "core" = [ "dep:core" ]; "default" = [ "std" ]; - "libc" = [ "dep:libc" ]; + "logging" = [ "dep:log" ]; + "rustc-dep-of-std" = [ "core" "compiler_builtins" ]; + "std" = [ "alloc" ]; "use_std" = [ "std" ]; }; - resolvedDefaultFeatures = [ "default" "std" ]; + resolvedDefaultFeatures = [ "alloc" "default" "std" ]; }; "nix-base32" = rec { crateName = "nix-base32"; @@ -1042,30 +1020,22 @@ rec { }; "once_cell" = rec { crateName = "once_cell"; - version = "1.8.0"; - edition = "2018"; - sha256 = "0mkbbxg6416z11r2yzsq91cqrkj9w1iyx5hakq15h5sbnriwnbv9"; + version = "1.18.0"; + edition = "2021"; + sha256 = "0vapcd5ambwck95wyz3ymlim35jirgnqn9a0qmi19msymv95v2yx"; authors = [ "Aleksey Kladov " ]; features = { "alloc" = [ "race" ]; + "atomic-polyfill" = [ "critical-section" ]; + "critical-section" = [ "dep:critical-section" "dep:atomic-polyfill" ]; "default" = [ "std" ]; - "parking_lot" = [ "dep:parking_lot" ]; + "parking_lot" = [ "dep:parking_lot_core" ]; "std" = [ "alloc" ]; }; resolvedDefaultFeatures = [ "alloc" "default" "race" "std" ]; }; - "opaque-debug" = rec { - crateName = "opaque-debug"; - version = "0.2.3"; - edition = "2015"; - sha256 = "172j6bs8ndclqxa2m64qc0y1772rr73g4l9fg2svscgicnbfff98"; - authors = [ - "RustCrypto Developers" - ]; - - }; "pathdiff" = rec { crateName = "pathdiff"; version = "0.1.0"; @@ -1089,29 +1059,42 @@ rec { }; "pest" = rec { crateName = "pest"; - version = "2.1.3"; - edition = "2015"; - sha256 = "0lry80bm90x47nq71wxq83kjrm9ashpz4kbm92p90ysdx4m8gx0h"; + version = "2.7.4"; + edition = "2021"; + sha256 = "194qbnc2y3qhr2hp9bp5yc0vr0b8qr2b6pxxvg028sjxnvkz28n0"; authors = [ "Dragoș Tiselice " ]; dependencies = [ + { + name = "memchr"; + packageId = "memchr"; + optional = true; + } + { + name = "thiserror"; + packageId = "thiserror"; + optional = true; + } { name = "ucd-trie"; packageId = "ucd-trie"; + usesDefaultFeatures = false; } ]; features = { - "pretty-print" = [ "serde" "serde_json" ]; - "serde" = [ "dep:serde" ]; - "serde_json" = [ "dep:serde_json" ]; + "default" = [ "std" "memchr" ]; + "memchr" = [ "dep:memchr" ]; + "pretty-print" = [ "dep:serde" "dep:serde_json" ]; + "std" = [ "ucd-trie/std" "dep:thiserror" ]; }; + resolvedDefaultFeatures = [ "default" "memchr" "std" ]; }; "pest_derive" = rec { crateName = "pest_derive"; - version = "2.1.0"; - edition = "2015"; - sha256 = "1l5jfa6ril71cw5nsiw0r45br54dd8cj2r1nc2d1wq6wb3jilgc3"; + version = "2.7.4"; + edition = "2021"; + sha256 = "1n36kh9xd6kvs8vhrrhn8d1h3gmzw5w8zdacgjbhlh261mikyl9m"; procMacro = true; authors = [ "Dragoș Tiselice " @@ -1120,19 +1103,27 @@ rec { { name = "pest"; packageId = "pest"; + usesDefaultFeatures = false; } { name = "pest_generator"; packageId = "pest_generator"; + usesDefaultFeatures = false; } ]; - + features = { + "default" = [ "std" ]; + "grammar-extras" = [ "pest_generator/grammar-extras" ]; + "not-bootstrap-in-src" = [ "pest_generator/not-bootstrap-in-src" ]; + "std" = [ "pest/std" "pest_generator/std" ]; + }; + resolvedDefaultFeatures = [ "default" "std" ]; }; "pest_generator" = rec { crateName = "pest_generator"; - version = "2.1.3"; - edition = "2015"; - sha256 = "0mfgl0p6v91ywdqr9i8w053v70cnfqjk8y5rhwbvir9idridpf4r"; + version = "2.7.4"; + edition = "2021"; + sha256 = "0fhjr0g10d3qgkf69c3fbfp821plsvi2dimmi6hsnyq5wyww37xw"; authors = [ "Dragoș Tiselice " ]; @@ -1140,6 +1131,7 @@ rec { { name = "pest"; packageId = "pest"; + usesDefaultFeatures = false; } { name = "pest_meta"; @@ -1155,23 +1147,29 @@ rec { } { name = "syn"; - packageId = "syn"; + packageId = "syn 2.0.38"; } ]; - + features = { + "default" = [ "std" ]; + "grammar-extras" = [ "pest_meta/grammar-extras" ]; + "not-bootstrap-in-src" = [ "pest_meta/not-bootstrap-in-src" ]; + "std" = [ "pest/std" ]; + }; + resolvedDefaultFeatures = [ "std" ]; }; "pest_meta" = rec { crateName = "pest_meta"; - version = "2.1.3"; - edition = "2015"; - sha256 = "07d1jbbbpxpchk0j37ljas46sdyyg599z3zw2ac0f5sk9x06xgjl"; + version = "2.7.4"; + edition = "2021"; + sha256 = "13bhqvlfha69m6mivy8svrzrfkjrsf5hqz0fk3mkq1f4gsg4xxqx"; authors = [ "Dragoș Tiselice " ]; dependencies = [ { - name = "maplit"; - packageId = "maplit"; + name = "once_cell"; + packageId = "once_cell"; } { name = "pest"; @@ -1180,12 +1178,15 @@ rec { ]; buildDependencies = [ { - name = "sha-1"; - packageId = "sha-1"; + name = "sha2"; + packageId = "sha2"; usesDefaultFeatures = false; } ]; - + features = { + "not-bootstrap-in-src" = [ "dep:cargo" ]; + }; + resolvedDefaultFeatures = [ "default" ]; }; "proc-macro-error" = rec { crateName = "proc-macro-error"; @@ -1210,7 +1211,7 @@ rec { } { name = "syn"; - packageId = "syn"; + packageId = "syn 1.0.109"; optional = true; usesDefaultFeatures = false; } @@ -1257,17 +1258,17 @@ rec { }; "proc-macro2" = rec { crateName = "proc-macro2"; - version = "1.0.27"; - edition = "2018"; - sha256 = "0f3h0zl5w5090ajmmvpmhkpr4iwqnn5rip3afacabhc657vwmn7h"; + version = "1.0.69"; + edition = "2021"; + sha256 = "1nljgyllbm3yr3pa081bf83gxh6l4zvjqzaldw7v4mj9xfgihk0k"; authors = [ - "Alex Crichton " "David Tolnay " + "Alex Crichton " ]; dependencies = [ { - name = "unicode-xid"; - packageId = "unicode-xid"; + name = "unicode-ident"; + packageId = "unicode-ident"; } ]; features = { @@ -1277,9 +1278,9 @@ rec { }; "quote" = rec { crateName = "quote"; - version = "1.0.9"; + version = "1.0.33"; edition = "2018"; - sha256 = "19rjmfqzk26rxbgxy5j2ckqc2v12sw2xw8l4gi8bzpn2bmsbkl63"; + sha256 = "1biw54hbbr12wdwjac55z1m2x2rylciw83qnjn564a3096jgqrsj"; authors = [ "David Tolnay " ]; @@ -1402,11 +1403,12 @@ rec { }; "regex" = rec { crateName = "regex"; - version = "1.5.6"; - edition = "2018"; - sha256 = "1wczbykw6fas7359j9lhkkv13dplhiphzrf2ii6dmg5xjiyi4gyq"; + version = "1.10.1"; + edition = "2021"; + sha256 = "1sl9j4c4qflnrd0xq3fap6a315nj9l5830d60nbvq8pq08849b5a"; authors = [ "The Rust Project Developers" + "Andrew Gallant " ]; dependencies = [ { @@ -1419,6 +1421,12 @@ rec { packageId = "memchr"; optional = true; } + { + name = "regex-automata"; + packageId = "regex-automata"; + usesDefaultFeatures = false; + features = [ "alloc" "syntax" "meta" "nfa-pikevm" ]; + } { name = "regex-syntax"; packageId = "regex-syntax"; @@ -1426,37 +1434,104 @@ rec { } ]; features = { - "aho-corasick" = [ "dep:aho-corasick" ]; "default" = [ "std" "perf" "unicode" "regex-syntax/default" ]; - "memchr" = [ "dep:memchr" ]; - "perf" = [ "perf-cache" "perf-dfa" "perf-inline" "perf-literal" ]; - "perf-literal" = [ "aho-corasick" "memchr" ]; - "unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" "regex-syntax/unicode" ]; - "unicode-age" = [ "regex-syntax/unicode-age" ]; - "unicode-bool" = [ "regex-syntax/unicode-bool" ]; - "unicode-case" = [ "regex-syntax/unicode-case" ]; - "unicode-gencat" = [ "regex-syntax/unicode-gencat" ]; - "unicode-perl" = [ "regex-syntax/unicode-perl" ]; - "unicode-script" = [ "regex-syntax/unicode-script" ]; - "unicode-segment" = [ "regex-syntax/unicode-segment" ]; + "logging" = [ "aho-corasick?/logging" "memchr?/logging" "regex-automata/logging" ]; + "perf" = [ "perf-cache" "perf-dfa" "perf-onepass" "perf-backtrack" "perf-inline" "perf-literal" ]; + "perf-backtrack" = [ "regex-automata/nfa-backtrack" ]; + "perf-dfa" = [ "regex-automata/hybrid" ]; + "perf-dfa-full" = [ "regex-automata/dfa-build" "regex-automata/dfa-search" ]; + "perf-inline" = [ "regex-automata/perf-inline" ]; + "perf-literal" = [ "dep:aho-corasick" "dep:memchr" "regex-automata/perf-literal" ]; + "perf-onepass" = [ "regex-automata/dfa-onepass" ]; + "std" = [ "aho-corasick?/std" "memchr?/std" "regex-automata/std" "regex-syntax/std" ]; + "unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" "regex-automata/unicode" "regex-syntax/unicode" ]; + "unicode-age" = [ "regex-automata/unicode-age" "regex-syntax/unicode-age" ]; + "unicode-bool" = [ "regex-automata/unicode-bool" "regex-syntax/unicode-bool" ]; + "unicode-case" = [ "regex-automata/unicode-case" "regex-syntax/unicode-case" ]; + "unicode-gencat" = [ "regex-automata/unicode-gencat" "regex-syntax/unicode-gencat" ]; + "unicode-perl" = [ "regex-automata/unicode-perl" "regex-automata/unicode-word-boundary" "regex-syntax/unicode-perl" ]; + "unicode-script" = [ "regex-automata/unicode-script" "regex-syntax/unicode-script" ]; + "unicode-segment" = [ "regex-automata/unicode-segment" "regex-syntax/unicode-segment" ]; "unstable" = [ "pattern" ]; "use_std" = [ "std" ]; }; - resolvedDefaultFeatures = [ "aho-corasick" "default" "memchr" "perf" "perf-cache" "perf-dfa" "perf-inline" "perf-literal" "std" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; + resolvedDefaultFeatures = [ "default" "perf" "perf-backtrack" "perf-cache" "perf-dfa" "perf-inline" "perf-literal" "perf-onepass" "std" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; + }; + "regex-automata" = rec { + crateName = "regex-automata"; + version = "0.4.2"; + edition = "2021"; + sha256 = "0pcyi5k87yanacmb30522zjm9gpi59rdpkb4l26dr5d6cgicf4ah"; + authors = [ + "The Rust Project Developers" + "Andrew Gallant " + ]; + dependencies = [ + { + name = "aho-corasick"; + packageId = "aho-corasick"; + optional = true; + usesDefaultFeatures = false; + } + { + name = "memchr"; + packageId = "memchr"; + optional = true; + usesDefaultFeatures = false; + } + { + name = "regex-syntax"; + packageId = "regex-syntax"; + optional = true; + usesDefaultFeatures = false; + } + ]; + features = { + "default" = [ "std" "syntax" "perf" "unicode" "meta" "nfa" "dfa" "hybrid" ]; + "dfa" = [ "dfa-build" "dfa-search" "dfa-onepass" ]; + "dfa-build" = [ "nfa-thompson" "dfa-search" ]; + "dfa-onepass" = [ "nfa-thompson" ]; + "hybrid" = [ "alloc" "nfa-thompson" ]; + "internal-instrument" = [ "internal-instrument-pikevm" ]; + "internal-instrument-pikevm" = [ "logging" "std" ]; + "logging" = [ "dep:log" "aho-corasick?/logging" "memchr?/logging" ]; + "meta" = [ "syntax" "nfa-pikevm" ]; + "nfa" = [ "nfa-thompson" "nfa-pikevm" "nfa-backtrack" ]; + "nfa-backtrack" = [ "nfa-thompson" ]; + "nfa-pikevm" = [ "nfa-thompson" ]; + "nfa-thompson" = [ "alloc" ]; + "perf" = [ "perf-inline" "perf-literal" ]; + "perf-literal" = [ "perf-literal-substring" "perf-literal-multisubstring" ]; + "perf-literal-multisubstring" = [ "std" "dep:aho-corasick" ]; + "perf-literal-substring" = [ "aho-corasick?/perf-literal" "dep:memchr" ]; + "std" = [ "regex-syntax?/std" "memchr?/std" "aho-corasick?/std" "alloc" ]; + "syntax" = [ "dep:regex-syntax" "alloc" ]; + "unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" "unicode-word-boundary" "regex-syntax?/unicode" ]; + "unicode-age" = [ "regex-syntax?/unicode-age" ]; + "unicode-bool" = [ "regex-syntax?/unicode-bool" ]; + "unicode-case" = [ "regex-syntax?/unicode-case" ]; + "unicode-gencat" = [ "regex-syntax?/unicode-gencat" ]; + "unicode-perl" = [ "regex-syntax?/unicode-perl" ]; + "unicode-script" = [ "regex-syntax?/unicode-script" ]; + "unicode-segment" = [ "regex-syntax?/unicode-segment" ]; + }; + resolvedDefaultFeatures = [ "alloc" "dfa-onepass" "hybrid" "meta" "nfa-backtrack" "nfa-pikevm" "nfa-thompson" "perf-inline" "perf-literal" "perf-literal-multisubstring" "perf-literal-substring" "std" "syntax" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" "unicode-word-boundary" ]; }; "regex-syntax" = rec { crateName = "regex-syntax"; - version = "0.6.26"; - edition = "2018"; - sha256 = "0r6vplrklxq7yx7x4zqf04apr699swbsn6ipv8bk82nwqngdxcs9"; + version = "0.8.2"; + edition = "2021"; + sha256 = "17rd2s8xbiyf6lb4aj2nfi44zqlj98g2ays8zzj2vfs743k79360"; authors = [ "The Rust Project Developers" + "Andrew Gallant " ]; features = { - "default" = [ "unicode" ]; + "arbitrary" = [ "dep:arbitrary" ]; + "default" = [ "std" "unicode" ]; "unicode" = [ "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; }; - resolvedDefaultFeatures = [ "default" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; + resolvedDefaultFeatures = [ "default" "std" "unicode" "unicode-age" "unicode-bool" "unicode-case" "unicode-gencat" "unicode-perl" "unicode-script" "unicode-segment" ]; }; "remove_dir_all" = rec { crateName = "remove_dir_all"; @@ -1478,9 +1553,9 @@ rec { }; "ryu" = rec { crateName = "ryu"; - version = "1.0.5"; + version = "1.0.15"; edition = "2018"; - sha256 = "0vpqv1dj7fksa6hm3zpk5rbsjs0ifbfy7xwzsyyil0rx37a03lvi"; + sha256 = "0hfphpn1xnpzxwj8qg916ga1lyc33lc03lnf1gb3wwpglj6wrm0s"; authors = [ "David Tolnay " ]; @@ -1507,9 +1582,9 @@ rec { }; "semver" = rec { crateName = "semver"; - version = "1.0.3"; + version = "1.0.20"; edition = "2018"; - sha256 = "1gna1p10i86sf1pqfqndkwl0wks35x84yvjw77c74ckzxrbsqfjz"; + sha256 = "140hmbfa743hbmah1zjf07s8apavhvn04204qjigjiz5w6iscvw3"; authors = [ "David Tolnay " ]; @@ -1529,9 +1604,9 @@ rec { }; "serde" = rec { crateName = "serde"; - version = "1.0.126"; - edition = "2015"; - sha256 = "00vdk7y3j8h2xv28a2i2ad1d19g5iwrdknbq8yp79v6axamhaxgc"; + version = "1.0.189"; + edition = "2018"; + sha256 = "0dq542wki7rn2inhg70f35qjzd8aayjfkvcfvhdh1m2awx22lhlf"; authors = [ "Erick Tryzelaar " "David Tolnay " @@ -1542,6 +1617,11 @@ rec { packageId = "serde_derive"; optional = true; } + { + name = "serde_derive"; + packageId = "serde_derive"; + target = { target, features }: false; + } ]; devDependencies = [ { @@ -1554,13 +1634,13 @@ rec { "derive" = [ "serde_derive" ]; "serde_derive" = [ "dep:serde_derive" ]; }; - resolvedDefaultFeatures = [ "default" "derive" "serde_derive" "std" ]; + resolvedDefaultFeatures = [ "alloc" "default" "derive" "serde_derive" "std" ]; }; "serde_derive" = rec { crateName = "serde_derive"; - version = "1.0.126"; + version = "1.0.189"; edition = "2015"; - sha256 = "0hsdh39qj0g187nwndfzg67q4qajbm5g6x0fr5xarblmk2y7sfln"; + sha256 = "1m9j5f5dd010arr75mipj4ykngk1ipv8qdqialaf770033wx2j0y"; procMacro = true; authors = [ "Erick Tryzelaar " @@ -1577,7 +1657,7 @@ rec { } { name = "syn"; - packageId = "syn"; + packageId = "syn 2.0.38"; } ]; features = { }; @@ -1585,9 +1665,9 @@ rec { }; "serde_json" = rec { crateName = "serde_json"; - version = "1.0.64"; - edition = "2018"; - sha256 = "0y9gk3yikncrc0zajmwc0pidr7zfwafawb4gidf6mqyskzf9g7kr"; + version = "1.0.107"; + edition = "2021"; + sha256 = "0r8cyb8nh3afb15yfscp1h8sdjfv6pnnwg14kcp8igfqwgk0qhkb"; authors = [ "Erick Tryzelaar " "David Tolnay " @@ -1596,7 +1676,6 @@ rec { { name = "itoa"; packageId = "itoa"; - usesDefaultFeatures = false; } { name = "ryu"; @@ -1608,40 +1687,43 @@ rec { usesDefaultFeatures = false; } ]; + devDependencies = [ + { + name = "serde"; + packageId = "serde"; + features = [ "derive" ]; + } + ]; features = { "alloc" = [ "serde/alloc" ]; "default" = [ "std" ]; "indexmap" = [ "dep:indexmap" ]; - "preserve_order" = [ "indexmap" ]; + "preserve_order" = [ "indexmap" "std" ]; "std" = [ "serde/std" ]; }; resolvedDefaultFeatures = [ "default" "std" "unbounded_depth" ]; }; - "sha-1" = rec { - crateName = "sha-1"; - version = "0.8.2"; - edition = "2015"; - sha256 = "1pv387q0r7llk2cqzyq0nivzvkgqgzsiygqzlv7b68z9xl5lvngp"; - libName = "sha1"; + "sha2" = rec { + crateName = "sha2"; + version = "0.10.8"; + edition = "2018"; + sha256 = "1j1x78zk9il95w9iv46dh9wm73r6xrgj32y6lzzw7bxws9dbfgbr"; authors = [ "RustCrypto Developers" ]; dependencies = [ { - name = "block-buffer"; - packageId = "block-buffer"; - } - { - name = "digest"; - packageId = "digest"; + name = "cfg-if"; + packageId = "cfg-if"; } { - name = "fake-simd"; - packageId = "fake-simd"; + name = "cpufeatures"; + packageId = "cpufeatures"; + target = { target, features }: (("aarch64" == target."arch") || ("x86_64" == target."arch") || ("x86" == target."arch")); } { - name = "opaque-debug"; - packageId = "opaque-debug"; + name = "digest"; + packageId = "digest"; } ]; devDependencies = [ @@ -1652,11 +1734,11 @@ rec { } ]; features = { - "asm" = [ "sha1-asm" ]; - "asm-aarch64" = [ "asm" "libc" ]; + "asm" = [ "sha2-asm" ]; + "asm-aarch64" = [ "asm" ]; "default" = [ "std" ]; - "libc" = [ "dep:libc" ]; - "sha1-asm" = [ "dep:sha1-asm" ]; + "oid" = [ "digest/oid" ]; + "sha2-asm" = [ "dep:sha2-asm" ]; "std" = [ "digest/std" ]; }; }; @@ -1672,9 +1754,9 @@ rec { }; "structopt" = rec { crateName = "structopt"; - version = "0.3.22"; + version = "0.3.26"; edition = "2018"; - sha256 = "0wadrsmkvab04dkbs670hcyl41l89kj7nvky6356l8k7rg6l3c39"; + sha256 = "043sg3qxllann6q9i71d05qp3q13scmcvhxhd950ka2v8ij5qsqc"; authors = [ "Guillaume Pinot " "others" @@ -1711,9 +1793,9 @@ rec { }; "structopt-derive" = rec { crateName = "structopt-derive"; - version = "0.4.15"; + version = "0.4.18"; edition = "2018"; - sha256 = "044w7z0bnsvla4d26s1r8s4q9sbx4f60c02yfxa1mxgmxi5964vq"; + sha256 = "1q5gcigmvw0cinjxzpyrkflliq5r1ivljmrvfrl3phcwgwraxdfw"; procMacro = true; authors = [ "Guillaume Pinot " @@ -1737,17 +1819,17 @@ rec { } { name = "syn"; - packageId = "syn"; + packageId = "syn 1.0.109"; features = [ "full" ]; } ]; features = { }; }; - "syn" = rec { + "syn 1.0.109" = rec { crateName = "syn"; - version = "1.0.73"; + version = "1.0.109"; edition = "2018"; - sha256 = "1ixw4lscc7009ibaic8g5bvnc94hdcr62ksjk3jjl38363zqj57p"; + sha256 = "0ds2if4600bd59wsv7jjgfkayfzy3hnazs394kz6zdkmna8l3dkj"; authors = [ "David Tolnay " ]; @@ -1764,8 +1846,8 @@ rec { usesDefaultFeatures = false; } { - name = "unicode-xid"; - packageId = "unicode-xid"; + name = "unicode-ident"; + packageId = "unicode-ident"; } ]; features = { @@ -1777,6 +1859,40 @@ rec { }; resolvedDefaultFeatures = [ "clone-impls" "default" "derive" "full" "parsing" "printing" "proc-macro" "quote" ]; }; + "syn 2.0.38" = rec { + crateName = "syn"; + version = "2.0.38"; + edition = "2021"; + sha256 = "12s06bi068scc4fpv2x2bp3lx2vxnk4s0qv3w9hqznrpl6m7jsz9"; + authors = [ + "David Tolnay " + ]; + dependencies = [ + { + name = "proc-macro2"; + packageId = "proc-macro2"; + usesDefaultFeatures = false; + } + { + name = "quote"; + packageId = "quote"; + optional = true; + usesDefaultFeatures = false; + } + { + name = "unicode-ident"; + packageId = "unicode-ident"; + } + ]; + features = { + "default" = [ "derive" "parsing" "printing" "clone-impls" "proc-macro" ]; + "printing" = [ "quote" ]; + "proc-macro" = [ "proc-macro2/proc-macro" "quote/proc-macro" ]; + "quote" = [ "dep:quote" ]; + "test" = [ "syn-test-suite/all-features" ]; + }; + resolvedDefaultFeatures = [ "clone-impls" "default" "derive" "parsing" "printing" "proc-macro" "quote" ]; + }; "tempdir" = rec { crateName = "tempdir"; version = "0.3.7"; @@ -1799,9 +1915,9 @@ rec { }; "tera" = rec { crateName = "tera"; - version = "1.12.0"; + version = "1.19.1"; edition = "2018"; - sha256 = "0fmabbqlf6igiipm81dinqj2psw9fh6ry91ix6iflmqfzwfm8wbm"; + sha256 = "1f0hdpz59qi6abl12yj42fxh27ppgshy6xmw1554m20yq4bzy3cp"; authors = [ "Vincent Prouillet " ]; @@ -1840,15 +1956,17 @@ rec { } ]; features = { - "builtins" = [ "slug" "percent-encoding" "humansize" "chrono" "chrono-tz" "rand" ]; + "builtins" = [ "urlencode" "slug" "humansize" "chrono" "chrono-tz" "rand" ]; "chrono" = [ "dep:chrono" ]; "chrono-tz" = [ "dep:chrono-tz" ]; + "date-locale" = [ "builtins" "chrono/unstable-locales" ]; "default" = [ "builtins" ]; "humansize" = [ "dep:humansize" ]; "percent-encoding" = [ "dep:percent-encoding" ]; "preserve_order" = [ "serde_json/preserve_order" ]; "rand" = [ "dep:rand" ]; "slug" = [ "dep:slug" ]; + "urlencode" = [ "percent-encoding" ]; }; }; "textwrap" = rec { @@ -1870,29 +1988,72 @@ rec { "term_size" = [ "dep:term_size" ]; }; }; + "thiserror" = rec { + crateName = "thiserror"; + version = "1.0.49"; + edition = "2021"; + sha256 = "1m3yalbcx89bx397igc1ckypw8hiwq9jbzc56pgazrzdsz3fhxqi"; + authors = [ + "David Tolnay " + ]; + dependencies = [ + { + name = "thiserror-impl"; + packageId = "thiserror-impl"; + } + ]; + + }; + "thiserror-impl" = rec { + crateName = "thiserror-impl"; + version = "1.0.49"; + edition = "2021"; + sha256 = "1k643ga9sbqpcb873n299n3zjzc4srfakyv98xwqi4ly0412yw8h"; + procMacro = true; + authors = [ + "David Tolnay " + ]; + dependencies = [ + { + name = "proc-macro2"; + packageId = "proc-macro2"; + } + { + name = "quote"; + packageId = "quote"; + } + { + name = "syn"; + packageId = "syn 2.0.38"; + } + ]; + + }; "thread_local" = rec { crateName = "thread_local"; - version = "1.1.4"; - edition = "2018"; - sha256 = "1001bvz6a688wf3izcrh3jqrkiqaarf44wf08azm071ig1xw45jm"; + version = "1.1.7"; + edition = "2021"; + sha256 = "0lp19jdgvp5m4l60cgxdnl00yw1hlqy8gcywg9bddwng9h36zp9z"; authors = [ "Amanieu d'Antras " ]; dependencies = [ + { + name = "cfg-if"; + packageId = "cfg-if"; + } { name = "once_cell"; packageId = "once_cell"; } ]; - features = { - "criterion" = [ "dep:criterion" ]; - }; + features = { }; }; "tinyvec" = rec { crateName = "tinyvec"; - version = "1.2.0"; + version = "1.6.0"; edition = "2018"; - sha256 = "0hn3fkpb9nca9nf9znz2dxlp4ccv37hnbh67aczpzpmpbgq20ljv"; + sha256 = "0l6bl2h62a5m44jdnpn7lmj14rd44via8180i7121fvm73mmrk47"; authors = [ "Lokathor " ]; @@ -1905,16 +2066,21 @@ rec { ]; features = { "alloc" = [ "tinyvec_macros" ]; + "arbitrary" = [ "dep:arbitrary" ]; + "real_blackbox" = [ "criterion/real_blackbox" ]; + "rustc_1_55" = [ "rustc_1_40" ]; + "rustc_1_57" = [ "rustc_1_55" ]; "serde" = [ "dep:serde" ]; + "std" = [ "alloc" ]; "tinyvec_macros" = [ "dep:tinyvec_macros" ]; }; resolvedDefaultFeatures = [ "alloc" "default" "tinyvec_macros" ]; }; "tinyvec_macros" = rec { crateName = "tinyvec_macros"; - version = "0.1.0"; + version = "0.1.1"; edition = "2018"; - sha256 = "0p5zvgbas5nh403fbxica819mf3g83n8g2hzpfazfr56w6klv9yd"; + sha256 = "081gag86208sc3y6sdkshgw3vysm5d34p431dzw0bshz66ncng0z"; authors = [ "Soveu " ]; @@ -1922,9 +2088,9 @@ rec { }; "toml" = rec { crateName = "toml"; - version = "0.5.8"; + version = "0.5.11"; edition = "2018"; - sha256 = "1apcmjrrjw429pjw7mqlmdwwd67g8305vwqy4kw3swr612bl44d3"; + sha256 = "0d2266nx8b3n22c7k24x4428z6di8n83a9n466jm7a2hipfz1xzl"; authors = [ "Alex Crichton " ]; @@ -1942,28 +2108,31 @@ rec { }; "typenum" = rec { crateName = "typenum"; - version = "1.13.0"; + version = "1.17.0"; edition = "2018"; - sha256 = "01lbbspn4080yg8wp6y7q3xcqih1c1dmkkx4pwax4z1a9436k7w7"; + sha256 = "09dqxv69m9lj9zvv6xw5vxaqx15ps0vxyy5myg33i0kbqvq0pzs2"; build = "build/main.rs"; authors = [ "Paho Lurie-Gregg " "Andre Bogus " ]; - features = { }; + features = { + "scale-info" = [ "dep:scale-info" ]; + "scale_info" = [ "scale-info/derive" ]; + }; }; "ucd-trie" = rec { crateName = "ucd-trie"; - version = "0.1.3"; - edition = "2018"; - sha256 = "072cblf8v3wzyaz3lhbpzgil4s03dpzg1ppy3gqx2l4v622y3pjn"; + version = "0.1.6"; + edition = "2021"; + sha256 = "1ff4yfksirqs37ybin9aw71aa5gva00hw7jdxbw8w668zy964r7d"; authors = [ "Andrew Gallant " ]; features = { "default" = [ "std" ]; }; - resolvedDefaultFeatures = [ "default" "std" ]; + resolvedDefaultFeatures = [ "std" ]; }; "unic-char-property" = rec { crateName = "unic-char-property"; @@ -2064,33 +2233,38 @@ rec { }; "unicode-bidi" = rec { crateName = "unicode-bidi"; - version = "0.3.5"; + version = "0.3.13"; edition = "2018"; - sha256 = "1q07h5kp9jszwf0bkrpa1v5wmv04dv920x3w2xy6pjdikchbxf7f"; + sha256 = "0q0l7rdkiq54pan7a4ama39dgynaf1mnjj1nddrq1w1zayjqp24j"; libName = "unicode_bidi"; authors = [ "The Servo Project Developers" ]; - dependencies = [ - { - name = "matches"; - packageId = "matches"; - } - ]; features = { + "default" = [ "std" "hardcoded-data" ]; "flame" = [ "dep:flame" ]; "flame_it" = [ "flame" "flamer" ]; "flamer" = [ "dep:flamer" ]; "serde" = [ "dep:serde" ]; "with_serde" = [ "serde" ]; }; - resolvedDefaultFeatures = [ "default" ]; + resolvedDefaultFeatures = [ "default" "hardcoded-data" "std" ]; + }; + "unicode-ident" = rec { + crateName = "unicode-ident"; + version = "1.0.12"; + edition = "2018"; + sha256 = "0jzf1znfpb2gx8nr8mvmyqs1crnv79l57nxnbiszc7xf7ynbjm1k"; + authors = [ + "David Tolnay " + ]; + }; "unicode-normalization" = rec { crateName = "unicode-normalization"; - version = "0.1.19"; + version = "0.1.22"; edition = "2018"; - sha256 = "1yabhmg8zlcksda3ajly9hpbzqgbhknxwch8dwkfkaa1569r0ifm"; + sha256 = "08d95g7b1irc578b2iyhzv4xhsa4pfvwsqxcl9lbcpabzkq16msw"; authors = [ "kwantam " "Manish Goregaokar " @@ -2109,9 +2283,9 @@ rec { }; "unicode-segmentation" = rec { crateName = "unicode-segmentation"; - version = "1.8.0"; + version = "1.10.1"; edition = "2018"; - sha256 = "0nrqfgxkh00wb5dhl0874z20789i2yjimp6ndgh4ay4yjjd895c8"; + sha256 = "0dky2hm5k51xy11hc3nk85p533rvghd462b6i0c532b7hl4j9mhx"; authors = [ "kwantam " "Manish Goregaokar " @@ -2120,9 +2294,9 @@ rec { }; "unicode-width" = rec { crateName = "unicode-width"; - version = "0.1.8"; + version = "0.1.11"; edition = "2015"; - sha256 = "1qxizyi6xbcqyi4z79p523ywvmgsfcgfqb3zv3c8i6x1jcc5jdwk"; + sha256 = "11ds4ydhg8g7l06rlmh712q41qsrd0j0h00n1jm74kww3kqk65z5"; authors = [ "kwantam " "Manish Goregaokar " @@ -2135,19 +2309,6 @@ rec { }; resolvedDefaultFeatures = [ "default" ]; }; - "unicode-xid" = rec { - crateName = "unicode-xid"; - version = "0.2.2"; - edition = "2015"; - sha256 = "1wrkgcw557v311dkdb6n2hrix9dm2qdsb1zpw7pn79l03zb85jwc"; - authors = [ - "erick.tryzelaar " - "kwantam " - "Manish Goregaokar " - ]; - features = { }; - resolvedDefaultFeatures = [ "default" ]; - }; "url" = rec { crateName = "url"; version = "1.7.2"; @@ -2239,9 +2400,9 @@ rec { }; "version_check" = rec { crateName = "version_check"; - version = "0.9.3"; + version = "0.9.4"; edition = "2015"; - sha256 = "1zmkcgj2m0pq0l4wnhrp1wl1lygf7x2h5p7pvjwc4719lnlxrv2z"; + sha256 = "0gs8grwdlgh0xq660d7wr80x14vxbizmd8dbp29p2pdncx8lp1s9"; authors = [ "Sergio Benitez " ]; @@ -2249,9 +2410,9 @@ rec { }; "walkdir" = rec { crateName = "walkdir"; - version = "2.3.2"; + version = "2.4.0"; edition = "2018"; - sha256 = "0mnszy33685v8y9js8mw6x2p3iddqs8vfj7n2dhqddnlbirz5340"; + sha256 = "1vjl9fmfc4v8k9ald23qrpcbyb8dl1ynyq8d516cm537r1yqa7fp"; authors = [ "Andrew Gallant " ]; @@ -2260,12 +2421,6 @@ rec { name = "same-file"; packageId = "same-file"; } - { - name = "winapi"; - packageId = "winapi"; - target = { target, features }: (target."windows" or false); - features = [ "std" "winnt" ]; - } { name = "winapi-util"; packageId = "winapi-util"; @@ -2297,7 +2452,7 @@ rec { features = { "debug" = [ "impl-debug" ]; }; - resolvedDefaultFeatures = [ "consoleapi" "errhandlingapi" "fileapi" "minwinbase" "minwindef" "ntsecapi" "processenv" "profileapi" "std" "winbase" "wincon" "winerror" "winnt" ]; + resolvedDefaultFeatures = [ "consoleapi" "errhandlingapi" "fileapi" "handleapi" "minwinbase" "minwindef" "ntsecapi" "processenv" "profileapi" "std" "sysinfoapi" "winbase" "wincon" "winerror" "winnt" ]; }; "winapi-i686-pc-windows-gnu" = rec { crateName = "winapi-i686-pc-windows-gnu"; @@ -2311,9 +2466,9 @@ rec { }; "winapi-util" = rec { crateName = "winapi-util"; - version = "0.1.5"; - edition = "2018"; - sha256 = "0y71bp7f6d536czj40dhqk0d55wfbbwqfp2ymqf1an5ibgl6rv3h"; + version = "0.1.6"; + edition = "2021"; + sha256 = "15i5lm39wd44004i9d5qspry2cynkrpvwzghr6s2c3dsk28nz7pj"; authors = [ "Andrew Gallant " ]; @@ -2322,7 +2477,7 @@ rec { name = "winapi"; packageId = "winapi"; target = { target, features }: (target."windows" or false); - features = [ "std" "consoleapi" "errhandlingapi" "fileapi" "minwindef" "processenv" "winbase" "wincon" "winerror" "winnt" ]; + features = [ "std" "consoleapi" "errhandlingapi" "fileapi" "minwindef" "processenv" "sysinfoapi" "winbase" "wincon" "winerror" "winnt" ]; } ]; @@ -2664,6 +2819,8 @@ rec { buildRustCrateForPkgsFunc pkgs ( crateConfig // { + # https://github.com/NixOS/nixpkgs/issues/218712 + dontStrip = stdenv.hostPlatform.isDarwin; src = crateConfig.src or ( pkgs.fetchurl rec { name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz"; diff --git a/crate2nix/templates/nix/crate2nix/default.nix b/crate2nix/templates/nix/crate2nix/default.nix index fb315325..f2d9c6cb 100644 --- a/crate2nix/templates/nix/crate2nix/default.nix +++ b/crate2nix/templates/nix/crate2nix/default.nix @@ -339,6 +339,8 @@ rec { buildRustCrateForPkgsFunc pkgs ( crateConfig // { + # https://github.com/NixOS/nixpkgs/issues/218712 + dontStrip = stdenv.hostPlatform.isDarwin; src = crateConfig.src or ( pkgs.fetchurl rec { name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz"; diff --git a/nix/dependencies.nix b/nix/dependencies.nix index 9f943103..a1462ce8 100644 --- a/nix/dependencies.nix +++ b/nix/dependencies.nix @@ -12,8 +12,8 @@ cargo clippy rustc rustfmt binutils nixpkgs-fmt jq + nix niv - nix_2_3 git utillinux cacert @@ -29,22 +29,22 @@ in cargoNix.rootCrate.build; - cargoRelease = - let - cargoNixSource = tools.generatedCargoNix rec { - name = "cargo-release"; - src = sources."${name}"; - }; - buildRustCrateForPkgs = pkgs: pkgs.buildRustCrate.override { - defaultCrateOverrides = pkgs.defaultCrateOverrides // { - cargo-release = { buildInputs ? [ ], ... }: { - buildInputs = buildInputs ++ [ pkgs.openssl ]; - }; - }; - }; - cargoNix = pkgs.callPackage cargoNixSource { inherit buildRustCrateForPkgs; }; - in - cargoNix.rootCrate.build; + # cargoRelease = + # let + # cargoNixSource = tools.generatedCargoNix rec { + # name = "cargo-release"; + # src = sources."${name}"; + # }; + # buildRustCrateForPkgs = pkgs: pkgs.buildRustCrate.override { + # defaultCrateOverrides = pkgs.defaultCrateOverrides // { + # cargo-release = { buildInputs ? [ ], ... }: { + # buildInputs = buildInputs ++ [ pkgs.openssl ]; + # }; + # }; + # }; + # cargoNix = pkgs.callPackage cargoNixSource { inherit buildRustCrateForPkgs; }; + # in + # cargoNix.rootCrate.build; } // pkgs.lib.optionalAttrs pkgs.stdenv.isDarwin { diff --git a/nix/sources.json b/nix/sources.json index 1af0b7e7..4277de62 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -17,10 +17,10 @@ "homepage": "", "owner": "sunng87", "repo": "cargo-release", - "rev": "d23016fa0e39cad77387ca458d830482487a54f3", - "sha256": "0frbbikls1w6cy8bk1bdkdvwk0zp38jij957iyjb7mppqa5snar7", + "rev": "ae209d19217685b6dc129104b8242f5979e33aa8", + "sha256": "1wpzhkplhvmcw0rvjlamllx9ahjgldy1rsb6gljwn6a8hk56zlaj", "type": "tarball", - "url": "https://github.com/sunng87/cargo-release/archive/d23016fa0e39cad77387ca458d830482487a54f3.tar.gz", + "url": "https://github.com/sunng87/cargo-release/archive/ae209d19217685b6dc129104b8242f5979e33aa8.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "crate2nix": { @@ -29,10 +29,10 @@ "homepage": "", "owner": "kolloch", "repo": "crate2nix", - "rev": "0b9d4bca508bd65b1845f1be3de2842f6840d4e6", - "sha256": "0nh831l5v58dy0nljgjcsx6q3806136s4ndlxbz2k3vq5q3dj58r", + "rev": "28ff0ed13ad4ddb42954625c10f68e21f8e084fa", + "sha256": "0wgkla6aapj599c3aazkm55mp8m65sv6w3plb9fqdbzn8hk1a868", "type": "tarball", - "url": "https://github.com/kolloch/crate2nix/archive/0b9d4bca508bd65b1845f1be3de2842f6840d4e6.tar.gz", + "url": "https://github.com/kolloch/crate2nix/archive/28ff0ed13ad4ddb42954625c10f68e21f8e084fa.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nix-test-runner": { @@ -53,10 +53,10 @@ "homepage": "https://github.com/NixOS/nixpkgs", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d9f759f2ea8d265d974a6e1259bd510ac5844c5d", - "sha256": "1r0jjdgx206vgmjqry82qv01cbmafiqwcmqxlnzmhsbzkcgrlnzh", + "rev": "5e4c2ada4fcd54b99d56d7bd62f384511a7e2593", + "sha256": "13dfm5z6r37s7qxryr8jrqinz0xw4i7r0p4y3kpq64a2bwa5rlpl", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/d9f759f2ea8d265d974a6e1259bd510ac5844c5d.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/5e4c2ada4fcd54b99d56d7bd62f384511a7e2593.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixpkgs-mozilla": { diff --git a/sample_projects/bin_with_git_submodule_dep/Cargo.nix b/sample_projects/bin_with_git_submodule_dep/Cargo.nix index aefbb4f1..f0a49243 100644 --- a/sample_projects/bin_with_git_submodule_dep/Cargo.nix +++ b/sample_projects/bin_with_git_submodule_dep/Cargo.nix @@ -1684,6 +1684,8 @@ rec { buildRustCrateForPkgsFunc pkgs ( crateConfig // { + # https://github.com/NixOS/nixpkgs/issues/218712 + dontStrip = stdenv.hostPlatform.isDarwin; src = crateConfig.src or ( pkgs.fetchurl rec { name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz"; diff --git a/sample_projects/codegen/Cargo.nix b/sample_projects/codegen/Cargo.nix index af3388ed..7fc8aa67 100644 --- a/sample_projects/codegen/Cargo.nix +++ b/sample_projects/codegen/Cargo.nix @@ -816,6 +816,8 @@ rec { buildRustCrateForPkgsFunc pkgs ( crateConfig // { + # https://github.com/NixOS/nixpkgs/issues/218712 + dontStrip = stdenv.hostPlatform.isDarwin; src = crateConfig.src or ( pkgs.fetchurl rec { name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz"; diff --git a/sample_projects/sub_dir_crates/Cargo.nix b/sample_projects/sub_dir_crates/Cargo.nix index f9c603be..c16ad471 100644 --- a/sample_projects/sub_dir_crates/Cargo.nix +++ b/sample_projects/sub_dir_crates/Cargo.nix @@ -470,6 +470,8 @@ rec { buildRustCrateForPkgsFunc pkgs ( crateConfig // { + # https://github.com/NixOS/nixpkgs/issues/218712 + dontStrip = stdenv.hostPlatform.isDarwin; src = crateConfig.src or ( pkgs.fetchurl rec { name = "${crateConfig.crateName}-${crateConfig.version}.tar.gz";