pub struct DebPkg { /* private fields */ }Expand description
Struct to handle Container file creation
Implementations§
Source§impl DebPkg
impl DebPkg
Sourcepub fn new(path: PathBuf) -> Result<DebPkg>
pub fn new(path: PathBuf) -> Result<DebPkg>
Create a debian package builder from build.rs script
Sourcepub fn add_deb_pkg_metadata(deb_table: &mut Table, name: &str)
pub fn add_deb_pkg_metadata(deb_table: &mut Table, name: &str)
Function to add debian package metadata to Cargo.toml
Sourcepub fn write_package_data(&self) -> Result<()>
pub fn write_package_data(&self) -> Result<()>
Method to write package data (useful for the deb package) into a folder
Auto Trait Implementations§
impl Freeze for DebPkg
impl RefUnwindSafe for DebPkg
impl Send for DebPkg
impl Sync for DebPkg
impl Unpin for DebPkg
impl UnwindSafe for DebPkg
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