Make sure all of the tests pass:
cargo t
New code must have new unit tests.
Format the code:
cargo fmt
Adhere to the coding conventions used elsewhere in the codebase.
Update the readme file if necessary.