Pssst!... see what Rust is doing behind the curtains 🕵🤫
Update to latest syntect, which removes the dependency to llvm. See #57
Add missing Cargo.lock
(#30). Thanks to @minijackson.
Added ability to choose what kind of format a flowgraph is rendered to using the --format argument. The default flowgraph format is now SVG.
cargo inspect --unpretty=flowgraph=main
. This requires dot
to be installed on the machine. Thanks to @jonathansty
This release removes the implicit dependency on git2 caused by prettyprint (see https://github.com/mre/prettyprint/issues/6). This fixes compilation on macOS in the case where openssl wasn't installed. Thanks to @lilyball for reporting.
This release adds two nice features to cargo-inspect
:
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]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]