mmstick / cargo-deb

A cargo subcommand that generates Debian packages from information in Cargo.toml
615 stars 50 forks source link

Add an optional metadata field to override the crate name #91

Closed acfoltzer closed 5 years ago

acfoltzer commented 5 years ago

We have a deployment scenario that requires all dpkg names to be of a certain format. I'm overcoming that for now by using some gross sed scripting to change the name field in Cargo.toml before running cargo deb, but this patch allows overriding the name in the Cargo metadata instead.

kornelski commented 5 years ago

Makes sense. Thanks!