Merge branch 'master' into rework-core-traits
This commit is contained in:
commit
e381602d5a
2 changed files with 4 additions and 2 deletions
|
@ -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"] }
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue