diff --git a/juniper/Cargo.toml b/juniper/Cargo.toml
index ea089c5f..5c5fbc70 100644
--- a/juniper/Cargo.toml
+++ b/juniper/Cargo.toml
@@ -48,7 +48,7 @@ graphql-parser = { version = "0.4", optional = true }
 indexmap = { version = "1.0", features = ["serde-1"] }
 juniper_codegen = { version = "0.16.0-dev", path = "../juniper_codegen" }
 rust_decimal = { version = "1.0", default-features = false, optional = true }
-serde = { version = "1.0.8", features = ["derive"], default-features = false }
+serde = { version = "1.0.8", features = ["derive"] }
 serde_json = { version = "1.0.2", default-features = false, optional = true }
 smartstring = "1.0"
 static_assertions = "1.1"
@@ -63,6 +63,7 @@ uuid_08 = { version = "0.8", package = "uuid", default-features = false, feature
 
 [dev-dependencies]
 bencher = "0.1.2"
+chrono = { version = "0.4", features = ["alloc"], default-features = false }
 pretty_assertions = "1.0.0"
 serde_json = "1.0.2"
 tokio = { version = "1.0", features = ["macros", "time", "rt-multi-thread"] }
diff --git a/juniper/src/integrations/bson.rs b/juniper/src/integrations/bson.rs
index 44e09205..f22691b2 100644
--- a/juniper/src/integrations/bson.rs
+++ b/juniper/src/integrations/bson.rs
@@ -44,7 +44,6 @@ mod utc_date_time {
 #[cfg(test)]
 mod test {
     use bson::{oid::ObjectId, DateTime as UtcDateTime};
-    use chrono::{DateTime, Utc};
 
     use crate::{graphql_input_value, FromInputValue, InputValue};
 
@@ -61,6 +60,8 @@ mod test {
 
     #[test]
     fn utcdatetime_from_input() {
+        use chrono::{DateTime, Utc};
+
         let raw = "2020-03-23T17:38:32.446+00:00";
         let input: InputValue = graphql_input_value!((raw));