Unverified Commit 41ff65d8 authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

cargo-geiger: add version test

parent 48269b33
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@
  rustPlatform,
  pkg-config,
  openssl,
  # testing
  testers,
  cargo-geiger,
}:

rustPlatform.buildRustPackage rec {
@@ -51,6 +54,10 @@ rustPlatform.buildRustPackage rec {
    "--skip test_package_update_readme::case_5"
  ];

  passthru.tests.version = testers.testVersion {
    package = cargo-geiger;
  };

  meta = {
    description = "Detects usage of unsafe Rust in a Rust crate and its dependencies";
    longDescription = ''