Skip to content

Commit

Permalink
drop "unused" key from workspace manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Sep 29, 2023
1 parent cb54384 commit 6773e7e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ members = ["bin/mev", "mev-boost-rs", "mev-relay-rs", "mev-build-rs", "mev-rs"]
default-members = ["bin/mev"]

[workspace.package]
name = "mev-rs"
version = "0.3.0"

[workspace.dependencies]
Expand Down
16 changes: 16 additions & 0 deletions nix/mev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ pkgs, crane }:
with pkgs;
let
commonArgs = {
pname = "mev-rs";
src = crane.cleanCargoSource (crane.path ../.);
buildInputs = [ ] ++ lib.optionals pkgs.stdenv.isDarwin [
libiconv
];
nativeBuildInputs = [
# pkgs.rustPlatform.bindgenHook
];
};
cargoArtifacts = crane.buildDepsOnly commonArgs;
in
crane.buildPackage (commonArgs // { inherit cargoArtifacts; })

0 comments on commit 6773e7e

Please sign in to comment.