Repository navigation
Home
cargo dejadoc checks Rust doctests for duplication and can also compare functions, code blocks and dependency sources.
Install Rust stable and Cargo and a C toolchain for your platform. Ensure Cargo's binary directory is on PATH.
cargo +stable install --locked dejadocThe examples in this wiki use main. Install that source build for context and dependency analysis.
cargo +stable install --git https://github.com/LucaCappelletti94/cargo-dejadoc.git --branch main --locked dejadocVerify the installation with cargo dejadoc --version.
cargo dejadoc --functions --context-blocksChecks describes the findings and function remedies. What counts as the same code explains canonical forms and their limits.
cargo dejadoc --context-dependency-depth 1 --context-check-latest falseDependency reuse explains dependency depth, workspace matches, public APIs, upstream extraction requests and incomplete coverage. Performance gives measured time and memory costs, cache behavior and scaling limits.
-
Configuration lists command-line options,
.dejadoc.tomlkeys and exit statuses. - GitHub Action covers reviews, dependency-cache handling and fork workflows.
- Library describes the Rust API and reports.
Released APIs are documented on docs.rs.