pub enum Source {
UserSetting,
Env,
Path,
Bundled,
Pkgmgr,
DotnetTool,
NpmGlobal,
CargoBin,
GithubRelease,
LspInitialize,
}Expand description
Ordered discovery sources declared in shipwright.schema.json.
Variants§
UserSetting
Explicit path from an IDE settings key; accepted only on exact match.
Env
<TOOL>_BINARY_PATH or <TOOL>_BINARY_DIR; accepted unconditionally.
Path
PATH scan; accepted only on exact match.
Bundled
Bundled inside the IDE extension; accepted unconditionally.
Pkgmgr
Native package manager (brew/scoop/apt/winget); surfaces as a prompt.
DotnetTool
dotnet tool global install; surfaces install/update prompts.
NpmGlobal
npm-installed bin on PATH.
CargoBin
~/.cargo/bin fallback (Basilisk-style).
GithubRelease
Download from a GitHub Release (Basilisk-style, opt-in per tool).
LspInitialize
Defer version check to LSP initialize response (Zed fallback).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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