Look into debcargo for packaging. By the way, debcargo is not available in any Ubuntu repository, and building takes forever. Here's a binary I built on bionic64: https://s.tcl.sh/debcargo-2.2.9-bionic64
Also, building metadata bionic64 with latest repository rust (rustc 1.30.0) fails due to third party crap:
Compiling pest v2.1.0
error[E0658]: scoped lint `clippy::needless_pass_by_value` is experimental (see issue #44690)
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-2.1.0/src/error.rs:97:13
|
97 | #[allow(clippy::needless_pass_by_value)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0658]: scoped lint `clippy::needless_pass_by_value` is experimental (see issue #44690)
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-2.1.0/src/error.rs:137:13
|
137 | #[allow(clippy::needless_pass_by_value)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0658]: scoped lint `clippy::new_ret_no_self` is experimental (see issue #44690)
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-2.1.0/src/parser_state.rs:114:13
|
114 | #[allow(clippy::new_ret_no_self)]
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0658]: scoped lint `clippy::new_ret_no_self` is experimental (see issue #44690)
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-2.1.0/src/position.rs:52:13
|
52 | #[allow(clippy::new_ret_no_self)]
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0658]: scoped lint `clippy::new_ret_no_self` is experimental (see issue #44690)
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-2.1.0/src/span.rs:56:13
|
56 | #[allow(clippy::new_ret_no_self)]
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0658]: scoped lint `clippy::all` is experimental (see issue #44690)
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-2.1.0/src/unicode/mod.rs:6:10
|
6 | #![allow(clippy::all)]
| ^^^^^^^^^^^
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0658`.
error: Could not compile `pest`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `metadata v0.1.2`, intermediate artifacts can be found at `/tmp/cargo-installMvRXB3`
Caused by:
build failed
Haven't tried latest stable with rustup, but I can't use rustup for packaging anyway. What an ass of an ecosystem.
Look into debcargo for packaging. By the way, debcargo is not available in any Ubuntu repository, and building takes forever. Here's a binary I built on bionic64: https://s.tcl.sh/debcargo-2.2.9-bionic64
Also, building
metadata
bionic64 with latest repository rust (rustc 1.30.0) fails due to third party crap:Haven't tried latest stable with rustup, but I can't use rustup for packaging anyway. What an ass of an ecosystem.