All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Ability to choose what kind of format a flowgraph is rendered to using the
--format
argument.
- Default flowgraph format is now
svg
.
- Flowgraphs can now be generated by using
cargo inspect --unpretty=flowgraph=main
. This requiresdot
to be installed on the machine. Thanks to @jonathansty.
- Remove the implicit dependency on git2 caused by prettyprint (see
mre/prettyprint#6).
This fixes compilation on macOS in the case where openssl wasn't installed. Thanks to @lilyball for reporting.
- You can now choose different themes! Simply run cargo inspect --list-themes to get a list of available choices. For example, this will use the GitHub theme, which should work well on white backgrounds: cargo inspect examples/file.rs --theme GitHub. Thanks to @jonathansty.
- The output is now a bit cleaner, because formatting issues are now handled a
little better. Even if rustfmt fails, we print the final output on a
best-effort basis. Most of the time, this should look quite pleasing to the
eye. If you want to see the full debug trace, you can use
RUST_LOG=debug
. Thanks to @jonathansty.
- Add logging support
- Add support for diffing files (#11)
- Print unformatted text instead of panicking on rustfmt
- Move to Rust 2018 edition
- Add crate support
- Adds support for plaintext output.
- More examples