Skip to content

Commit

Permalink
fix test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Dec 25, 2023
1 parent 90ff555 commit 0e0bd65
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ executable = ["which"]
[dev-dependencies]
tokio = { version = "1.15.0", features = ["rt", "macros"] }
serial_test = "2.0.0"
libtest-with = { version = "0.6.1-6", features = ["net", "resource", "user", "executable"] }
18 changes: 9 additions & 9 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
pkgs = import nixpkgs {
inherit system overlays;
};
rust = pkgs.rust-bin.stable."1.71.1".default;
rust = pkgs.rust-bin.stable."1.74.1".default;
dr = dependency-refresh.defaultPackage.${system};

publishScript = pkgs.writeShellScriptBin "crate-publish" ''
Expand Down Expand Up @@ -47,6 +47,9 @@
cargo run --example mock
cargo run --example mock2
cargo run --example mix
# run with cargo test
cargo test --all-features
'';
in
with pkgs;
Expand Down

0 comments on commit 0e0bd65

Please sign in to comment.