diff --git a/Cargo.toml b/Cargo.toml index 5a4caf7..be45096 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ bson = "> 0.1.0" [dependencies.mongoc-sys] path = "mongoc-sys" -version = "1.4.0" +version = "1.5.3" [dev-dependencies] chrono = "> 0.2.0" diff --git a/README.md b/README.md index 6e0c5a4..9681572 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The API should still be considered experimental, but I'm not expecting changes a ## Compatibility -The driver currently only builds on Unix, tested on Mac Os X and Linux so far. It's compatible with MongoDB 2.4 up to 3.2 and +The driver currently only builds on Unix, tested on Mac Os X and Linux so far. It's compatible with MongoDB 2.4 up to 3.4 and has full replica set and SSL support. ## Logging diff --git a/mongoc-sys/Cargo.toml b/mongoc-sys/Cargo.toml index f7d1c7f..e7577fe 100644 --- a/mongoc-sys/Cargo.toml +++ b/mongoc-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mongoc-sys" -version = "1.4.0" +version = "1.5.3" 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 c44fa68..0b3a1f5 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.4.0"; // Should be the same major version as in the manifest +static VERSION: &'static str = "1.5.3"; // 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 2767253..9644370 100644 --- a/tests/collection.rs +++ b/tests/collection.rs @@ -228,8 +228,5 @@ fn test_insert_failure() { let result = collection.insert(&document, None); assert!(result.is_err()); - assert_eq!( - "MongoError (BsoncError: Unknown/Unknown - No suitable servers found: `serverSelectionTimeoutMS` expired: [connection timeout calling ismaster on 'localhost:27018'])", - format!("{:?}", result.err().unwrap()) - ); + assert!(format!("{:?}", result.err().unwrap()).contains("No suitable servers found")); }