/*
You can override compilation aspects of profiles in Cargo.toml
Defaults:
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
Write doc comments with ///
Write sections with #MySection
Insert source snippets wrapped in ```
Generate docs with:
cargo doc
cargo doc --open // opens html docs in browser
Other common sections:
Panics
Errors
Safety
Code documentation of library functions will be compiled when running cargo test
//! generates docs that describe general library function
---
cargo publish // publishes to crates.io with version you specified in Cargo.toml
Cannot delete crates because that would mess up the Rust ecosystem. You can however yank stuff:
cargo yank --vers 0.1.1
If you mess up a yank, you can undo it:
cargo yank --vers 0.1.1 --undo
*/
use my_library;