Crate cargo_deb[][src]

Expand description

Making deb packages

If you only want to make some *.deb files, and you’re not a developer of tools for Debian packaging, see cargo deb command usage described in the README instead.

cargo install cargo-deb
cargo deb # run this in your Cargo project directory

Making tools for making deb packages

The library interface is experimental. See main.rs for usage.

Re-exports

pub use crate::manifest::Config;

Modules

compress
control
data
listener
manifest

Structs

DebArchive

Enums

CargoDebError

Functions

cargo_build

Builds a release binary with cargo build --release

install_deb

Run dpkg to install deb archive at the given path

remove_deb_temp_directory

Removes the target/debian/foo

reset_deb_temp_directory

Creates empty (removes files if needed) target/debian/foo directory so that we can start fresh.

strip_binaries

Strips the binary that was created with cargo

Type Definitions

CDResult