diff --git a/Cargo.toml b/Cargo.toml index ce6d17b..6d4d7c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ bson = "> 0.1.0" [dependencies.mongoc-sys] path = "mongoc-sys" -version = "1.3.6" +version = "1.4.0" [dev-dependencies] chrono = "> 0.2.0" diff --git a/mongoc-sys/Cargo.toml b/mongoc-sys/Cargo.toml index 7a8e79b..f7d1c7f 100644 --- a/mongoc-sys/Cargo.toml +++ b/mongoc-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mongoc-sys" -version = "1.3.6" +version = "1.4.0" description = "Sys package with installer and bindings for mongoc" authors = ["Thijs Cadier "] build = "build.rs" diff --git a/mongoc-sys/build.rs b/mongoc-sys/build.rs index b482978..c44fa68 100644 --- a/mongoc-sys/build.rs +++ b/mongoc-sys/build.rs @@ -2,7 +2,7 @@ use std::env; use std::path::Path; use std::process::Command; -static VERSION: &'static str = "1.3.5"; // Should be the same major version as in the manifest +static VERSION: &'static str = "1.4.0"; // Should be the same major version as in the manifest fn main() { let out_dir_var = env::var("OUT_DIR").unwrap(); diff --git a/tests/collection.rs b/tests/collection.rs index 8225c5d..2767253 100644 --- a/tests/collection.rs +++ b/tests/collection.rs @@ -229,7 +229,7 @@ fn test_insert_failure() { let result = collection.insert(&document, None); assert!(result.is_err()); assert_eq!( - "MongoError (BsoncError: Unknown/Unknown - Timed out trying to select a server)", + "MongoError (BsoncError: Unknown/Unknown - No suitable servers found: `serverSelectionTimeoutMS` expired: [connection timeout calling ismaster on 'localhost:27018'])", format!("{:?}", result.err().unwrap()) ); }