pub enum LibrarySource {
Tarball(String),
Git {
repo: String,
tag: String,
},
}Expand description
Describes how a thirdparty library’s source is obtained.
Variants§
Tarball(String)
Download a tarball and extract it with the top-level directory stripped.
Git
Clone a git repository at a specific tag, recursing into submodules.
Auto Trait Implementations§
impl Freeze for LibrarySource
impl RefUnwindSafe for LibrarySource
impl Send for LibrarySource
impl Sync for LibrarySource
impl Unpin for LibrarySource
impl UnwindSafe for LibrarySource
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