Modules§
Macros§
Structs§
- Crate
Types - Represents various types of items in a Rust crate.
- Persistent
Workspace Type Map - A wrapper around
WorkspaceTypeswith persistence features. - Workspace
Types - A mapping between workspace crate names and the types they define, along with an index for quick lookups.
Enums§
- Crate
Location - Represents the location of a Rust crate in various scenarios.
Constants§
- WORKSPACE_
TYPEMAP_ DEFAULT_ PERSISTANCE_ FILE - Default JSON file name for storing the workspace type map.
Functions§
- cat_
file_ to_ screen - Prints the content of the file located at the specified path to the standard output.
- current_
cargo_ toml - Returns the
PathBufto the current directory’sCargo.tomlfile. - get_
crate_ name_ from_ cargo_ toml - Retrieves the crate name from a given
Cargo.tomlfile path. - get_
parent_ directory_ from_ cargo_ toml_ path - Retrieves the parent directory path from a given
Cargo.tomlfile path. - get_
workspace_ members - Fetches the list of member crate names from a given workspace-level
Cargo.tomlfile. - is_
node_ public - Determines if a given syntax node in a Rust AST represents a public entity.
- load_
workspace_ types - Loads a
WorkspaceTypesinstance from a JSON file at the specified path. - parent_
cargo_ toml - Returns the
PathBufto the parent directory’sCargo.tomlfile. - save_
workspace_ types - Saves the
WorkspaceTypesinstance to a JSON file at the specified path.