Thijs Cadier
2123095be0
Bump bson to 1.1
4 years ago
Thijs Cadier
984fc9ea2b
Move to 2018 edition
4 years ago
Thijs Cadier
97d22cc241
Fix warnings on latest stable
4 years ago
Michael Jansen
b808bd5f53
added mongoc_client_read_command_with_opts
6 years ago
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
1773d64404
Implement Sync for Uri
7 years ago
Thijs Cadier
de99a727d1
Implement Send for Uri
7 years ago
Thijs Cadier
bdf4b6fad8
Docs for cursor
9 years ago
Thijs Cadier
58a45bd49d
Move Uri to client module
9 years ago
Thijs Cadier
15464cddd8
Fix typo in 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
eac8a0aff6
Use mem::zeroed instead of mem::uninitialized
9 years ago
Thijs Cadier
44bdec78be
Replace deprecrated way of going from PathBuf to CString
9 years ago
Thijs Cadier
5aa1b62faf
Use an Arc to share ClientPool between threads
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
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
e4b9864bfc
Rename wrapper package and use openssl-sys crate
9 years ago
Thijs Cadier
ddd01a78e4
Allow mixed usage of strings and slices in get_collection
9 years ago
Thijs Cadier
fc71370c0f
Move integration tests to own dir
9 years ago
Thijs Cadier
728c628340
Check for existense of paths for ssl options
...
fixes #7
9 years ago
Thijs Cadier
2cd8d988db
Use uninitialized memory for client padding
9 years ago
Thijs Cadier
eac4815563
Ssl options for client pool
9 years ago
Thijs Cadier
82852b98ce
Add Client get_server_status
9 years ago
Thijs Cadier
9cbe2b03c3
Call init when creating first client pool
9 years ago
Thijs Cadier
d2919f79a6
Fix warnings and don't use scoped anymore
9 years ago
Thijs Cadier
f3bb18630f
Add database wrapper with get and create collection
9 years ago
Thijs Cadier
b1987b1e36
Add Collection.get_name()
9 years ago
Thijs Cadier
d686ba240f
Initial version
9 years ago