Skip to content

Commit b31244f

Browse files
committedAug 13, 2024·
chore: update Cargo and Nix deps
1 parent c42b693 commit b31244f

File tree

4 files changed

+261
-231
lines changed

4 files changed

+261
-231
lines changed
 

‎Cargo.lock

+210-219
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ default = []
2424
git = ["git2"]
2525

2626
[dependencies]
27-
anyhow = "1.0.75"
27+
anyhow = "1"
2828
base64 = "0.21.4"
2929
bstr = "1.6.2"
30-
clap = { version = "=4.4.4", features = ["derive", "string"] }
30+
clap = { version = "4.5", features = ["derive", "string"] }
3131
env_logger = "0.10.0"
3232
# We only need local Git repo support. Default features enable remote clone & fetch.
3333
git2 = { version = "0.18", optional = true, default-features = false }
@@ -36,9 +36,9 @@ lazy_static = "1.4.0"
3636
log = "0.4.20"
3737
patch = "0.7.0"
3838
rand = "0.8.5"
39-
rayon = "1.8.0"
40-
regex = "1.9.5"
41-
tempfile = "3.8.0"
39+
rayon = "1"
40+
regex = "1"
41+
tempfile = "3"
4242

4343
[dev-dependencies]
4444
assert_cmd = "2"

‎flake.lock

+40-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flake.nix

+6-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33

44
inputs = {
55
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
6-
nix-pre-commit.url = "github:jmgilman/nix-pre-commit";
7-
nix-pre-commit.inputs.nixpkgs.follows = "nixpkgs";
6+
nix-pre-commit = {
7+
url = "github:jmgilman/nix-pre-commit";
8+
inputs.nixpkgs.follows = "nixpkgs";
9+
};
810
};
911

1012
outputs = { self, nixpkgs, nix-pre-commit, ... }: let
@@ -22,7 +24,7 @@
2224
inherit pname;
2325
inherit version;
2426
src = ./.;
25-
cargoSha256 = "sha256-/YRvUALUTg+wYhPr21cS5HQj9+kLVdFHG9JKYOPMJJc";
27+
cargoSha256 = "sha256-vcsZ5zhqqSI1cVO3FKxOePFqsB45Pk5mHpm4xXaRv+E";
2628
meta = {
2729
description = "A tool that allows you to keep blocks in sync across different files in your codebase.";
2830
homepage = "https://github.com/aksiksi/onchg-rs";
@@ -64,7 +66,7 @@
6466
pkgs = nixpkgs.legacyPackages.${system};
6567
in {
6668
default = pkgs.mkShell {
67-
buildInputs = [ pkgs.cargo pkgs.libgit2 pkgs.rustc pkgs.rust-analyzer pkgs.rustfmt ];
69+
buildInputs = [ pkgs.cargo pkgs.libgit2 pkgs.rust-analyzer pkgs.rustc pkgs.rustfmt ];
6870
};
6971
}
7072
);

0 commit comments

Comments
 (0)
Please sign in to comment.