summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2023-02-05 23:36:08 -0500
committerNick Gerace <nickagerace@gmail.com>2023-02-05 23:42:10 -0500
commitb1fe869f41f9166846e44a55bbdf4eb7dfe5a59b (patch)
tree5a9b4cc4e4e8712d09f986c2347a54c93aaee021
parent33073263dbe5e6fc1b9238e7056c0eb4899fff17 (diff)
downloadgfold-b1fe869f41f9166846e44a55bbdf4eb7dfe5a59b.zip
Update git2-rs to 0.16 and toml to 0.7
Signed-off-by: Nick Gerace <nickagerace@gmail.com>
-rw-r--r--Cargo.lock67
-rw-r--r--crates/gfold/Cargo.toml4
2 files changed, 65 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 3d015f5..6e35f11 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -285,9 +285,9 @@ checksum = "221996f774192f0f718773def8201c4ae31f02616a54ccfc2d358bb0e5cefdec"
[[package]]
name = "git2"
-version = "0.15.0"
+version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2994bee4a3a6a51eb90c218523be382fd7ea09b16380b9312e9dbe955ff7c7d1"
+checksum = "ccf7f68c2995f392c49fffb4f95ae2c873297830eb25c6bc4c114ce8f4562acc"
dependencies = [
"bitflags",
"libc",
@@ -297,6 +297,12 @@ dependencies = [
]
[[package]]
+name = "hashbrown"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+
+[[package]]
name = "heck"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -334,6 +340,16 @@ dependencies = [
]
[[package]]
+name = "indexmap"
+version = "1.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399"
+dependencies = [
+ "autocfg",
+ "hashbrown",
+]
+
+[[package]]
name = "instant"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -449,6 +465,15 @@ dependencies = [
]
[[package]]
+name = "nom8"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae01545c9c7fc4486ab7debaf2aad7003ac19431791868fb2e8066df97fad2f8"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
name = "num_cpus"
version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -669,6 +694,15 @@ dependencies = [
]
[[package]]
+name = "serde_spanned"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0efd8caf556a6cebd3b285caf480045fcc1ac04f6bd786b09a6f11af30c4fcf4"
+dependencies = [
+ "serde",
+]
+
+[[package]]
name = "size"
version = "0.1.0"
dependencies = [
@@ -752,11 +786,36 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "toml"
-version = "0.5.11"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "772c1426ab886e7362aedf4abc9c0d1348a979517efedfc25862944d10137af0"
+dependencies = [
+ "serde",
+ "serde_spanned",
+ "toml_datetime",
+ "toml_edit",
+]
+
+[[package]]
+name = "toml_datetime"
+version = "0.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ab8ed2edee10b50132aed5f331333428b011c99402b5a534154ed15746f9622"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "toml_edit"
+version = "0.19.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
+checksum = "90a238ee2e6ede22fb95350acc78e21dc40da00bb66c0334bde83de4ed89424e"
dependencies = [
+ "indexmap",
+ "nom8",
"serde",
+ "serde_spanned",
+ "toml_datetime",
]
[[package]]
diff --git a/crates/gfold/Cargo.toml b/crates/gfold/Cargo.toml
index 1b98ad0..4e07479 100644
--- a/crates/gfold/Cargo.toml
+++ b/crates/gfold/Cargo.toml
@@ -17,14 +17,14 @@ anyhow = { version = "1.0", features = ["backtrace"] }
clap = { version = "4.0", features = ["derive"] }
dirs = "4.0"
env_logger = { version = "0.10", features = ["humantime"], default_features = false }
-git2 = { version = "0.15", default_features = false }
+git2 = { version = "0.16", default_features = false }
log = "0.4"
rayon = "1.6"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
termcolor = "1.1"
thiserror = "1.0"
-toml = "0.5"
+toml = "0.7"
[dev-dependencies]
pretty_assertions = "1.3"