Thijs Cadier
dcf7db62a3
Enable mongoc trace log
...
For now it gets filtered via the log crate infrastructure if desired,
in the 1.2 branch we'll only enable this when needed.
9 years ago
Thijs Cadier
eb1888b00c
Add log handling
9 years ago
Thijs Cadier
55a0add371
Merge pull request #9 from thijsc/rust-openssl
...
Move to openssl-sys
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
0b4d07db44
Whitespace fix
9 years ago
Thijs Cadier
0d888c46cd
Link openssl dynamically
9 years ago
Thijs Cadier
ddd01a78e4
Allow mixed usage of strings and slices in get_collection
9 years ago
Thijs Cadier
0b61492889
Add ValueAccessError to MongoError
9 years ago
Thijs Cadier
c5dce56e0d
Add get_database on uri
9 years ago
Thijs Cadier
ba41ae9549
Re-add test modules
9 years ago
Thijs Cadier
6d5c6ec18d
Uri new now returns an option
9 years ago
Thijs Cadier
c77cc42024
Attach fields bson to lifetime of cursor
9 years ago
Thijs Cadier
ddb8d32e30
Update readme
9 years ago
Thijs Cadier
3cd3628910
Whitespace fix
9 years ago
Thijs Cadier
fc71370c0f
Move integration tests to own dir
9 years ago
Thijs Cadier
b2d927c137
bsonc and error don't need to be public
9 years ago
Thijs Cadier
728c628340
Check for existense of paths for ssl options
...
fixes #7
9 years ago
Thijs Cadier
1830144125
Replace all bson document handling with macro
9 years ago
Thijs Cadier
2cd8d988db
Use uninitialized memory for client padding
9 years ago
Thijs Cadier
8ebb87792a
Add test for multiple queries with same fields object
9 years ago
Thijs Cadier
6fde2b0004
Enable debug symbols if configured, pic configure arg
9 years ago
Thijs Cadier
17e134eadd
Prefix out dir with version, add -fPIC to make too
9 years ago
Thijs Cadier
83bf75b63d
Use -fPIC for c driver compilation
9 years ago
Thijs Cadier
885c26f133
Use target that Cargo sets for c driver compilation
9 years ago
Thijs Cadier
8d6c348401
Use host instead of target for triple
9 years ago
Thijs Cadier
fdb320b4ea
Enable fPIC for bson and allow choosing the target
9 years ago
Thijs Cadier
9e08ae9d6c
Merge pull request #3 from thijsc/ssl_options
...
Ssl options for client pool
9 years ago
Thijs Cadier
eac4815563
Ssl options for client pool
9 years ago
Thijs Cadier
d2e0fbc109
Add command on collection and database
9 years ago
Thijs Cadier
82852b98ce
Add Client get_server_status
9 years ago
Thijs Cadier
9d299055e7
Add asserts and whitespace fix
9 years ago
Thijs Cadier
ceeacd35a8
Merge pull request #2 from thijsc/bulk_operation
...
Collection bulk operation
9 years ago
Thijs Cadier
df9749c5c4
WIP Collection bulk operation
9 years ago
Thijs Cadier
9cbe2b03c3
Call init when creating first client pool
9 years ago
Thijs Cadier
f9e4280836
Use std::sync::Once for init
9 years ago
Thijs Cadier
e88e6892f9
Use bson from Git for now
9 years ago
Thijs Cadier
05fcd45602
Bump Mongo C driver to 1.1.10
9 years ago
Thijs Cadier
86dab63763
Update readme
10 years ago
Thijs Cadier
1608c6549a
Set mongo c driver version to 1.1.7 since 1.1.8 was yanked
10 years ago
Thijs Cadier
498b19c892
Add note about DYLD_LIBRARY_PATH to readme
10 years ago
Thijs Cadier
b12196a41e
Support for tailing queries
...
Add a tail convenience method that returns a tailing cursor
that implements the recommended way of tailing and reconnecting
in it's iterator implementation.
Also move optional arguments to separate type that can optionally be
added to the various methods.
10 years ago
Thijs Cadier
c7a2b78016
Support for iterating tailing cursors
...
When there is no result after calling mongoc_cursor_next, but the cursor
is still alive we need to sleep and try again.
10 years ago
Thijs Cadier
d2919f79a6
Fix warnings and don't use scoped anymore
10 years ago
Thijs Cadier
f3bb18630f
Add database wrapper with get and create collection
10 years ago
Thijs Cadier
b1987b1e36
Add Collection.get_name()
10 years ago
Thijs Cadier
f18fde5c77
Add clang include dir detection and override
...
On some systems the clang include directory cannot be found. This
adds the path detected by bindgen's get_include_dir and a manual
override via an env var.
Thanks to @zerosign for reporting and proposing a solution.
10 years ago
Thijs Cadier
a4b4223645
Add metatadata in Cargo.toml
10 years ago
Thijs Cadier
dde8830599
Use bson from crates.io
10 years ago