pub struct PluginToolingDependencies {
pub plugin: String,
pub dependencies: Vec<String>,
pub references: Vec<String>,
pub own_config: Option<PathBuf>,
}Expand description
The tooling dependencies of one active plugin, plus the evidence that the project uses the plugin.
The unused devDependency check credits dependencies only when the plugin
found a config of its own (own_config), or when a package.json script, a
CI workflow or a git hook invokes one of references. An active plugin
alone is no evidence: a declared package activates it.
Fields§
§plugin: StringThe plugin name.
dependencies: Vec<String>The tooling dependencies the plugin declares.
references: Vec<String>The package names whose script, CI or hook invocation shows that the project runs the plugin’s tool: its tooling dependencies and its exact enablers.
own_config: Option<PathBuf>The config file the plugin found, or the package.json that holds its config. Absolute path.
Implementations§
Trait Implementations§
Source§impl Clone for PluginToolingDependencies
impl Clone for PluginToolingDependencies
Source§impl Debug for PluginToolingDependencies
impl Debug for PluginToolingDependencies
Source§impl Default for PluginToolingDependencies
impl Default for PluginToolingDependencies
impl Eq for PluginToolingDependencies
impl StructuralPartialEq for PluginToolingDependencies
Auto Trait Implementations§
impl Freeze for PluginToolingDependencies
impl RefUnwindSafe for PluginToolingDependencies
impl Send for PluginToolingDependencies
impl Sync for PluginToolingDependencies
impl Unpin for PluginToolingDependencies
impl UnsafeUnpin for PluginToolingDependencies
impl UnwindSafe for PluginToolingDependencies
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more