aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-07-10 23:07:28 +0200
committerHampusM <hampus@hampusmat.com>2024-07-10 23:07:28 +0200
commitac064cecd8bfb4be86799de4d7b26edc311fbd91 (patch)
tree3ef8cc6ff6f3959422cec474b81fafced2444e33
parentaa974aede88cb544ba792fd985fd33eb87a34f90 (diff)
build: replace deprecated Cargo.toml fields
-rw-r--r--Cargo.toml2
-rw-r--r--macros/Cargo.toml4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index bf82a6b..89fbcd1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -47,7 +47,7 @@ strum_macros = "0.24.3"
paste = "1.0.8"
async-trait = { version = "0.1.57", optional = true }
-[dev_dependencies]
+[dev-dependencies]
mockall = "0.11.4"
anyhow = "1.0.62"
third-party-lib = { path = "./examples/with-3rd-party/third-party-lib" }
diff --git a/macros/Cargo.toml b/macros/Cargo.toml
index 3e2d469..890c9f3 100644
--- a/macros/Cargo.toml
+++ b/macros/Cargo.toml
@@ -9,7 +9,7 @@ keywords = ["di", "dependency-injection", "ioc", "inversion-of-control"]
edition = "2021"
[lib]
-proc_macro = true
+proc-macro = true
[package.metadata.docs.rs]
all-features = true
@@ -34,7 +34,7 @@ paste = "1.0.8"
tracing = "0.1.37"
tracing-subscriber = "0.3.17"
-[dev_dependencies]
+[dev-dependencies]
syrette = { version = "0.5.1", path = ".." }
mockall = "0.11.4"
pretty_assertions = "1.3.0"