https://github.com/rust-lang/cfg-if
Score: 31.14108450288752
Last synced: about 20 hours ago
JSON representation
Repository metadata:
A if/elif-like macro for Rust #[cfg] statements
- Host: GitHub
- URL: https://github.com/rust-lang/cfg-if
- Owner: rust-lang
- License: apache-2.0
- Created: 2015-07-08T01:07:40.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2026-06-22T21:17:18.000Z (2 months ago)
- Last Synced: 2026-08-10T16:03:19.096Z (17 days ago)
- Language: Rust
- Size: 807 KB
- Stars: 642
- Watchers: 10
- Forks: 50
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Owner metadata:
- Name: The Rust Programming Language
- Login: rust-lang
- Email: contact@rust-lang.org
- Kind: organization
- Description:
- Website: https://www.rust-lang.org
- Location: United States of America
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/5430905?v=4
- Repositories: 247
- Last Synced at: 2026-08-23T01:20:48.458Z
- Profile URL: https://github.com/rust-lang
GitHub Events
Total
- Create event: 7
- Delete event: 6
- Fork event: 7
- Issue comment event: 6
- Issues event: 2
- Pull request event: 18
- Pull request review event: 4
- Push event: 23
- Release event: 4
- Watch event: 57
- Total: 134
Last Year
- Create event: 2
- Delete event: 4
- Fork event: 3
- Issue comment event: 2
- Issues event: 1
- Pull request event: 6
- Pull request review event: 3
- Push event: 10
- Release event: 1
- Watch event: 10
- Total: 42
Committers metadata
Last synced: 7 days ago
Total Commits: 102
Total Committers: 21
Avg Commits per committer: 4.857
Development Distribution Score (DDS): 0.578
Commits in past year: 7
Committers in past year: 5
Avg Commits per committer in past year: 1.4
Development Distribution Score (DDS) in past year: 0.714
| Name | Commits | |
|---|---|---|
| Alex Crichton | a****x@a****m | 43 |
| dependabot[bot] | 4****] | 13 |
| Trevor Gross | t****s@u****u | 9 |
| Lokathor | z****a@g****m | 4 |
| Nicholas Nethercote | n****e@g****m | 4 |
| Yuki Okushi | j****r@2****g | 4 |
| github-actions[bot] | 4****] | 4 |
| Alex Touchet | a****t@o****m | 3 |
| Joyce | j****m@g****m | 3 |
| Guillaume Gomez | g****z@g****m | 3 |
| Dave Hylands | d****s@g****m | 2 |
| hyd-dev | y****g@o****m | 1 |
| Billy Rieger | w****r@p****m | 1 |
| Cameron Steffen | c****4@g****m | 1 |
| Clar Charr | c****r@c****z | 1 |
| Jules Bertholet | j****t@g****m | 1 |
| Martin Geisler | m****n@g****t | 1 |
| Michael Morgan | m****l@m****m | 1 |
| Tobias Stoeckmann | t****s@s****g | 1 |
| dependabot-preview[bot] | 2****] | 1 |
| nasso | n****s@g****m | 1 |
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 38
Total pull requests: 70
Average time to close issues: 4 months
Average time to close pull requests: 21 days
Total issue authors: 36
Total pull request authors: 27
Average comments per issue: 2.84
Average comments per pull request: 1.14
Merged pull request: 44
Bot issues: 0
Bot pull requests: 29
Past year issues: 0
Past year pull requests: 5
Past year average time to close issues: N/A
Past year average time to close pull requests: 9 days
Past year issue authors: 0
Past year pull request authors: 4
Past year average comments per issue: 0
Past year average comments per pull request: 0.8
Past year merged pull request: 3
Past year bot issues: 0
Past year bot pull requests: 3
Top Issue Authors
- Lokathor (2)
- joycebrum (2)
- alphaville (1)
- atouchet (1)
- Kein (1)
- kvark (1)
- Susurrus (1)
- CuriouslyCurious (1)
- ignatenkobrain (1)
- naturallymitchell (1)
- Havegum (1)
- stevedonovan (1)
- JonSeverinsson (1)
- pickfire (1)
- coolreader18 (1)
Top Pull Request Authors
- dependabot[bot] (23)
- github-actions[bot] (5)
- nnethercote (5)
- GuillaumeGomez (5)
- tgross35 (4)
- atouchet (3)
- gnzlbg (2)
- joycebrum (2)
- JohnTitor (2)
- Lokathor (2)
- dependabot-preview[bot] (1)
- ghost (1)
- goffrie (1)
- Jules-Bertholet (1)
- somehowchris (1)
Top Issue Labels
Top Pull Request Labels
- dependencies (24)
- github_actions (23)
Package metadata
- Total packages: 2
-
Total downloads:
- cargo: 1,345,270,290 total
- Total docker downloads: 1,112,757,723
- Total dependent packages: 1,962 (may contain duplicates)
- Total dependent repositories: 109,858 (may contain duplicates)
- Total versions: 20
- Total maintainers: 1
crates.io: cfg-if
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.
- Homepage:
- Documentation: https://docs.rs/cfg-if/
- Licenses: MIT OR Apache-2.0
- Latest release: 1.0.4 (published 11 months ago)
- Last Synced: 2026-08-25T13:06:03.787Z (2 days ago)
- Versions: 16
- Dependent Packages: 1,962
- Dependent Repositories: 109,858
- Downloads: 1,345,270,290 Total
- Docker Downloads: 1,112,757,723
-
Rankings:
- Dependent repos count: 0.001%
- Docker downloads count: 0.001%
- Downloads: 0.004%
- Dependent packages count: 0.042%
- Average: 2.752%
- Stargazers count: 7.588%
- Forks count: 8.879%
- Maintainers (1)
proxy.golang.org: github.com/rust-lang/cfg-if
- Homepage:
- Documentation: https://pkg.go.dev/github.com/rust-lang/cfg-if#section-documentation
- Licenses: apache-2.0
- Latest release: v1.0.4 (published 11 months ago)
- Last Synced: 2026-08-24T13:24:16.254Z (3 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.736%
- Average: 4.895%
- Dependent repos count: 5.054%
Dependencies
- actions/checkout 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 composite
- MarcoIeni/release-plz-action v0.5 composite
- actions/checkout v6 composite