@@ -790,6 +790,7 @@ unstable_cli_options!(
790
790
public_dependency: bool = ( "Respect a dependency's `public` field in Cargo.toml to control public/private dependencies" ) ,
791
791
publish_timeout: bool = ( "Enable the `publish.timeout` key in .cargo/config.toml file" ) ,
792
792
root_dir: Option <PathBuf > = ( "Set the root directory relative to which paths are printed (defaults to workspace root)" ) ,
793
+ rustdoc_depinfo: bool = ( "Use dep-info files in rustdoc rebuild detection" ) ,
793
794
rustdoc_map: bool = ( "Allow passing external documentation mappings to rustdoc" ) ,
794
795
rustdoc_scrape_examples: bool = ( "Allows Rustdoc to scrape code examples from reverse-dependencies" ) ,
795
796
sbom: bool = ( "Enable the `sbom` option in build config in .cargo/config.toml file" ) ,
@@ -1303,6 +1304,7 @@ impl CliUnstable {
1303
1304
"trim-paths" => self . trim_paths = parse_empty ( k, v) ?,
1304
1305
"publish-timeout" => self . publish_timeout = parse_empty ( k, v) ?,
1305
1306
"root-dir" => self . root_dir = v. map ( |v| v. into ( ) ) ,
1307
+ "rustdoc-depinfo" => self . rustdoc_depinfo = parse_empty ( k, v) ?,
1306
1308
"rustdoc-map" => self . rustdoc_map = parse_empty ( k, v) ?,
1307
1309
"rustdoc-scrape-examples" => self . rustdoc_scrape_examples = parse_empty ( k, v) ?,
1308
1310
"sbom" => self . sbom = parse_empty ( k, v) ?,
0 commit comments