From da8a602be850c08fe130de9e66e238acec606393 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 16 Nov 2020 14:55:29 +0100 Subject: [PATCH] add rust-clippy binary package MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- debian/control | 27 +++++++++++++++++++++++++++ debian/rust-clippy.install | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 debian/rust-clippy.install diff --git a/debian/control b/debian/control index 1a6df4aa58..ce766ef4ef 100644 --- a/debian/control +++ b/debian/control @@ -252,3 +252,30 @@ Description: Rust systems programming language - source code . This package contains sources of the Rust compiler and standard libraries, useful for IDEs and code analysis tools such as Racer. + +Package: rust-clippy +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, + libstd-rust-1.48 +Recommends: cargo +Description: Rust linter + Rust is a curly-brace, block-structured expression language. It + visually resembles the C language family, but differs significantly + in syntactic and semantic details. Its design is oriented toward + concerns of "programming in the large", that is, of creating and + maintaining boundaries - both abstract and operational - that + preserve large-system integrity, availability and concurrency. + . + It supports a mixture of imperative procedural, concurrent actor, + object-oriented and pure functional styles. Rust also supports + generic programming and meta-programming, in both static and dynamic + styles. + . + This package contains 'clippy', a linter to catch common mistakes and improve + your Rust code as well a collection of over 400 compatible lints. + . + Lints are divided into categories, each with a default lint level. You can + choose how much Clippy is supposed to annoy help you by changing the lint + level by category. + . + Clippy is integrated into the 'cargo' build tool, available via 'cargo clippy'. diff --git a/debian/rust-clippy.install b/debian/rust-clippy.install new file mode 100644 index 0000000000..cad917bfcb --- /dev/null +++ b/debian/rust-clippy.install @@ -0,0 +1,2 @@ +usr/bin/clippy-driver +usr/bin/cargo-clippy -- 2.39.5