From 8a2f5895dbd195c3bf680bc81b29777c47467f12 Mon Sep 17 00:00:00 2001 From: Victor Martinez <49537445+JasterV@users.noreply.github.com> Date: Sun, 25 Feb 2024 23:18:26 +0100 Subject: [PATCH] chore: update to 2021 rust edition --- Cargo.toml | 8 +++----- macros/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0e0c91d..c3e502d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "test-context" version = "0.1.4" -edition = "2018" +edition = "2021" description = "A library for providing custom setup/teardown for Rust tests without needing a test harness" homepage = "https://github.com/markhildreth/test-context" repository = "https://github.com/markhildreth/test-context" @@ -16,9 +16,7 @@ async-trait = "0.1.42" futures = "0.3" [dev-dependencies] -tokio = { version = "1.0", features = ["macros", "rt"]} +tokio = { version = "1.0", features = ["macros", "rt"] } [workspace] -members = [ - "macros", -] +members = ["macros"] diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 2430cd7..ed4a99e 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "test-context-macros" version = "0.1.4" -edition = "2018" +edition = "2021" description = "Macro crate for test-context" homepage = "https://github.com/markhildreth/test-context" repository = "https://github.com/markhildreth/test-context"