Upgrade bson crate.

This commit is contained in:
iancormac84 2020-06-06 12:38:15 -04:00
parent aa1b2b61cc
commit 8a76ebc44a
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ indexmap = "1.3.2"
async-stream = "0.2.1"
multer = "1.2.0"
log = "0.4.8"
bson = { version = "0.14.1", optional = true }
bson = { version = "0.15.0", optional = true }
uuid = { version = "0.8.1", features = ["v4"] }
url = { version = "2.1.1", optional = true }
chrono-tz = { version = "0.5.1", optional = true }

View File

@ -1,6 +1,6 @@
use crate::{InputValueError, InputValueResult, ScalarType, Value};
use async_graphql_derive::Scalar;
use bson::{oid::ObjectId, UtcDateTime};
use bson::{oid::ObjectId, DateTime as UtcDateTime};
use chrono::{DateTime, Utc};
#[Scalar(internal)]