Skip to content

Instantly share code, notes, and snippets.

@alabid
Last active August 29, 2015 14:16
Show Gist options
  • Save alabid/a875b56f9fb106c977aa to your computer and use it in GitHub Desktop.
Save alabid/a875b56f9fb106c977aa to your computer and use it in GitHub Desktop.
Rust MongoDB driver TODOs
1. Use cargo (https://crates.io/) to eliminate over-dependence on the make build utility.
2!! Adhere to the drivers API spec onion:
https://docs.google.com/a/10gen.com/spreadsheets/d/13Iy5CDwMeKAlkrPOl8oOJ6_uei6SzIo0NnpdUOaFYvI/edit#gid=0
3. Remove obsolete language features: use of tildes for owned pointers, deprecated macros (like fmt!, fail!),
deprecated crates and modules (like the 'extra' crate), and so on.
4. Use new language features.
5. Create online documentation for the Rust driver.
6. Write a more thorough driver test suite for CRUD functionality.
7. Register repo with Travis CI.
8. Remove unsafe pointer finagling in codebase.
For example, FFI (Foreign Function Interface) is currently used in the Rust Driver to invoke a native C MD5 implementation.
Rust's libstd now has md5.
9. Fix memory leaks.
10. Others?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment