pub enum RuntimeDependency {
Registry(String),
Workspace,
Path(Utf8PathBuf),
}Expand description
How a generated project resolves the runtime crate.
Variants§
Registry(String)
A crates.io version used by installed releases.
Workspace
Inherit rustferry from the containing Cargo workspace.
Path(Utf8PathBuf)
An explicit local source checkout used by development and tests.
Trait Implementations§
Source§impl Clone for RuntimeDependency
impl Clone for RuntimeDependency
Source§impl Debug for RuntimeDependency
impl Debug for RuntimeDependency
impl Eq for RuntimeDependency
Source§impl PartialEq for RuntimeDependency
impl PartialEq for RuntimeDependency
impl StructuralPartialEq for RuntimeDependency
Auto Trait Implementations§
impl Freeze for RuntimeDependency
impl RefUnwindSafe for RuntimeDependency
impl Send for RuntimeDependency
impl Sync for RuntimeDependency
impl Unpin for RuntimeDependency
impl UnsafeUnpin for RuntimeDependency
impl UnwindSafe for RuntimeDependency
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more