message: Match library properly if multiple crate-types are in use.
  Noticed this, my crate rustyknife was flagged as "not a library".
  Cargo.toml snippet:
  [lib]
  crate-type = ["lib", "cdylib"]
diff: @@ -80,11 +80,11 @@ pub(crate) struct Package {
  impl Package {
  fn library_target(&self) -> Option<&Target> {
  - self.targets
  + self.targets.iter().find(|target| {
  + target
  + .kind
  .iter()
  - .find(|target| match target.kind.as_slice() {
  - [kind] if kind == "lib" || kind == "proc-macro" => true,
  - _ => false,
  + .any(|kind| kind == "lib" || kind == "proc-macro")
  })
  }
  