Closed ggutoski closed 2 years ago
This is a weakness of Rust 🙁 . There is no complete solution. Some tools that might help:
#[no_panic]
everywhere. It's inspired by https://github.com/Kixunil/dont_panicA convenient way to get a view of the public API is to run cargo doc --open
. Cargo builds docs for the crate's public API, the --open
flag opens a browser to view it.
This topic naturally includes issue #158 but we should keep #158 out of scope for this issue so as to avoid issue bloat.
NCC audit findings 003 (composite modulus check) and 004 (modulus length check) have been addressed in #160. Finding 005 will be fixed in another PR.
Finding 005 was addressed in #173
Need to comb through tofn code to hunt down the last few problem spots: