pub trait CreateProjectDependencies {
// Required methods
fn project<S>(&self, path: S) -> ProjectDependency
where S: AsRef<str>;
fn project_with<P, C>(&self, path: P, config: C) -> ProjectDependency
where P: AsRef<str>,
C: AsRef<str>;
}
Expand description
Get access to project dependencies
Required Methods§
Sourcefn project<S>(&self, path: S) -> ProjectDependency
fn project<S>(&self, path: S) -> ProjectDependency
Creates an inter-project dependency with the default configuration
Sourcefn project_with<P, C>(&self, path: P, config: C) -> ProjectDependency
fn project_with<P, C>(&self, path: P, config: C) -> ProjectDependency
Creates an inter-project dependency with a given configuration
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.