# This file was @generated by cargo2nix 0.9.0. # It is not intended to be manually edited. args@{ release ? true, rootFeatures ? [ "hello-world/default" ], rustPackages, buildRustPackages, hostPlatform, hostPlatformCpu ? null, hostPlatformFeatures ? [], mkRustCrate, rustLib, lib, workspaceSrc, }: let workspaceSrc = if args.workspaceSrc == null then ./. else args.workspaceSrc; in let inherit (rustLib) fetchCratesIo fetchCrateLocal fetchCrateGit fetchCrateAlternativeRegistry expandFeatures decideProfile genDrvsByProfile; profilesByName = { }; rootFeatures' = expandFeatures rootFeatures; overridableMkRustCrate = f: let drvs = genDrvsByProfile profilesByName ({ profile, profileName }: mkRustCrate ({ inherit release profile hostPlatformCpu hostPlatformFeatures; } // (f profileName))); in { compileMode ? null, profileName ? decideProfile compileMode release }: let drv = drvs.${profileName}; in if compileMode == null then drv else drv.override { inherit compileMode; }; in { cargo2nixVersion = "0.9.0"; workspace = { hello-world = rustPackages.unknown.hello-world."0.1.0"; }; "unknown".hello-world."0.1.0" = overridableMkRustCrate (profileName: rec { name = "hello-world"; version = "0.1.0"; registry = "unknown"; src = fetchCrateLocal workspaceSrc; }); }