Roland Crosby d8df9c2ee9 Allow cargo build --lib
When building Rust packages that provide libraries but no executable
binaries, `cargo install` doesn't do anything; you need to use `cargo
build` and install any libraries manually. See e.g.
rust-lang/cargo#8294.

Unfortunately, Homebrew's Rubocop "use cargo install *std_cargo_args"
rule, as currently written, blocks all invocations of `cargo build`.
This commit changes that rule to exclude invocations of `cargo build`
that use the `--lib` argument (`--lib` specifies to Cargo that a
package's library targets should be built). This will enable library
packages to be built while retaining the "use cargo install
*std_cargo_args" message for the more common case when a Rust package
provides executable binaries.
2022-01-31 21:11:22 -05:00
..
2021-11-16 16:34:12 -08:00
2022-01-21 13:52:22 +00:00
2021-12-19 09:27:08 +01:00
2021-11-08 20:18:25 -05:00
2021-12-14 10:31:15 -05:00
2021-10-21 21:05:51 +08:00
2022-01-31 21:11:22 -05:00
2021-09-20 14:12:30 +01:00
2022-01-03 13:17:12 +00:00
2021-08-14 01:59:04 -04:00
2021-09-18 01:15:52 +01:00
2021-09-30 10:13:53 +01:00
2021-12-24 21:15:21 -05:00
2021-12-29 13:07:39 +00:00
2021-10-19 15:15:56 +01:00
2021-09-30 10:13:53 +01:00