apache / incubator-milagro-crypto-rust

Apache Milagro Crypto Library - Rust Version
https://milagro.apache.org/
Apache License 2.0
31 stars 19 forks source link

A lot of Formatting and style #5

Closed kirk-baird closed 5 years ago

kirk-baird commented 5 years ago

Large overhaul to change the formatting guide to match Rust.

Only breaking changes are switching the naming of BIG -> Big and DBIG -> DBig and possibly some of the types in types.rs but these should only be internally.

The mutability of some function and variables has been reduced where possible. This is not a breaking change but will give a warning in some cases where users still pass a mutable reference. E,g, Big::tostring did not require a mutable reference and hence has been removed.

Improvements to the readme.md

Increase the readability of the docs (run cargo doc --open) which should increase the usability as a cargo crate.