-
-
Notifications
You must be signed in to change notification settings - Fork 15
Document possibility of indexing user provided crates #10
Copy link
Copy link
Open
Description
It is possible to index user provided crates like so:
export RUSTDOCFLAGS="-Zunstable-options --output-format=json"
cargo +nightly docAlternatively, in Rust:
std::process::Command::new("cargo")
.arg("+nightly")
.arg("doc")
.env("RUSTDOCFLAGS", "-Zunstable-options --output-format=json")
.env("CARGO_TARGET_DIR", &index_dir)
.current_dir(crate_path)
.output();I think it would be useful to document this as an option somewhere in the roogle-engine documentation or README.md, or both. However, it does run into internal compiler errors, so it will not currently work for all projects.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels