Commit Graph

73 Commits (bf23a5d470ff7ed2be24e668bd2685e9ab9d3771)

Author SHA1 Message Date
Thijs Cadier 9cdd8e7b62 Test for null bytes in bson string
Make sure there is no regression in the C driver for:

https://jira.mongodb.org/browse/CDRIVER-2250
Thijs Cadier 732d98ae4e Don't use natural option in tail anymore
It's not supported anymore in MongoDB 3.4.
Thijs Cadier 2239818480 Bulk operation result which includes reply
Thijs Cadier 8445e39a73 Add error code for unknown error
Thijs Cadier 2a42c5da7b Add WriteConcernError and DuplicateKey to error
Thijs Cadier 1773d64404 Implement Sync for Uri
Thijs Cadier de99a727d1 Implement Send for Uri
Thijs Cadier 87effd5dc2 Update links to C docs
Thijs Cadier 13273b7755 Support for aggregations
Thijs Cadier 816b6a1283 Add docs for error types
Thijs Cadier e887113b63 Document read pref options
Thijs Cadier 282add350a Change write concern new to default and document it
Thijs Cadier b6da5c9e43 Documentation for read prefs
Thijs Cadier bdf4b6fad8 Docs for cursor
Thijs Cadier dd4b3b7f4f Documentation for Database
Thijs Cadier 58a45bd49d Move Uri to client module
Thijs Cadier 646da592a7 Documentation for flags
Thijs Cadier 3c56489dca Documentation for collection
Thijs Cadier 4b86f8f1f3 Tweak lib doc
Thijs Cadier 15464cddd8 Fix typo in docs
Thijs Cadier 13e0d1662f Move bulk operation to collection and add docs
Thijs Cadier 283a94ce18 Document for client module
Thijs Cadier 981dd021c9 Documentation tweaks for client
Thijs Cadier 02c62c1f9b Docs for bulk operation
Thijs Cadier 0c4428611b Top level documentation and example
Thijs Cadier eac8a0aff6 Use mem::zeroed instead of mem::uninitialized
Thijs Cadier 3cdd312cdf Convert bson json to String directly
Thijs Cadier fcabf5e262 Tweak comments
Thijs Cadier 44bdec78be Replace deprecrated way of going from PathBuf to CString
Thijs Cadier 269d26feb9 Use durations instead of ms for sleeps
Thijs Cadier bae6556fed Updates for newest nightly and bindgen
Thijs Cadier e02ff4d627 Remove cstr_to_str feature marker
Thijs Cadier 5aa1b62faf Use an Arc to share ClientPool between threads
Thijs Cadier 8b3a94a6e8 Add collection update
Thijs Cadier 7140cdd443 Methods to take ownership of a database and collection
Thijs Cadier 6be7ce71f5 Implement partialeq for uri and add get_uri on pool
Thijs Cadier 87e4f3cb8b Fix lifetime issue in options
Thijs Cadier c2338a389f Fix passing of update in find_and_modify
Thijs Cadier e922adcad6 Add find_and_modify on collection
Thijs Cadier 418225ea25 Remove from_json method in bsonc we don't use
Thijs Cadier 98bb376969 Tests and a fix for ssl connections
Setting ssl options was broken because the memory for its content
was released immediately. We now keep ownership of everything until
the pool is dropped.
Thijs Cadier 96a051ef74 Whitespace
Thijs Cadier 74c38fe32a Show code and domain in bsonc error debug output
Thijs Cadier 72cb5be78f Add command_simple
Thijs Cadier eb1888b00c Add log handling
Thijs Cadier e4b9864bfc Rename wrapper package and use openssl-sys crate
Thijs Cadier d6e9d823aa Add CommandAndFindOptions with_fields convenience method
Thijs Cadier d8669a4226 Use insert_bson in cursor
Thijs Cadier ddd01a78e4 Allow mixed usage of strings and slices in get_collection
Thijs Cadier 0b61492889 Add ValueAccessError to MongoError