pub struct BuildPipeline;Expand description
Build pipeline hook
Implementations§
Source§impl BuildPipeline
impl BuildPipeline
Sourcepub fn compile_project<P: AsRef<Path>>(
project_path: P,
target: Option<&str>,
release: bool,
features: &[String],
) -> CompiledArtifact
pub fn compile_project<P: AsRef<Path>>( project_path: P, target: Option<&str>, release: bool, features: &[String], ) -> CompiledArtifact
Compile the project using cargo build with support for targets and features.
Sourcepub fn watch_changes<P: AsRef<Path>, F>(project_path: P, callback: F)
pub fn watch_changes<P: AsRef<Path>, F>(project_path: P, callback: F)
Watch for file changes and trigger incremental rebuilds with debouncing
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildPipeline
impl RefUnwindSafe for BuildPipeline
impl Send for BuildPipeline
impl Sync for BuildPipeline
impl Unpin for BuildPipeline
impl UnsafeUnpin for BuildPipeline
impl UnwindSafe for BuildPipeline
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