Thijs Cadier
3cdd312cdf
Convert bson json to String directly
9 years ago
Thijs Cadier
c44f47ce6f
Add Travis config
9 years ago
Thijs Cadier
fcabf5e262
Tweak comments
9 years ago
Thijs Cadier
ac9dd3a357
Update readme
9 years ago
Thijs Cadier
32d807f216
Bump C driver to 1.3.0
9 years ago
Thijs Cadier
5a16cbdd37
Merge pull request #4 from thijsc/mongo_c_1_2
...
Mongo C driver 1.2
9 years ago
Thijs Cadier
1a4964a36e
Use Mongo C driver 1.2.1
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
9a65732c26
Keep track of bindings semi-manually
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
86d3d180a0
Bump mongo c driver to 1.1.11
9 years ago
Thijs Cadier
5ef49c0258
Drop collection in find and modify test
9 years ago
Thijs Cadier
87e4f3cb8b
Fix lifetime issue in options
9 years ago
Thijs Cadier
494914c638
Add bson encoding and decoding test
9 years ago
Thijs Cadier
c2338a389f
Fix passing of update in find_and_modify
9 years ago
Thijs Cadier
b536f1c048
Add test for count options
9 years ago
Thijs Cadier
e922adcad6
Add find_and_modify on collection
9 years ago
Thijs Cadier
5fce1cd42b
Les error-prone skipping of ssl tests
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
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