From ac064cecd8bfb4be86799de4d7b26edc311fbd91 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 10 Jul 2024 23:07:28 +0200 Subject: build: replace deprecated Cargo.toml fields --- Cargo.toml | 2 +- macros/Cargo.toml | 4 ++-- 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" -- cgit v1.2.3-18-g5258