From efc27787ceadd5adb71704884542839c5d04d945 Mon Sep 17 00:00:00 2001 From: Aria Beingessner Date: Mon, 31 Oct 2022 18:40:24 -0400 Subject: [PATCH] indicate whether a suggestion was confident or not in the json schema --- src/format.rs | 2 + src/resolver.rs | 1 + ...et__builtin-complex-no-unaudited.json.snap | 24 +- ...ts__vet__builtin-cycle-unaudited.json.snap | 12 +- ...iltin-dev-detection-empty-deeper.json.snap | 36 +- ...vet__builtin-dev-detection-empty.json.snap | 24 +- ...ltin-haunted-no-unaudited-deeper.json.snap | 12 +- ...et__builtin-haunted-no-unaudited.json.snap | 12 +- ...e-audit-as-default-root-no-audit.json.snap | 6 +- ...e-audit-as-default-root-too-weak.json.snap | 6 +- ...uiltin-simple-delta-broken-cycle.json.snap | 6 +- ...simple-delta-broken-double-cycle.json.snap | 6 +- ...builtin-simple-deps-no-unaudited.json.snap | 36 +- ...vet__builtin-simple-no-unaudited.json.snap | 12 +- ...ed-weaker-req-needs-dep-criteria.json.snap | 6 +- ...simple_foreign_dep_criteria_fail.json.snap | 6 +- ...tially-too-weak-via-strong-delta.json.snap | 6 +- ...artially-too-weak-via-weak-delta.json.snap | 6 +- ...omplex-core10-partially-too-weak.json.snap | 6 +- ...et__mock-complex-core10-too-weak.json.snap | 6 +- ...vet__mock-complex-missing-core10.json.snap | 6 +- ..._vet__mock-complex-missing-core5.json.snap | 6 +- ...__vet__mock-complex-no-unaudited.json.snap | 24 +- ...le-delta-to-full-audit-overshoot.json.snap | 6 +- ...ple-delta-to-full-audit-too-weak.json.snap | 6 +- ...e-delta-to-full-audit-undershoot.json.snap | 6 +- ...ple-delta-to-too-weak-full-audit.json.snap | 6 +- ...ple-delta-to-unaudited-overshoot.json.snap | 6 +- ...mple-delta-to-unaudited-too-weak.json.snap | 6 +- ...le-delta-to-unaudited-undershoot.json.snap | 6 +- ...-higher-and-lower-version-review.json.snap | 6 +- ...ock-simple-higher-version-review.json.snap | 6 +- ...mock-simple-lower-version-review.json.snap | 6 +- ...k-simple-missing-direct-internal.json.snap | 6 +- ..._mock-simple-missing-direct-leaf.json.snap | 6 +- ..._vet__mock-simple-missing-leaves.json.snap | 12 +- ...__mock-simple-missing-transitive.json.snap | 6 +- ...eded-reversed-delta-to-unaudited.json.snap | 6 +- ...s__vet__mock-simple-no-unaudited.json.snap | 12 +- ..._mock-simple-reviewed-too-weakly.json.snap | 6 +- ...gly-reversed-delta-to-full-audit.json.snap | 6 +- ...ngly-reversed-delta-to-unaudited.json.snap | 6 +- ...e_foreign_audited_pun_no_mapping.json.snap | 12 +- ...foreign_audited_pun_wrong_mapped.json.snap | 12 +- ...e-policy-first-dep-extra-missing.json.snap | 6 +- ...mple-policy-first-dep-too-strong.json.snap | 6 +- ...cy-first-extra-partially-missing.json.snap | 6 +- ...__simple-policy-first-too-strong.json.snap | 12 +- ...imple-policy-root-dep-too-strong.json.snap | 12 +- ...t__simple-policy-root-too-strong.json.snap | 12 +- .../test_cli__test-project-suggest-json.snap | 596 ++++++++++++------ ...li__test-project-suggest-shallow-json.snap | 60 +- 52 files changed, 773 insertions(+), 354 deletions(-) diff --git a/src/format.rs b/src/format.rs index 5fc494b5..7ca401e2 100644 --- a/src/format.rs +++ b/src/format.rs @@ -694,6 +694,8 @@ pub struct JsonSuggestItem { /// The diff (or full version) we recommend auditing // FIXME(SCHEMA): we probably shouldn't expose this internal type pub suggested_diff: DiffRecommendation, + /// Whether the suggestion is confident or a guess (de-emphasize guesses) + pub confident: bool, } /// A string of the form "package:version" diff --git a/src/resolver.rs b/src/resolver.rs index 6b27e554..034f5508 100644 --- a/src/resolver.rs +++ b/src/resolver.rs @@ -2879,6 +2879,7 @@ impl<'a> ResolveReport<'a> { .map(|s| s.to_owned()) .collect(), suggested_diff: item.suggested_diff.clone(), + confident: item.suggested_criteria.is_fully_confident(), } }; JsonReportConclusion::FailForVet(JsonReportFailForVet { diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-complex-no-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-complex-no-unaudited.json.snap index b9b652ee..cf764f85 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-complex-no-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-complex-no-unaudited.json.snap @@ -51,7 +51,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-core", @@ -67,7 +68,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdA", @@ -83,7 +85,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdAB", @@ -99,7 +102,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -118,7 +122,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-core", @@ -134,7 +139,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdA", @@ -150,7 +156,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdAB", @@ -166,7 +173,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-cycle-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-cycle-unaudited.json.snap index db8e39bf..6928f54b 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-cycle-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-cycle-unaudited.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "normal", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "safe-to-run": [ @@ -90,7 +93,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty-deeper.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty-deeper.json.snap index d74cce8d..285d7b22 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty-deeper.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty-deeper.json.snap @@ -65,7 +65,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "dev-cycle-direct", @@ -81,7 +82,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "normal", @@ -97,7 +99,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "simple-dev", @@ -113,7 +116,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "dev-cycle-indirect", @@ -129,7 +133,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": false }, { "name": "simple-dev-indirect", @@ -145,7 +150,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": false } ], "suggest_by_criteria": { @@ -164,7 +170,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "normal", @@ -180,7 +187,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "safe-to-run": [ @@ -198,7 +206,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "simple-dev", @@ -214,7 +223,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "dev-cycle-indirect", @@ -230,7 +240,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": false }, { "name": "simple-dev-indirect", @@ -246,7 +257,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": false } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty.json.snap index 7276ef7e..0763496c 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-dev-detection-empty.json.snap @@ -51,7 +51,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "dev-cycle-direct", @@ -67,7 +68,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "normal", @@ -83,7 +85,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "simple-dev", @@ -99,7 +102,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -118,7 +122,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "normal", @@ -134,7 +139,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "safe-to-run": [ @@ -152,7 +158,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "simple-dev", @@ -168,7 +175,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited-deeper.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited-deeper.json.snap index 1f17473e..88fdbad4 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited-deeper.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited-deeper.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-normal", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "safe-to-run": [ @@ -90,7 +93,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited.json.snap index 1f17473e..88fdbad4 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-haunted-no-unaudited.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-normal", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "safe-to-run": [ @@ -90,7 +93,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-no-audit.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-no-audit.json.snap index 2764f526..fd7464f8 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-no-audit.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-no-audit.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-too-weak.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-too-weak.json.snap index 2764f526..fd7464f8 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-too-weak.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-audit-as-default-root-too-weak.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-cycle.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-cycle.json.snap index ef68b844..1552859a 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-cycle.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-cycle.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-double-cycle.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-double-cycle.json.snap index 1bad5fbc..6171e366 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-double-cycle.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-delta-broken-double-cycle.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-deps-no-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-deps-no-unaudited.json.snap index 3028b380..cad558ba 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-deps-no-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-deps-no-unaudited.json.snap @@ -65,7 +65,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "build-proc-macro", @@ -81,7 +82,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "dev", @@ -97,7 +99,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "dev-proc-macro", @@ -113,7 +116,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "normal", @@ -129,7 +133,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "proc-macro", @@ -145,7 +150,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -164,7 +170,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "build-proc-macro", @@ -180,7 +187,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "normal", @@ -196,7 +204,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "proc-macro", @@ -212,7 +221,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "safe-to-run": [ @@ -230,7 +240,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "dev-proc-macro", @@ -246,7 +257,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-no-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-no-unaudited.json.snap index 0f3991c1..0798d114 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-no-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-no-unaudited.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-unaudited-nested-weaker-req-needs-dep-criteria.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-unaudited-nested-weaker-req-needs-dep-criteria.json.snap index 64613a95..b74cbbdb 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-unaudited-nested-weaker-req-needs-dep-criteria.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin-simple-unaudited-nested-weaker-req-needs-dep-criteria.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__builtin_simple_foreign_dep_criteria_fail.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__builtin_simple_foreign_dep_criteria_fail.json.snap index 6a5619dd..ba0b22ab 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__builtin_simple_foreign_dep_criteria_fail.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__builtin_simple_foreign_dep_criteria_fail.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-strong-delta.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-strong-delta.json.snap index 5324f461..3990db66 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-strong-delta.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-strong-delta.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-weak-delta.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-weak-delta.json.snap index fe2147ab..560fe636 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-weak-delta.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak-via-weak-delta.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak.json.snap index fe2147ab..560fe636 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-partially-too-weak.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-too-weak.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-too-weak.json.snap index fe2147ab..560fe636 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-too-weak.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-core10-too-weak.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core10.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core10.json.snap index fe2147ab..560fe636 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core10.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core10.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core5.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core5.json.snap index cd3a154e..5aad2058 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core5.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-missing-core5.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-no-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-no-unaudited.json.snap index 6d19a580..8ba0ea08 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-no-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-complex-no-unaudited.json.snap @@ -51,7 +51,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-core", @@ -67,7 +68,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdA", @@ -83,7 +85,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdAB", @@ -99,7 +102,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -118,7 +122,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-core", @@ -134,7 +139,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdA", @@ -150,7 +156,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "thirdAB", @@ -166,7 +173,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-overshoot.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-overshoot.json.snap index 4e35f588..ee199a82 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-overshoot.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-overshoot.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 9, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 9, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-too-weak.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-too-weak.json.snap index c8c5d452..35b2b949 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-too-weak.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-too-weak.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-undershoot.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-undershoot.json.snap index bf359fba..6fce460b 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-undershoot.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-full-audit-undershoot.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-too-weak-full-audit.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-too-weak-full-audit.json.snap index e7d8dfe9..7f8e510f 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-too-weak-full-audit.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-too-weak-full-audit.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-overshoot.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-overshoot.json.snap index 4e35f588..ee199a82 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-overshoot.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-overshoot.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 9, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 9, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-too-weak.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-too-weak.json.snap index c8c5d452..35b2b949 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-too-weak.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-too-weak.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-undershoot.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-undershoot.json.snap index bf359fba..6fce460b 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-undershoot.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-delta-to-unaudited-undershoot.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-and-lower-version-review.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-and-lower-version-review.json.snap index c4f22aef..976987a0 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-and-lower-version-review.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-and-lower-version-review.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-version-review.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-version-review.json.snap index 05bf903b..975714c7 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-version-review.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-higher-version-review.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 21, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 21, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-lower-version-review.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-lower-version-review.json.snap index c4f22aef..976987a0 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-lower-version-review.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-lower-version-review.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-internal.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-internal.json.snap index 7bcb2322..5ea0a4a8 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-internal.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-internal.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-leaf.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-leaf.json.snap index 515bd3d3..c0940556 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-leaf.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-direct-leaf.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-leaves.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-leaves.json.snap index 5c6c5beb..56ebaf9c 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-leaves.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-leaves.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "transitive-third-party1", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "transitive-third-party1", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-transitive.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-transitive.json.snap index 5182cb98..e31ef643 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-transitive.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-missing-transitive.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-needed-reversed-delta-to-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-needed-reversed-delta-to-unaudited.json.snap index 7bcb2322..5ea0a4a8 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-needed-reversed-delta-to-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-needed-reversed-delta-to-unaudited.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-no-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-no-unaudited.json.snap index 835fefdf..7df06e94 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-no-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-no-unaudited.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-reviewed-too-weakly.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-reviewed-too-weakly.json.snap index 5182cb98..e31ef643 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-reviewed-too-weakly.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-reviewed-too-weakly.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-full-audit.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-full-audit.json.snap index c8c5d452..35b2b949 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-full-audit.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-full-audit.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-unaudited.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-unaudited.json.snap index c8c5d452..35b2b949 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-unaudited.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock-simple-wrongly-reversed-delta-to-unaudited.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_no_mapping.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_no_mapping.json.snap index 835fefdf..7df06e94 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_no_mapping.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_no_mapping.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_wrong_mapped.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_wrong_mapped.json.snap index 835fefdf..7df06e94 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_wrong_mapped.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__mock_simple_foreign_audited_pun_wrong_mapped.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-extra-missing.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-extra-missing.json.snap index 4ef1a1d6..ed357c24 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-extra-missing.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-extra-missing.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-too-strong.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-too-strong.json.snap index 4e993309..96e1bd5b 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-too-strong.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-dep-too-strong.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-extra-partially-missing.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-extra-partially-missing.json.snap index 17a1af7b..fdc603e8 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-extra-partially-missing.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-extra-partially-missing.json.snap @@ -30,7 +30,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -49,7 +50,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-too-strong.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-too-strong.json.snap index 3c591ca9..1bdbafc5 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-too-strong.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-first-too-strong.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-dep-too-strong.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-dep-too-strong.json.snap index 3c591ca9..1bdbafc5 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-dep-too-strong.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-dep-too-strong.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-too-strong.json.snap b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-too-strong.json.snap index 3c591ca9..1bdbafc5 100644 --- a/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-too-strong.json.snap +++ b/src/tests/snapshots/cargo_vet__tests__vet__simple-policy-root-too-strong.json.snap @@ -37,7 +37,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -53,7 +54,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -72,7 +74,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true }, { "name": "third-party2", @@ -88,7 +91,8 @@ expression: json "deletions": 0, "files_changed": 1 } - } + }, + "confident": true } ] }, diff --git a/tests/snapshots/test_cli__test-project-suggest-json.snap b/tests/snapshots/test_cli__test-project-suggest-json.snap index a3fdbb3c..9326dda2 100644 --- a/tests/snapshots/test_cli__test-project-suggest-json.snap +++ b/tests/snapshots/test_cli__test-project-suggest-json.snap @@ -710,7 +710,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": true }, { "name": "termcolor", @@ -726,7 +727,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": true }, { "name": "os_str_bytes", @@ -742,7 +744,8 @@ stdout: "deletions": 0, "files_changed": 21 } - } + }, + "confident": true }, { "name": "textwrap", @@ -758,7 +761,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": true }, { "name": "indexmap", @@ -774,7 +778,8 @@ stdout: "deletions": 0, "files_changed": 31 } - } + }, + "confident": true }, { "name": "reqwest", @@ -790,7 +795,8 @@ stdout: "deletions": 0, "files_changed": 60 } - } + }, + "confident": true }, { "name": "serde_json", @@ -806,7 +812,8 @@ stdout: "deletions": 0, "files_changed": 86 } - } + }, + "confident": true }, { "name": "tokio", @@ -822,7 +829,8 @@ stdout: "deletions": 0, "files_changed": 403 } - } + }, + "confident": true }, { "name": "libc", @@ -838,7 +846,8 @@ stdout: "deletions": 0, "files_changed": 215 } - } + }, + "confident": false }, { "name": "winapi", @@ -854,7 +863,8 @@ stdout: "deletions": 0, "files_changed": 410 } - } + }, + "confident": false }, { "name": "tinyvec_macros", @@ -870,7 +880,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "matches", @@ -886,7 +897,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "foreign-types-shared", @@ -902,7 +914,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "try-lock", @@ -918,7 +931,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "openssl-probe", @@ -934,7 +948,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": false }, { "name": "tower-service", @@ -950,7 +965,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "wasm-bindgen-shared", @@ -966,7 +982,8 @@ stdout: "deletions": 0, "files_changed": 7 } - } + }, + "confident": false }, { "name": "pin-utils", @@ -982,7 +999,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "futures-sink", @@ -998,7 +1016,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "cfg-if", @@ -1014,7 +1033,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": false }, { "name": "foreign-types", @@ -1030,7 +1050,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "remove_dir_all", @@ -1046,7 +1067,8 @@ stdout: "deletions": 0, "files_changed": 7 } - } + }, + "confident": false }, { "name": "instant", @@ -1080,6 +1102,23 @@ stdout: } } }, + { + "name": "hyper-tls", + "notable_parents": "reqwest", + "suggested_criteria": [ + "safe-to-deploy" + ], + "suggested_diff": { + "from": null, + "to": "0.5.0", + "diffstat": { + "insertions": 673, + "deletions": 0, + "files_changed": 11 + } + }, + "confident": false + }, { "name": "form_urlencoded", "notable_parents": "url, serde_urlencoded", @@ -1094,7 +1133,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "want", @@ -1110,7 +1150,8 @@ stdout: "deletions": 0, "files_changed": 7 } - } + }, + "confident": false }, { "name": "percent-encoding", @@ -1126,7 +1167,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "fnv", @@ -1142,7 +1184,8 @@ stdout: "deletions": 0, "files_changed": 8 } - } + }, + "confident": false }, { "name": "itoa", @@ -1158,7 +1201,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "lazy_static", @@ -1174,7 +1218,8 @@ stdout: "deletions": 0, "files_changed": 11 } - } + }, + "confident": false }, { "name": "httpdate", @@ -1208,6 +1253,23 @@ stdout: } } }, + { + "name": "tokio-native-tls", + "notable_parents": "reqwest, hyper-tls", + "suggested_criteria": [ + "safe-to-deploy" + ], + "suggested_diff": { + "from": null, + "to": "0.3.0", + "diffstat": { + "insertions": 1089, + "deletions": 0, + "files_changed": 16 + } + }, + "confident": false + }, { "name": "winapi-util", "notable_parents": "termcolor", @@ -1222,7 +1284,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "winapi-i686-pc-windows-gnu", @@ -1238,7 +1301,8 @@ stdout: "deletions": 0, "files_changed": 1391 } - } + }, + "confident": false }, { "name": "winapi-x86_64-pc-windows-gnu", @@ -1254,7 +1318,8 @@ stdout: "deletions": 0, "files_changed": 1420 } - } + }, + "confident": false }, { "name": "futures-core", @@ -1270,7 +1335,8 @@ stdout: "deletions": 0, "files_changed": 14 } - } + }, + "confident": false }, { "name": "futures-task", @@ -1286,7 +1352,8 @@ stdout: "deletions": 0, "files_changed": 14 } - } + }, + "confident": false }, { "name": "http-body", @@ -1302,7 +1369,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "wasm-bindgen-macro", @@ -1318,7 +1386,8 @@ stdout: "deletions": 0, "files_changed": 45 } - } + }, + "confident": false }, { "name": "wasm-bindgen-futures", @@ -1334,7 +1403,8 @@ stdout: "deletions": 0, "files_changed": 12 } - } + }, + "confident": false }, { "name": "fastrand", @@ -1350,7 +1420,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": false }, { "name": "mime", @@ -1366,7 +1437,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "pkg-config", @@ -1382,7 +1454,8 @@ stdout: "deletions": 0, "files_changed": 14 } - } + }, + "confident": false }, { "name": "core-foundation-sys", @@ -1398,7 +1471,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "wasm-bindgen-macro-support", @@ -1414,7 +1488,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "security-framework-sys", @@ -1430,7 +1505,8 @@ stdout: "deletions": 0, "files_changed": 27 } - } + }, + "confident": false }, { "name": "unicode-xid", @@ -1446,7 +1522,8 @@ stdout: "deletions": 0, "files_changed": 12 } - } + }, + "confident": false }, { "name": "serde_urlencoded", @@ -1462,7 +1539,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "slab", @@ -1478,7 +1556,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": false }, { "name": "wasm-bindgen-backend", @@ -1494,7 +1573,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": false }, { "name": "miow", @@ -1542,7 +1622,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": false }, { "name": "native-tls", @@ -1558,7 +1639,8 @@ stdout: "deletions": 0, "files_changed": 18 } - } + }, + "confident": false }, { "name": "once_cell", @@ -1590,7 +1672,8 @@ stdout: "deletions": 0, "files_changed": 33 } - } + }, + "confident": false }, { "name": "redox_syscall", @@ -1606,7 +1689,8 @@ stdout: "deletions": 0, "files_changed": 30 } - } + }, + "confident": false }, { "name": "winreg", @@ -1622,7 +1706,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "core-foundation", @@ -1638,7 +1723,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "tracing-attributes", @@ -1654,7 +1740,8 @@ stdout: "deletions": 0, "files_changed": 18 } - } + }, + "confident": false }, { "name": "ipnet", @@ -1718,7 +1805,8 @@ stdout: "deletions": 0, "files_changed": 34 } - } + }, + "confident": false }, { "name": "schannel", @@ -1734,7 +1822,8 @@ stdout: "deletions": 0, "files_changed": 32 } - } + }, + "confident": false }, { "name": "log", @@ -1750,7 +1839,8 @@ stdout: "deletions": 0, "files_changed": 19 } - } + }, + "confident": false }, { "name": "proc-macro2", @@ -1766,7 +1856,8 @@ stdout: "deletions": 0, "files_changed": 20 } - } + }, + "confident": false }, { "name": "socket2", @@ -1782,7 +1873,8 @@ stdout: "deletions": 0, "files_changed": 11 } - } + }, + "confident": false }, { "name": "pin-project-lite", @@ -1798,7 +1890,8 @@ stdout: "deletions": 0, "files_changed": 70 } - } + }, + "confident": false }, { "name": "tracing-core", @@ -1814,7 +1907,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "cc", @@ -1830,7 +1924,8 @@ stdout: "deletions": 0, "files_changed": 19 } - } + }, + "confident": false }, { "name": "httparse", @@ -1846,7 +1941,8 @@ stdout: "deletions": 0, "files_changed": 18 } - } + }, + "confident": false }, { "name": "memchr", @@ -1862,7 +1958,8 @@ stdout: "deletions": 0, "files_changed": 46 } - } + }, + "confident": false }, { "name": "bytes", @@ -1878,7 +1975,8 @@ stdout: "deletions": 0, "files_changed": 43 } - } + }, + "confident": false }, { "name": "security-framework", @@ -1894,7 +1992,8 @@ stdout: "deletions": 0, "files_changed": 42 } - } + }, + "confident": false }, { "name": "openssl-sys", @@ -1910,7 +2009,8 @@ stdout: "deletions": 0, "files_changed": 46 } - } + }, + "confident": false }, { "name": "bumpalo", @@ -1926,7 +2026,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "tracing", @@ -1942,7 +2043,8 @@ stdout: "deletions": 0, "files_changed": 32 } - } + }, + "confident": false }, { "name": "mio", @@ -1958,7 +2060,8 @@ stdout: "deletions": 0, "files_changed": 62 } - } + }, + "confident": false }, { "name": "js-sys", @@ -1974,7 +2077,8 @@ stdout: "deletions": 0, "files_changed": 62 } - } + }, + "confident": false }, { "name": "tokio-util", @@ -1990,7 +2094,8 @@ stdout: "deletions": 0, "files_changed": 65 } - } + }, + "confident": false }, { "name": "hashbrown", @@ -2006,7 +2111,8 @@ stdout: "deletions": 0, "files_changed": 31 } - } + }, + "confident": false }, { "name": "serde", @@ -2022,7 +2128,8 @@ stdout: "deletions": 0, "files_changed": 27 } - } + }, + "confident": false }, { "name": "url", @@ -2038,7 +2145,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": false }, { "name": "tinyvec", @@ -2054,7 +2162,8 @@ stdout: "deletions": 0, "files_changed": 25 } - } + }, + "confident": false }, { "name": "http", @@ -2070,7 +2179,8 @@ stdout: "deletions": 0, "files_changed": 39 } - } + }, + "confident": false }, { "name": "wasm-bindgen", @@ -2086,7 +2196,8 @@ stdout: "deletions": 0, "files_changed": 242 } - } + }, + "confident": false }, { "name": "ntapi", @@ -2118,7 +2229,8 @@ stdout: "deletions": 0, "files_changed": 69 } - } + }, + "confident": false }, { "name": "futures-util", @@ -2134,23 +2246,25 @@ stdout: "deletions": 0, "files_changed": 185 } - } + }, + "confident": false }, { - "name": "h2", - "notable_parents": "hyper, reqwest", + "name": "openssl", + "notable_parents": "native-tls", "suggested_criteria": [ "safe-to-deploy" ], "suggested_diff": { "from": null, - "to": "0.3.13", + "to": "0.10.38", "diffstat": { "insertions": 25417, "deletions": 0, "files_changed": 63 } - } + }, + "confident": false }, { "name": "openssl", @@ -2166,7 +2280,8 @@ stdout: "deletions": 0, "files_changed": 82 } - } + }, + "confident": false }, { "name": "syn", @@ -2182,7 +2297,8 @@ stdout: "deletions": 6698, "files_changed": 92 } - } + }, + "confident": false }, { "name": "unicode-normalization", @@ -2214,7 +2330,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "vcpkg", @@ -2230,7 +2347,8 @@ stdout: "deletions": 0, "files_changed": 832 } - } + }, + "confident": false }, { "name": "web-sys", @@ -2246,7 +2364,8 @@ stdout: "deletions": 0, "files_changed": 2202 } - } + }, + "confident": false }, { "name": "encoding_rs", @@ -2262,7 +2381,8 @@ stdout: "deletions": 0, "files_changed": 102 } - } + }, + "confident": false } ], "suggest_by_criteria": { @@ -2281,7 +2401,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": true }, { "name": "os_str_bytes", @@ -2297,7 +2418,8 @@ stdout: "deletions": 0, "files_changed": 21 } - } + }, + "confident": true }, { "name": "textwrap", @@ -2313,7 +2435,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": true }, { "name": "indexmap", @@ -2329,7 +2452,8 @@ stdout: "deletions": 0, "files_changed": 31 } - } + }, + "confident": true }, { "name": "reqwest", @@ -2345,7 +2469,8 @@ stdout: "deletions": 0, "files_changed": 60 } - } + }, + "confident": true }, { "name": "serde_json", @@ -2361,7 +2486,8 @@ stdout: "deletions": 0, "files_changed": 86 } - } + }, + "confident": true }, { "name": "tokio", @@ -2377,7 +2503,8 @@ stdout: "deletions": 0, "files_changed": 403 } - } + }, + "confident": true }, { "name": "libc", @@ -2393,7 +2520,8 @@ stdout: "deletions": 0, "files_changed": 215 } - } + }, + "confident": false }, { "name": "winapi", @@ -2409,7 +2537,8 @@ stdout: "deletions": 0, "files_changed": 410 } - } + }, + "confident": false }, { "name": "tinyvec_macros", @@ -2425,7 +2554,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "matches", @@ -2441,7 +2571,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "foreign-types-shared", @@ -2457,7 +2588,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "try-lock", @@ -2473,7 +2605,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "openssl-probe", @@ -2489,7 +2622,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": false }, { "name": "tower-service", @@ -2505,7 +2639,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "wasm-bindgen-shared", @@ -2521,7 +2656,8 @@ stdout: "deletions": 0, "files_changed": 7 } - } + }, + "confident": false }, { "name": "pin-utils", @@ -2537,7 +2673,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "futures-sink", @@ -2553,7 +2690,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "cfg-if", @@ -2569,7 +2707,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": false }, { "name": "foreign-types", @@ -2585,7 +2724,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "remove_dir_all", @@ -2601,7 +2741,8 @@ stdout: "deletions": 0, "files_changed": 7 } - } + }, + "confident": false }, { "name": "instant", @@ -2635,6 +2776,23 @@ stdout: } } }, + { + "name": "hyper-tls", + "notable_parents": "reqwest", + "suggested_criteria": [ + "safe-to-deploy" + ], + "suggested_diff": { + "from": null, + "to": "0.5.0", + "diffstat": { + "insertions": 673, + "deletions": 0, + "files_changed": 11 + } + }, + "confident": false + }, { "name": "form_urlencoded", "notable_parents": "url, serde_urlencoded", @@ -2649,7 +2807,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "want", @@ -2665,7 +2824,8 @@ stdout: "deletions": 0, "files_changed": 7 } - } + }, + "confident": false }, { "name": "percent-encoding", @@ -2681,7 +2841,8 @@ stdout: "deletions": 0, "files_changed": 5 } - } + }, + "confident": false }, { "name": "fnv", @@ -2697,7 +2858,8 @@ stdout: "deletions": 0, "files_changed": 8 } - } + }, + "confident": false }, { "name": "itoa", @@ -2713,7 +2875,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "lazy_static", @@ -2729,7 +2892,8 @@ stdout: "deletions": 0, "files_changed": 11 } - } + }, + "confident": false }, { "name": "httpdate", @@ -2763,6 +2927,23 @@ stdout: } } }, + { + "name": "tokio-native-tls", + "notable_parents": "reqwest, hyper-tls", + "suggested_criteria": [ + "safe-to-deploy" + ], + "suggested_diff": { + "from": null, + "to": "0.3.0", + "diffstat": { + "insertions": 1089, + "deletions": 0, + "files_changed": 16 + } + }, + "confident": false + }, { "name": "winapi-util", "notable_parents": "termcolor", @@ -2777,7 +2958,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "winapi-i686-pc-windows-gnu", @@ -2793,7 +2975,8 @@ stdout: "deletions": 0, "files_changed": 1391 } - } + }, + "confident": false }, { "name": "winapi-x86_64-pc-windows-gnu", @@ -2809,7 +2992,8 @@ stdout: "deletions": 0, "files_changed": 1420 } - } + }, + "confident": false }, { "name": "futures-core", @@ -2825,7 +3009,8 @@ stdout: "deletions": 0, "files_changed": 14 } - } + }, + "confident": false }, { "name": "futures-task", @@ -2841,7 +3026,8 @@ stdout: "deletions": 0, "files_changed": 14 } - } + }, + "confident": false }, { "name": "http-body", @@ -2857,7 +3043,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "wasm-bindgen-macro", @@ -2873,7 +3060,8 @@ stdout: "deletions": 0, "files_changed": 45 } - } + }, + "confident": false }, { "name": "wasm-bindgen-futures", @@ -2889,7 +3077,8 @@ stdout: "deletions": 0, "files_changed": 12 } - } + }, + "confident": false }, { "name": "fastrand", @@ -2905,7 +3094,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": false }, { "name": "mime", @@ -2921,7 +3111,8 @@ stdout: "deletions": 0, "files_changed": 13 } - } + }, + "confident": false }, { "name": "pkg-config", @@ -2937,7 +3128,8 @@ stdout: "deletions": 0, "files_changed": 14 } - } + }, + "confident": false }, { "name": "core-foundation-sys", @@ -2953,7 +3145,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "wasm-bindgen-macro-support", @@ -2969,7 +3162,8 @@ stdout: "deletions": 0, "files_changed": 6 } - } + }, + "confident": false }, { "name": "security-framework-sys", @@ -2985,7 +3179,8 @@ stdout: "deletions": 0, "files_changed": 27 } - } + }, + "confident": false }, { "name": "unicode-xid", @@ -3001,7 +3196,8 @@ stdout: "deletions": 0, "files_changed": 12 } - } + }, + "confident": false }, { "name": "serde_urlencoded", @@ -3017,7 +3213,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "slab", @@ -3033,7 +3230,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": false }, { "name": "wasm-bindgen-backend", @@ -3049,7 +3247,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": false }, { "name": "miow", @@ -3097,7 +3296,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": false }, { "name": "native-tls", @@ -3113,7 +3313,8 @@ stdout: "deletions": 0, "files_changed": 18 } - } + }, + "confident": false }, { "name": "once_cell", @@ -3145,7 +3346,8 @@ stdout: "deletions": 0, "files_changed": 33 } - } + }, + "confident": false }, { "name": "redox_syscall", @@ -3161,7 +3363,8 @@ stdout: "deletions": 0, "files_changed": 30 } - } + }, + "confident": false }, { "name": "winreg", @@ -3177,7 +3380,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "core-foundation", @@ -3193,7 +3397,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "tracing-attributes", @@ -3209,7 +3414,8 @@ stdout: "deletions": 0, "files_changed": 18 } - } + }, + "confident": false }, { "name": "ipnet", @@ -3273,7 +3479,8 @@ stdout: "deletions": 0, "files_changed": 34 } - } + }, + "confident": false }, { "name": "schannel", @@ -3289,7 +3496,8 @@ stdout: "deletions": 0, "files_changed": 32 } - } + }, + "confident": false }, { "name": "log", @@ -3305,7 +3513,8 @@ stdout: "deletions": 0, "files_changed": 19 } - } + }, + "confident": false }, { "name": "proc-macro2", @@ -3321,7 +3530,8 @@ stdout: "deletions": 0, "files_changed": 20 } - } + }, + "confident": false }, { "name": "socket2", @@ -3337,7 +3547,8 @@ stdout: "deletions": 0, "files_changed": 11 } - } + }, + "confident": false }, { "name": "pin-project-lite", @@ -3353,7 +3564,8 @@ stdout: "deletions": 0, "files_changed": 70 } - } + }, + "confident": false }, { "name": "tracing-core", @@ -3369,7 +3581,8 @@ stdout: "deletions": 0, "files_changed": 26 } - } + }, + "confident": false }, { "name": "cc", @@ -3385,7 +3598,8 @@ stdout: "deletions": 0, "files_changed": 19 } - } + }, + "confident": false }, { "name": "httparse", @@ -3401,7 +3615,8 @@ stdout: "deletions": 0, "files_changed": 18 } - } + }, + "confident": false }, { "name": "memchr", @@ -3417,7 +3632,8 @@ stdout: "deletions": 0, "files_changed": 46 } - } + }, + "confident": false }, { "name": "bytes", @@ -3433,7 +3649,8 @@ stdout: "deletions": 0, "files_changed": 43 } - } + }, + "confident": false }, { "name": "security-framework", @@ -3449,7 +3666,8 @@ stdout: "deletions": 0, "files_changed": 42 } - } + }, + "confident": false }, { "name": "openssl-sys", @@ -3465,7 +3683,8 @@ stdout: "deletions": 0, "files_changed": 46 } - } + }, + "confident": false }, { "name": "bumpalo", @@ -3481,7 +3700,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "tracing", @@ -3497,7 +3717,8 @@ stdout: "deletions": 0, "files_changed": 32 } - } + }, + "confident": false }, { "name": "mio", @@ -3513,7 +3734,8 @@ stdout: "deletions": 0, "files_changed": 62 } - } + }, + "confident": false }, { "name": "js-sys", @@ -3529,7 +3751,8 @@ stdout: "deletions": 0, "files_changed": 62 } - } + }, + "confident": false }, { "name": "tokio-util", @@ -3545,7 +3768,8 @@ stdout: "deletions": 0, "files_changed": 65 } - } + }, + "confident": false }, { "name": "hashbrown", @@ -3561,7 +3785,8 @@ stdout: "deletions": 0, "files_changed": 31 } - } + }, + "confident": false }, { "name": "serde", @@ -3577,7 +3802,8 @@ stdout: "deletions": 0, "files_changed": 27 } - } + }, + "confident": false }, { "name": "url", @@ -3593,7 +3819,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": false }, { "name": "tinyvec", @@ -3609,7 +3836,8 @@ stdout: "deletions": 0, "files_changed": 25 } - } + }, + "confident": false }, { "name": "http", @@ -3625,7 +3853,8 @@ stdout: "deletions": 0, "files_changed": 39 } - } + }, + "confident": false }, { "name": "wasm-bindgen", @@ -3641,7 +3870,8 @@ stdout: "deletions": 0, "files_changed": 242 } - } + }, + "confident": false }, { "name": "ntapi", @@ -3673,7 +3903,8 @@ stdout: "deletions": 0, "files_changed": 69 } - } + }, + "confident": false }, { "name": "futures-util", @@ -3689,23 +3920,25 @@ stdout: "deletions": 0, "files_changed": 185 } - } + }, + "confident": false }, { - "name": "h2", - "notable_parents": "hyper, reqwest", + "name": "openssl", + "notable_parents": "native-tls", "suggested_criteria": [ "safe-to-deploy" ], "suggested_diff": { "from": null, - "to": "0.3.13", + "to": "0.10.38", "diffstat": { "insertions": 25417, "deletions": 0, "files_changed": 63 } - } + }, + "confident": false }, { "name": "openssl", @@ -3721,7 +3954,8 @@ stdout: "deletions": 0, "files_changed": 82 } - } + }, + "confident": false }, { "name": "syn", @@ -3737,7 +3971,8 @@ stdout: "deletions": 6698, "files_changed": 92 } - } + }, + "confident": false }, { "name": "unicode-normalization", @@ -3769,7 +4004,8 @@ stdout: "deletions": 0, "files_changed": 17 } - } + }, + "confident": false }, { "name": "vcpkg", @@ -3785,7 +4021,8 @@ stdout: "deletions": 0, "files_changed": 832 } - } + }, + "confident": false }, { "name": "web-sys", @@ -3801,7 +4038,8 @@ stdout: "deletions": 0, "files_changed": 2202 } - } + }, + "confident": false }, { "name": "encoding_rs", @@ -3817,7 +4055,8 @@ stdout: "deletions": 0, "files_changed": 102 } - } + }, + "confident": false } ], "safe-to-run": [ @@ -3835,7 +4074,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": true } ] }, diff --git a/tests/snapshots/test_cli__test-project-suggest-shallow-json.snap b/tests/snapshots/test_cli__test-project-suggest-shallow-json.snap index 80834270..29427a29 100644 --- a/tests/snapshots/test_cli__test-project-suggest-shallow-json.snap +++ b/tests/snapshots/test_cli__test-project-suggest-shallow-json.snap @@ -94,7 +94,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": true }, { "name": "termcolor", @@ -110,7 +111,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": true }, { "name": "os_str_bytes", @@ -126,7 +128,8 @@ stdout: "deletions": 0, "files_changed": 21 } - } + }, + "confident": true }, { "name": "textwrap", @@ -142,7 +145,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": true }, { "name": "indexmap", @@ -158,7 +162,8 @@ stdout: "deletions": 0, "files_changed": 31 } - } + }, + "confident": true }, { "name": "reqwest", @@ -174,7 +179,8 @@ stdout: "deletions": 0, "files_changed": 60 } - } + }, + "confident": true }, { "name": "serde_json", @@ -190,7 +196,8 @@ stdout: "deletions": 0, "files_changed": 86 } - } + }, + "confident": true }, { "name": "tokio", @@ -206,7 +213,8 @@ stdout: "deletions": 0, "files_changed": 403 } - } + }, + "confident": true }, { "name": "libc", @@ -222,7 +230,8 @@ stdout: "deletions": 0, "files_changed": 215 } - } + }, + "confident": true }, { "name": "winapi", @@ -238,7 +247,8 @@ stdout: "deletions": 0, "files_changed": 410 } - } + }, + "confident": true } ], "suggest_by_criteria": { @@ -257,7 +267,8 @@ stdout: "deletions": 0, "files_changed": 10 } - } + }, + "confident": true }, { "name": "os_str_bytes", @@ -273,7 +284,8 @@ stdout: "deletions": 0, "files_changed": 21 } - } + }, + "confident": true }, { "name": "textwrap", @@ -289,7 +301,8 @@ stdout: "deletions": 0, "files_changed": 15 } - } + }, + "confident": true }, { "name": "indexmap", @@ -305,7 +318,8 @@ stdout: "deletions": 0, "files_changed": 31 } - } + }, + "confident": true }, { "name": "reqwest", @@ -321,7 +335,8 @@ stdout: "deletions": 0, "files_changed": 60 } - } + }, + "confident": true }, { "name": "serde_json", @@ -337,7 +352,8 @@ stdout: "deletions": 0, "files_changed": 86 } - } + }, + "confident": true }, { "name": "tokio", @@ -353,7 +369,8 @@ stdout: "deletions": 0, "files_changed": 403 } - } + }, + "confident": true } ], "safe-to-run": [ @@ -371,7 +388,8 @@ stdout: "deletions": 0, "files_changed": 9 } - } + }, + "confident": true }, { "name": "libc", @@ -387,7 +405,8 @@ stdout: "deletions": 0, "files_changed": 215 } - } + }, + "confident": true }, { "name": "winapi", @@ -403,7 +422,8 @@ stdout: "deletions": 0, "files_changed": 410 } - } + }, + "confident": true } ] },