I tried to complie the 1st example from rust-ap-graphviz doc.
I have add
rustc-ap-graphviz = "662.0.0" in to Cargo.toml. but I got unresolved import
graphviz error. How can i fix this?
It looks like the documentation for this crate is out of sync with the auto-published version. Instead of
graphviz, the auto-published crate uses the library name
use rustc_ap_graphviz as dot;
Also, as you have probably discovered, it requires a nightly build of the Rust toolchain.
Got it. thank you very much for your help