Upgrade bson crate to 0.15.0 (#674)

This commit is contained in:
Nathan Wilson 2020-06-04 16:40:06 -04:00 committed by GitHub
parent ddc1488195
commit 02801ee981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -45,6 +45,8 @@ See [#618](https://github.com/graphql-rust/juniper/pull/618).
- Improved lookahead visibility for aliased fields (see [#662](https://github.com/graphql-rust/juniper/pull/631))
- Bumped bson crate's version to 0.15.0 (see [#674](https://github.com/graphql-rust/juniper/pull/674))
## Breaking Changes
- `juniper::graphiql` has moved to `juniper::http::graphiql`

View file

@ -36,7 +36,7 @@ scalar-naivetime = []
[dependencies]
juniper_codegen = { version = "0.14.2", path = "../juniper_codegen" }
bson = { version = "0.14.0", optional = true }
bson = { version = "0.15.0", optional = true }
chrono = { version = "0.4.0", optional = true }
fnv = "1.0.3"
futures = "0.3.1"

View file

@ -1,4 +1,4 @@
use bson::{oid::ObjectId, UtcDateTime};
use bson::{oid::ObjectId, DateTime as UtcDateTime};
use chrono::prelude::*;
use crate::{
@ -57,7 +57,7 @@ where
#[cfg(test)]
mod test {
use crate::{value::DefaultScalarValue, InputValue};
use bson::{oid::ObjectId, UtcDateTime};
use bson::{oid::ObjectId, DateTime as UtcDateTime};
use chrono::prelude::*;
#[test]