cargo-deny 日本語訳 誤訳を知らせる
cargo-deny の本sources: 診断
  1. コマンドラインツール
  2. コマンド: 共通のオプション
  3. コマンド: init
  4. コマンド: check
  5. コマンド: list
  6. コマンド: fetch
  7. チェック
  8. チェック: 設定
  9. advisories
  10. advisories: 設定
  11. advisories: 診断
  12. bans
  13. bans: 設定
  14. bans: 診断
  15. licenses
  16. licenses: 設定
  17. licenses: 診断
  18. sources
  19. sources: 設定
  20. sources: 診断

sources の診断

git-source-underspecified

git の取得元が、sources.required-git-spec で求められる最低限の指定子を満たさない指定を使っています。

allowed-source

クレートの取得元が、sources.allow-git または sources.allow-registry で明示的に許可されています。

allowed-by-organization

クレートの取得元が、sources.allow-org のエントリで明示的に許可されました。

source-not-allowed

クレートの取得元が明示的に許可されていませんでした。

unmatched-source

sources.allow-git または sources.allow-registry で許可された取得元が見つかりませんでした。

この診断は、sources.unused-allowed-source フィールドを “allow” に設定すると出なくなります。

unmatched-organization

sources.allow-org で許可された取得元が見つかりませんでした。