cfg-if

crates.io v1.0.4

12,994,215 weekly downloads · 1 依存数

出典データ取得時点:

概要

A macro to ergonomically define an item depending on a large number of [cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted.

インストール cargo add cfg-if

レジストリの値

公式レジストリの値を、各値ごとに出典を明記してそのまま再掲しています。

週間DL数 12,994,215 出典: crates.io (Rust)
リリース数 16 最終リリース: 2025-10-15 出典: crates.io (Rust)
依存数 1 出典: crates.io (Rust)

説明

A macro to ergonomically define an item depending on a large number of [cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted.

レジストリ提供の説明をプレーンテキストに整形したものです。出典: crates.io (Rust)。

元の説明文(未整形)を表示
A macro to ergonomically define an item depending on a large number of #[cfg]
parameters. Structured like an if-else chain, the first matching branch is the
item that gets emitted.

パッケージ詳細

パッケージ
cfg-if
レジストリ
crates.io
バージョン
1.0.4
週間DL数
12,994,215 (weekly)
依存数
1: rustc-std-workspace-core
リリース数
16
最終リリース
2025-10-15
初回公開
2015-07-08
リポジトリ
https://github.com/rust-lang/cfg-if

「—」が表示される理由: 「—」は、そのパッケージについて出典レジストリが値を公開していないことを意味します。Quantetaは推測値を埋めません。欠損は空欄のままにしています。

派生指標(算出方法を公開)

以下のレジストリの値からQuantetaが算出した指数です。測定値ではなく派生指標です。算出式は「データと出典」ページに掲載しています。

Q-Vitality Quanteta 55.9 / 100 メンテナンス活発度の指数(リリース頻度+DL水準)。
Q-Trust Quanteta 25.0 / 100 普及・安定度の指数(コミュニティ規模+DL安定性+経過年数)。
Q-Risk Quanteta 36.0 / 100 依存表面の指数。高いほどリスク要因が多い。

データと出典