4WCGTAYSNWGCLGEOQVOXRCWNQUO5OHNOMTQRWWBQIR6IF56TZ67QC M2C6QW2AEUCPOM7UDQHXRXVV2Z4GQMEKZZKPM6GT7DG2CPIDUWAAC RNNJ4ORVNBL22XE466VC4ABGINIGS6ODPWGUHXTX7SVNIRY3KSDAC NX6DDK7R772P6ZE6OIX334JL3YEQPOD6G4KNHVKTQITPSTKXWGNQC YN63NUZO4LVJ7XPMURDULTXBVJKW5MVCTZ24R7Z52QMHO3HPDUVQC SXEYMYF7P4RZMZ46WPL4IZUTSQ2ATBWYZX7QNVMS3SGOYXYOHAGQC XAY4DYRRPDEQY7XUWJ3OWSXPCEPZ6VFQ6273JPLE3FEGJQAGV6YQC G734WNM64AR5BLAZMN5MDPKSFTYXTUQR6MAGB32NRBC5FXFRWSJAC AKARNWLHKVH4477BX2KZ6VY4YPTMXQFVPUSFCWHG4LZ4OCW2F5CQC HDGRZISM2SS4TK5BMNGDIYG22SOXAZRTTC6YFIOPY4LSO53QDWZQC 7ZFRYVVQQGJYG3POPWJWL3CDW37YDXZYZQC3OSWFHWEUSEMYQ4EQC 6XDVUSBMBXM4LKKKR7YPJ5PF4ISOZNT465GSOFR2GF7NTL5SNLZAC OC3QJUVKGGEZLDNV2O7ZC3OAB63DJNNRFEPEYKERJRY477MUT2YQC QJXNUQFJOAPQT3GUXRDTVKMJZCKFONSXUZMAZB7VC7OHDCGAVCOQC 6F6AAHK4M2IVS23TVISR5OJSTZXUSEKLOP5BMM7SUHYG2FQNTSGQC then lib.warn "crate2nix: Passing `buildRustCrate` as argument to Cargo.nix is deprecated. If you don't customize `buildRustCrate`, replace `callPackage ./Cargo.nix {}` by `import ./Cargo.nix { inherit pkgs; }`, and if you need to customize `buildRustCrate`, use `buildRustCrateForPkgs` instead." (_: buildRustCrate)
then lib.warn "`buildRustCrate` is deprecated, use `buildRustCrateForPkgs` instead" (_: buildRustCrate)
}];};"threadpool" = rec {crateName = "threadpool";version = "1.8.1";edition = "2015";sha256 = "1amgfyzvynbm8pacniivzq9r0fh3chhs7kijic81j76l6c5ycl6h";authors = ["The Rust Project Developers""Corey Farwell <coreyf@rwell.org>""Stefan Schindler <dns2utf8@estada.ch>"];dependencies = [{name = "num_cpus";packageId = "num_cpus";
};"xxhash-rust" = rec {crateName = "xxhash-rust";version = "0.8.2";edition = "2018";sha256 = "1v9dk6shls1rsmidf2dxdi3460bn7ingqgvn5mf7prgnxmdy2xg5";authors = ["Douman <douman@gmx.se>"];features = {};resolvedDefaultFeatures = [ "xxh64" ];
testCrateFlags: list of flags to pass to the test exectuabletestInputs: list of packages that should be available during test execution
testCrateFlags: list of flags to pass to the test exectuabletestInputs: list of packages that should be available during test execution
# If the user hasn't set any pre/post commands, we don't want to# insert empty lines. This means that any existing users of crate2nix# don't get a spurious rebuild unless they set these explicitly.testCommand = pkgs.lib.concatStringsSep "\n"(pkgs.lib.filter (s: s != "") [testPreRun"$f $testCrateFlags 2>&1 | tee -a $out"testPostRun]);
If multiple paths to a dependency enable different features, thecorresponding feature sets are merged. Features in rust are additive.
If multiple paths to a dependency enable different features, thecorresponding feature sets are merged. Features in rust are additive.
featureMap is an attribute set which maps feature names to lists of furtherfeature names to enable in case this feature is selected.
featureMap is an attribute set which maps feature names to lists of furtherfeature names to enable in case this feature is selected.
/* This function adds optional dependencies as features if they are enabledindirectly by dependency features. This function mimics Cargo's behaviordescribed in a note at:https://doc.rust-lang.org/nightly/cargo/reference/features.html#dependency-features*/enableFeatures = dependencies: features:assert (builtins.isList features);assert (builtins.isList dependencies);letadditionalFeatures = lib.concatMap(dependency:assert (builtins.isAttrs dependency);letenabled = builtins.any (doesFeatureEnableDependency dependency) features;inif (dependency.optional or false) && enabled then [ dependency.name ] else [ ])dependencies;insortedUnique (features ++ additionalFeatures);
};}