diff --git a/cargo-rbmt/src/docs.rs b/cargo-rbmt/src/docs.rs index 83be63c..af73603 100644 --- a/cargo-rbmt/src/docs.rs +++ b/cargo-rbmt/src/docs.rs @@ -11,7 +11,7 @@ use xshell::Shell; pub fn run(sh: &Shell, packages: &[String]) -> Result<(), Box> { check_toolchain(sh, Toolchain::Stable)?; - let mut cmd = quiet_cmd!(sh, "cargo doc --all-features"); + let mut cmd = quiet_cmd!(sh, "cargo doc --all-features --no-deps"); // Add package filters if specified. for package in packages { @@ -30,7 +30,7 @@ pub fn run(sh: &Shell, packages: &[String]) -> Result<(), Box Result<(), Box> { check_toolchain(sh, Toolchain::Nightly)?; - let mut cmd = quiet_cmd!(sh, "cargo doc --all-features"); + let mut cmd = quiet_cmd!(sh, "cargo doc --all-features --no-deps"); // Add package filters if specified. for package in packages {