pub struct GraphixPM { /* private fields */ }Expand description
The Graphix package manager
Implementations§
Source§impl GraphixPM
impl GraphixPM
Sourcepub async fn add_packages(
&self,
packages: &[PackageId],
skip_crates_io_check: bool,
) -> Result<()>
pub async fn add_packages( &self, packages: &[PackageId], skip_crates_io_check: bool, ) -> Result<()>
Add packages and rebuild
Sourcepub async fn remove_packages(&self, packages: &[PackageId]) -> Result<()>
pub async fn remove_packages(&self, packages: &[PackageId]) -> Result<()>
Remove packages and rebuild
Sourcepub async fn do_rebuild(&self) -> Result<()>
pub async fn do_rebuild(&self) -> Result<()>
Rebuild the graphix binary from the current packages.toml
Sourcepub async fn build_standalone(
&self,
package_dir: &Path,
source_override: Option<&Path>,
) -> Result<()>
pub async fn build_standalone( &self, package_dir: &Path, source_override: Option<&Path>, ) -> Result<()>
Build a standalone graphix binary from a local package directory.
The binary is placed in package_dir/graphix. Only the local
package is included directly — cargo resolves its transitive
dependencies (including stdlib packages) normally.
Auto Trait Implementations§
impl Freeze for GraphixPM
impl !RefUnwindSafe for GraphixPM
impl Send for GraphixPM
impl Sync for GraphixPM
impl Unpin for GraphixPM
impl UnsafeUnpin for GraphixPM
impl !UnwindSafe for GraphixPM
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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