Functions§
- apply_
module_ path - extract_
module_ path - Extract module path from source file relative to src/ e.g., src/main.rs -> “main”, src/foo/mod.rs -> “foo”, src/a/b/c.rs -> “a/b/c”
- find_
manifest_ dir - Find the Cargo manifest directory by walking up from a given path
- make_
manifest_ relative_ path - Convert a doc path to be relative to the Cargo manifest directory from the perspective of the call site file