From 9c32654fe1cf3533cd5e2ca2f197df3cbc4953a7 Mon Sep 17 00:00:00 2001 From: TehPers Date: Thu, 29 Sep 2022 11:58:48 -0700 Subject: [PATCH] Add explicit paths to tests and benches --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 160ed906..635235e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,10 +35,12 @@ bench = false [[bench]] name = "microbenches" harness = false +path = "benches/microbenches.rs" [[bench]] name = "macrobenches" harness = false +path = "benches/macrobenches.rs" [features] default = [] @@ -175,27 +177,34 @@ rustdoc-args = ["--cfg", "docs_rs"] [[test]] name = "encodings" required-features = ["encoding"] +path = "tests/encodings.rs" [[test]] name = "serde_attrs" required-features = ["serialize"] +path = "tests/serde_attrs.rs" [[test]] name = "serde_roundtrip" required-features = ["serialize"] +path = "tests/serde_roundtrip.rs" [[test]] name = "serde-de" required-features = ["serialize"] +path = "tests/serde-de.rs" [[test]] name = "serde-se" required-features = ["serialize"] +path = "tests/serde-se.rs" [[test]] name = "serde-migrated" required-features = ["serialize"] +path = "tests/serde-migrated.rs" [[test]] name = "async-tokio" required-features = ["async-tokio"] +path = "tests/async-tokio.rs"