match_cfg

crates.io v0.1.0

480,839 weekly downloads · 0 Dependencies

No release in 2+ yearsZero dependenciesSingle release

Source data as of:

Summary

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

Install cargo add match_cfg

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 480,839 Source: crates.io (Rust)
Releases 1 Last release: 2019-04-02 Source: crates.io (Rust)
Dependencies 0 Source: crates.io (Rust)

Description

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

Registry-supplied description, cleaned to plain text. Source: crates.io (Rust).

Show original (raw) description
A convenience macro to ergonomically define an item depending on a large number
of `#[cfg]` parameters. Structured like match statement, the first matching
branch is the item that gets emitted.

Package details

Package
match_cfg
Registry
crates.io
Version
0.1.0
Weekly downloads
480,839 (weekly)
Dependencies
0
Releases
1
Last release
2019-04-02
First published
2019-04-02
Homepage
https://github.com/gnzlbg/match_cfg
Repository
https://github.com/gnzlbg/match_cfg

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 0.7 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 11.6 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 56.2 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources