Init. Tested against cargo bench, the single-threaded consumer is confirmed working.
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
{ rustPlatform, ... }:
|
||||
let
|
||||
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
|
||||
version = cargoToml.package.version;
|
||||
pname = cargoToml.package.name;
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
src = ./.;
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user