Skip to content

Commit 722452b

Browse files
committed
Remove unused dependencies from juniper_codegen_tests crate
1 parent db5d9fb commit 722452b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/codegen/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ rustversion = "1.0"
1010
[dev-dependencies]
1111
futures = "0.3"
1212
juniper = { path = "../../juniper" }
13-
serde_json = "1.0"
14-
tokio = { version = "1.0", features = ["rt", "time", "macros"] }
1513
trybuild = "1.0.63"
1614

1715
[lints.clippy]

tests/codegen/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
// TODO: [Object] Type Validation: §4 (interfaces) for objects
44
// TODO: [Non-Null] §1 A Non‐Null type must not wrap another Non‐Null type.
55

6+
#[cfg(test)]
7+
mod for_codegen_tests_only {
8+
use futures as _;
9+
use juniper as _;
10+
}
11+
612
#[rustversion::stable]
713
#[test]
814
fn test_failing_compilation() {

0 commit comments

Comments
 (0)