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