Closed enizor closed 6 years ago
https://github.com/mmstick/cargo-deb/blob/4bd257dbd9700b1b587619c0938f2013e6e25e0d/src/manifest.rs#L405
Actually it can be an u32 (cargo code)
u32
I did not totallly understand your fn strip_binaries(), but I think it should be fine to cast a 0 to false and any other integer to true.
fn strip_binaries()
0
false
true
I will create a PR if this behavior suits you.
Yes, indeed, our parsing is not as flexible as Cargo's. Please make a PR.
https://github.com/mmstick/cargo-deb/blob/4bd257dbd9700b1b587619c0938f2013e6e25e0d/src/manifest.rs#L405
Actually it can be an
u32
(cargo code)I did not totallly understand your
fn strip_binaries()
, but I think it should be fine to cast a0
tofalse
and any other integer totrue
.I will create a PR if this behavior suits you.