replacement in pijul/Cargo.toml at line 4
− version = "1.0.0-alpha.52"
+ version = "1.0.0-alpha.53"
replacement in pijul/Cargo.toml at line 55
[4.197438]→[3.28:118](∅→∅) − libpijul = { path = "../libpijul", version = "1.0.0-alpha.45", features = [ "tarball" ] }
+ libpijul = { path = "../libpijul", version = "1.0.0-alpha.46", features = [ "tarball" ] }
replacement in libpijul/Cargo.toml at line 4
[4.1020894]→[3.119:146](∅→∅) − version = "1.0.0-alpha.45"
+ version = "1.0.0-alpha.46"
edit in libpijul/Cargo.toml at line 14
+ "src/apply/edge.rs",
+ "src/apply/vertex.rs",
edit in libpijul/Cargo.toml at line 19
edit in libpijul/Cargo.toml at line 32
edit in libpijul/Cargo.toml at line 60
+ "src/text_encoding.rs",
replacement in libpijul/Cargo.toml at line 99
[4.1022980]→[4.7684:7742](∅→∅) − sanakirja = { version = "1.2.4", features = [ "crc32" ] }
+ sanakirja = { version = "1.2.9", features = [ "crc32" ] }
replacement in Cargo.nix at line 2
− # This file was @generated by crate2nix 0.9.0 with the command:
+ # This file was @generated by crate2nix 0.10.0 with the command:
replacement in Cargo.nix at line 11
− then lib.warn "`buildRustCrate` is deprecated, use `buildRustCrateForPkgs` instead" (_: buildRustCrate)
+ 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)
replacement in Cargo.nix at line 3066
[4.84748]→[2.306:342](∅→∅) − version = "1.0.0-alpha.44";
+ version = "1.0.0-alpha.46";
replacement in Cargo.nix at line 4291
[4.114701]→[2.919:955](∅→∅) − version = "1.0.0-alpha.51";
+ version = "1.0.0-alpha.53";
replacement in Cargo.nix at line 5301
[4.144463]→[4.28496:28523](∅→∅) replacement in Cargo.nix at line 5303
[4.144517]→[4.28524:28597](∅→∅) − sha256 = "0d888pjb1flgg5cxv77qirqjlrjg1nrkisv0f62q1rabr69fy0sm";
+ sha256 = "14xrbwmq26yasqwhc3w66p1m28iw5k83nj7rhb97777bvlxmf06w";
replacement in Cargo.nix at line 5355
[4.10521]→[4.992:1019](∅→∅) replacement in Cargo.nix at line 5358
[4.10597]→[4.1020:1093](∅→∅) − sha256 = "015l0d3h21cwf9jxzf3q70sbjrg54mr6xbd236a5f9vg7zaxqxav";
+ sha256 = "1l8x0nah0l82kybl5fq8fpqp4r96fbc3y1ids781c6489j4n2zx6";
edit in Cargo.nix at line 5373
+ "ed25519" = [ "ed25519-zebra" "ed25519-zebra/serde" ];
replacement in Cargo.nix at line 7947
[4.227946]→[4.227946:228011](∅→∅) − This corresponds roughly to what buildRustCrate is setting.
+ This corresponds roughly to what buildRustCrate is setting.
replacement in Cargo.nix at line 8019
[4.230173]→[4.230173:230217](∅→∅) − of crate given as the second argument.
+ of crate given as the second argument.
replacement in Cargo.nix at line 8021
[4.230218]→[4.230218:230365](∅→∅) − testCrateFlags: list of flags to pass to the test exectuable
− testInputs: list of packages that should be available during test execution
+ testCrateFlags: list of flags to pass to the test exectuable
+ testInputs: list of packages that should be available during test execution
replacement in Cargo.nix at line 8024
[4.230370]→[4.230370:230438](∅→∅) − crateWithTest = { crate, testCrate, testCrateFlags, testInputs }:
+ crateWithTest = { crate, testCrate, testCrateFlags, testInputs, testPreRun, testPostRun }:
edit in Cargo.nix at line 8027
+ assert builtins.typeOf testPreRun == "string";
+ assert builtins.typeOf testPostRun == "string";
edit in Cargo.nix at line 8042
+ # 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
+ ]);
replacement in Cargo.nix at line 8084
[4.9364]→[4.9364:9414](∅→∅) − $f $testCrateFlags 2>&1 | tee -a $out
edit in Cargo.nix at line 8108
+ # Any command to run immediatelly before a test is executed.
+ , testPreRun ? ""
+ # Any command run immediatelly after a test is executed.
+ , testPostRun ? ""
edit in Cargo.nix at line 8120
+ , testPreRun
+ , testPostRun
replacement in Cargo.nix at line 8154
[4.232751]→[4.232751:232804](∅→∅) − inherit testCrateFlags testInputs;
+ inherit testCrateFlags testInputs testPreRun testPostRun;
replacement in Cargo.nix at line 8160
[4.11172]→[4.11172:11251](∅→∅) − { inherit features crateOverrides runTests testCrateFlags testInputs; };
+ { inherit features crateOverrides runTests testCrateFlags testInputs testPreRun testPostRun; };
replacement in Cargo.nix at line 8163
[4.11342]→[4.11342:11376](∅→∅) − for the corresponding crate.
+ for the corresponding crate.
replacement in Cargo.nix at line 8301
[4.236813]→[4.14708:14736](∅→∅) replacement in Cargo.nix at line 8346
[4.238245]→[4.238245:238260](∅→∅) replacement in Cargo.nix at line 8348
[4.15219]→[4.238264:238335](∅→∅),
[4.238264]→[4.238264:238335](∅→∅) − This is useful for verifying the feature resolution in crate2nix.
+ This is useful for verifying the feature resolution in crate2nix.
replacement in Cargo.nix at line 8385
[4.239598]→[4.239598:239743](∅→∅) − If multiple paths to a dependency enable different features, the
− corresponding feature sets are merged. Features in rust are additive.
+ If multiple paths to a dependency enable different features, the
+ corresponding feature sets are merged. Features in rust are additive.
edit in Cargo.nix at line 8411
+ enabledFeatures = enableFeatures (crateConfig.dependencies or [ ]) expandedFeatures;
replacement in Cargo.nix at line 8415
[4.240752]→[4.240752:240823](∅→∅) − features = dependencyFeatures expandedFeatures dependency;
+ features = dependencyFeatures enabledFeatures dependency;
replacement in Cargo.nix at line 8424
[4.241150]→[4.241150:241193](∅→∅) − features = expandedFeatures;
+ features = enabledFeatures;
replacement in Cargo.nix at line 8448
[4.16373]→[4.242147:242228](∅→∅),
[4.242147]→[4.242147:242228](∅→∅) − combinedFeatures = sortedUnique (cacheFeatures ++ expandedFeatures);
+ combinedFeatures = sortedUnique (cacheFeatures ++ enabledFeatures);
replacement in Cargo.nix at line 8500
[4.243894]→[4.243894:243920](∅→∅) replacement in Cargo.nix at line 8502
[4.243921]→[4.243921:244065](∅→∅) − featureMap is an attribute set which maps feature names to lists of further
− feature names to enable in case this feature is selected.
+ featureMap is an attribute set which maps feature names to lists of further
+ feature names to enable in case this feature is selected.
edit in Cargo.nix at line 8515
+
+ /* This function adds optional dependencies as features if they are enabled
+ indirectly by dependency features. This function mimics Cargo's behavior
+ described 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);
+ let
+ additionalFeatures = lib.concatMap
+ (
+ dependency:
+ assert (builtins.isAttrs dependency);
+ let
+ enabled = builtins.any (doesFeatureEnableDependency dependency) features;
+ in
+ if (dependency.optional or false) && enabled then [ dependency.name ] else [ ]
+ )
+ dependencies;
+ in
+ sortedUnique (features ++ additionalFeatures);
replacement in Cargo.nix at line 8539
[4.244482]→[4.244482:244541](∅→∅) − Returns the actual features for the given dependency.
+ Returns the actual features for the given dependency.
replacement in Cargo.nix at line 8541
[4.17357]→[4.244546:244616](∅→∅),
[4.244546]→[4.244546:244616](∅→∅) − features: The features of the crate that refers this dependency.
+ features: The features of the crate that refers this dependency.
edit in Cargo.nix at line 8580
[4.245939]→[4.245939:245940](∅→∅) replacement in Cargo.nix at line 8581
[4.245945]→[4.17822:17823](∅→∅) replacement in Cargo.lock at line 1081
[4.22930]→[3.189:216](∅→∅) − version = "1.0.0-alpha.45"
+ version = "1.0.0-alpha.46"
replacement in Cargo.lock at line 1500
[4.33516]→[3.217:244](∅→∅) − version = "1.0.0-alpha.52"
+ version = "1.0.0-alpha.53"
replacement in Cargo.lock at line 1827
[4.41936]→[4.41936:41954](∅→∅) replacement in Cargo.lock at line 1829
[4.42019]→[4.42019:42097](∅→∅) − checksum = "5503ef92c94be580857160eb38b30d4f662a718ef89cdd59798fbab0e4450835"
+ checksum = "dc00573bddeb9c73d282f9483bd02c3c2251c335860f0639d6ca1b812b5fb993"
replacement in Cargo.lock at line 1843
[4.42266]→[4.197:215](∅→∅) replacement in Cargo.lock at line 1845
[4.42349]→[4.216:294](∅→∅) − checksum = "5b75dcd53f6f27579419a2ad6e7225e565b9343878b8df65729c05014703b404"
+ checksum = "a67f61894c881816d0d12d063fd872266572f17508bb42979f02510095051dd1"