pub struct Dependency {
pub binary: String,
pub version: String,
pub install_hint: String,
pub homepage: String,
}Expand description
An external binary that a processor requires at runtime.
Pure-Rust processors (image, csv, file) have no dependencies.
Processors wrapping CLI tools (yt-dlp, ffmpeg) declare their
requirements here. The dependency checker verifies these before
pipeline execution; bnto doctor reports missing deps with install hints.
Fields§
§binary: StringBinary name to look up on PATH (e.g., "yt-dlp", "ffmpeg").
version: StringSemver version constraint (e.g., ">=2023.0.0"). Empty = any version.
install_hint: StringHuman-readable install instructions (e.g., "brew install yt-dlp").
homepage: StringHomepage URL for the tool.
Trait Implementations§
Source§impl Clone for Dependency
impl Clone for Dependency
Source§fn clone(&self) -> Dependency
fn clone(&self) -> Dependency
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Dependency
impl Debug for Dependency
Source§impl PartialEq for Dependency
impl PartialEq for Dependency
Source§impl Serialize for Dependency
impl Serialize for Dependency
impl StructuralPartialEq for Dependency
Auto Trait Implementations§
impl Freeze for Dependency
impl RefUnwindSafe for Dependency
impl Send for Dependency
impl Sync for Dependency
impl Unpin for Dependency
impl UnsafeUnpin for Dependency
impl UnwindSafe for Dependency
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