Trait CreateProjectDependencies

Source
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§

Source

fn project<S>(&self, path: S) -> ProjectDependency
where S: AsRef<str>,

Creates an inter-project dependency with the default configuration

Source

fn project_with<P, C>(&self, path: P, config: C) -> ProjectDependency
where P: AsRef<str>, C: AsRef<str>,

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.

Implementors§