Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Module registry_paths_resolve

Module registry_paths_resolve 

Source
Expand description

registry_paths_resolve — a manifest file enumerates path-like entries; each must resolve to an on-disk artefact. Optional reverse “orphan” check: on-disk artefacts in a declared space that no entry references.

Cross-file: reads one manifest and resolves its entries against the engine FileIndex (O(1) per entry via the lazy path-set). Design + rationale + open-question resolutions: docs/design/v0.10/registry_paths_resolve.md.

- id: cargo-workspace-members-resolve
  kind: registry_paths_resolve
  source: Cargo.toml
  extract: { toml: "$.workspace.members[*]" }
  base: registry_dir          # registry_dir (default) | lint_root | "<path>"
  entries_are_globs: true
  expect: dir                 # any (default) | file | dir
  must_contain: Cargo.toml
  exclude_query: "$.workspace.exclude[*]"
  orphans: { space: "crates/*", unreferenced: warn }
  level: error

Structs§

RegistryPathsResolveRule

Functions§

build