summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2023-07-23 09:01:40 -0230
committerTim Oram <dev@mitmaro.ca>2023-07-24 09:07:03 -0230
commitcedb8057a9b1d0f665be3d4f9b1dd76f1e383945 (patch)
tree89f1bb57cc23156455ff54b14a80c82a7ead680f
parente61a25e5a0e93efcf100c29329775c19d721100f (diff)
Remove proc-macro2 dependency
A direct dependency on proc-macro2 was added to address a compile issue, now that the project compiles successfully without the direct dependency, it has been removed.
-rw-r--r--Cargo.lock1
-rw-r--r--src/config/Cargo.toml1
-rw-r--r--src/config/src/lib.rs2
3 files changed, 0 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 9a4cefb..416aba0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -335,7 +335,6 @@ dependencies = [
"girt-git",
"girt-testutils",
"lazy_static",
- "proc-macro2",
"rstest",
"rustc_version",
"serial_test",
diff --git a/src/config/Cargo.toml b/src/config/Cargo.toml
index 36abe8c..a6bda78 100644
--- a/src/config/Cargo.toml
+++ b/src/config/Cargo.toml
@@ -17,7 +17,6 @@ name = "config"
[dependencies]
thiserror = "1.0.43"
girt-git = {version = "2.3.0", path = "../../src/git"}
-proc-macro2 = "1.0.66" # TODO: remove override of indirect dependency
[dev-dependencies]
claims = "0.7.1"
diff --git a/src/config/src/lib.rs b/src/config/src/lib.rs
index cc3d8e4..36d527d 100644
--- a/src/config/src/lib.rs
+++ b/src/config/src/lib.rs
@@ -152,8 +152,6 @@ mod utils;
mod testutils;
use git::Repository;
-// TODO: remove override of indirect dependency
-use proc_macro2 as _;
use self::utils::{get_bool, get_diff_ignore_whitespace, get_diff_show_whitespace, get_string, get_unsigned_integer};
pub use self::{