Merge pull request #21 from thijsc/mongoc_153

Upgrade C driver to 1.5.3
pull/23/head
Thijs Cadier 8 years ago committed by GitHub
commit d0eb334ffc

@ -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"

@ -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

@ -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 <thijs@appsignal.com>"]
build = "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();

@ -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"));
}

Loading…
Cancel
Save