Skip to main content

Module workspace

Module workspace 

Source
Expand description

Handles lowering of build-system specific workspace information (cargo metadata or rust-project.json) into representation stored in the salsa database โ€“ CrateGraph.

Structsยง

PackageRoot
PackageRoot describes a package root folder. Which may be an external dependency, or a member of the current workspace.
ProjectWorkspace
SysrootPublicDeps ๐Ÿ”’

Enumsยง

ProjectWorkspaceKind

Functionsยง

add_dep ๐Ÿ”’
add_dep_inner ๐Ÿ”’
add_dep_with_prelude ๐Ÿ”’
add_proc_macro_dep ๐Ÿ”’
add_target_crate_root ๐Ÿ”’
cargo_to_crate_graph ๐Ÿ”’
detached_file_to_crate_graph ๐Ÿ”’
extend_crate_graph_with_sysroot ๐Ÿ”’
handle_rustc_crates ๐Ÿ”’
project_json_to_crate_graph ๐Ÿ”’
sysroot_metadata_config ๐Ÿ”’
sysroot_to_crate_graph ๐Ÿ”’

Type Aliasesยง

FileLoader