Whenever you add or update dependencies in Cargo.toml
, the diff output in Cargo.lock
can be verbose and distracting when I'm looking at git diff
output:
$ git diff --stat
Cargo.lock | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
Cargo.toml | 3 +++
2 files changed, 57 insertions(+)
$ git diff
diff --git a/Cargo.lock b/Cargo.lock
index c287579..a41401e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -151,6 +151,7 @@ dependencies = [
"jsonrpsee",
"log",
"net2",
+ "pcap-file",
"prettytable-rs",
"serde",
"serde_json",
@@ -344,6 +345,16 @@ dependencies = [
"memchr",
]
+[[package]]
+ ... pages of [[package]] updates