diff options
author | Tim Oram <dev@mitmaro.ca> | 2023-07-23 09:01:40 -0230 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2023-07-24 09:07:03 -0230 |
commit | cedb8057a9b1d0f665be3d4f9b1dd76f1e383945 (patch) | |
tree | 89f1bb57cc23156455ff54b14a80c82a7ead680f | |
parent | e61a25e5a0e93efcf100c29329775c19d721100f (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.lock | 1 | ||||
-rw-r--r-- | src/config/Cargo.toml | 1 | ||||
-rw-r--r-- | src/config/src/lib.rs | 2 |
3 files changed, 0 insertions, 4 deletions
@@ -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::{ |