Struct cargo_project::Project [−][src]
pub struct Project { /* fields omitted */ }Expand description
Information about a Cargo project
Implementations
Retrieves information about the Cargo project at the given path
path doesn’t need to be the directory that contains the Cargo.toml file; it can be any
point within the Cargo project.
Returns the path to a build artifact
Inputs
artifactis the kind of build artifact:Bin(--bin),Example(--example),Lib(--lib)profileis the compilation profile:DevorRelease(--release)targetis the specified compilation target (--target)hostis the triple of host – this is used as the compilation target when notargetis specified and the project has no default build target
Returns the target directory path
This is where build artifacts are placed