Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-12-01 12:54 UTC

twilight-rs / twilight

Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.

RustISC★ 892 stars⑂ 174 forkssince Sep 2019View on GitHub ↗

twilight-rs/twilight holds a health index of 95 out of 100, placing it in the Exceptional band. It scores highest on Vitality (92/100) and lowest on Security (64/100). It was last updated today. 3 contributors account for most of its recent work.

95
overall / 100
Exceptional

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

95
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 82 is calibrated to 95 on the published index scale (record calibration 2026-08-02).

Ownership

TwilightOrganization · verified domain
39 followers12 public repossince Aug 2019

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
crates.iotwilight0.18.02783029 days agodiscorddiscord-apitwilight
crates.iotwilight-http0.18.0559,6049629 days agodiscorddiscord-apitwilightapi-bindingsasynchronous
crates.iotwilight-util0.18.0506,4834529 days agodiscorddiscord-apitwilight
crates.iotwilight-model0.18.0597,0019529 days agodiscorddiscord-apitwilight
crates.iotwilight-gateway0.18.094,1437329 days agodiscorddiscord-apitwilightapi-bindingsasynchronous
crates.iotwilight-mention0.18.01,1053129 days agotwilight
crates.iotwilight-standby0.18.01,0484329 days agodiscorddiscord-apitwilightasynchronous
crates.iotwilight-lavalink0.18.0824729 days agodiscorddiscord-apilavalinktwilightapi-bindingsasynchronous

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

92Excellent · 21% of overall
How it's scored
36/36Push recency — last push 0 days ago
21.5/36Commit cadence — 31/52 weeks with commits
18/18Commit volume — 108 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
Inputs used
Commits in the last year108
Share of human-authored commits1
Days since last push0
Weeks with commits in the last year31

Release discipline

100Exceptional
How it's scored
27/27Ships releases — 100 releases published
36/36Release recency — latest release 29 days ago
27/27Release cadence — a release every ~0 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases100
Latest release tagtwilight-0.18.0
Releases derived from version tagsno
Days since latest release29
Mean days between releases0
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

84Excellent · 17% of overall
How it's scored
47.9/60Stars — 892 stars
18.7/25Forks — 174 forks
5.3/15Watchers — 10 watchers
Inputs used
Forks174
Stars892
Watchers10
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

85Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (ISC)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the README—
Pull request template presentno
How it's scored
80/80Monthly downloads — 1,759,744 downloads/month across crates
0/20Registry dependents — not reported by this ecosystem
Inputs used
Packagestwilight, twilight-http, twilight-util, twilight-model, twilight-gateway, twilight-mention, twilight-standby, twilight-lavalink
Registry dependents—
Package ecosystemscrates
Total downloads13,477,811
Monthly downloads1,759,744
Packages excluded as unverified—
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

86Excellent · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
15.2/22.5Commit distribution — top contributor authored 32% of commits
13.5/13.5Contributor breadth — 99 contributors
10/10OpenSSF Scorecard: Contributors — project has 53 contributing companies or organizations
Inputs used
Bus factor3
Contributors sampled99
Share of commits by the top contributor0.323
How it's scored
38.7/42Issue resolution — 92% of issues closed
27.1/30PR acceptance — 1,785/1,979 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
13.5/15OpenSSF Scorecard: Code-Review — Found 28/30 approved changesets -- score normalized to 9
Inputs used
Merged pull requests1,785
Open issues49
Closed issues573
Pull requests merged in the last 7 days2
Pull requests decided in the last 7 days3
Pull requests merged in the last 30 days11
Pull requests decided in the last 30 days12
Share of issues closed0.921
Pull requests closed without merging194
First-time contributors with a pull request decided in the last 30 days0
Pull requests from first-time contributors merged in the last 30 days0
Pull requests from first-time contributors decided in the last 30 days0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
11.5/25Owner reach — 39 followers of twilight-rs
20.1/25Track record — 12 public repos, account ~7 yr old
Inputs used
Followers39
Owner account typeOrganization
Verified domainyes
Owner accounttwilight-rs
Public repositories12
Owner account age in days2,649

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 8 package(s) on crates
35/35Publish recency — latest publish 29 days ago
20/20Version history — 96 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagestwilight, twilight-http, twilight-util, twilight-model, twilight-gateway, twilight-mention, twilight-standby, twilight-lavalink
Package ecosystemscrates
Any package deprecated or yankedno
Days since latest package publish29

Engineering Quality

Are baseline engineering and documentation practices in place?

80Excellent · 19% of overall
How it's scored
24/24CI workflows — 5 workflow(s)
24/24Tests present
16/16Linter config — .rustfmt.toml, clippy.toml
0/9.6Pre-commit hooks
6.4/6.4.editorconfig
20/20OpenSSF Scorecard: CI-Tests — 28 out of 28 merged PRs checked by a CI test -- score normalized to 10
Inputs used
CI workflows presentyes
Tests presentyes
.editorconfig presentyes
Linter config presentyes
Pre-commit config presentno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage site — https://discord.gg/twilight-rs
10/10Repository description
10/10Topics — 5 topics
0/10Wiki
Inputs used
Repository topicsdiscord-api, discord-bot, discord, rust, twilight-rs
Wiki enabledno
Repository homepagehttps://discord.gg/twilight-rs
Documentation sitehttps://discord.gg/twilight-rs
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

64Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — no data
2.5/2.5CI-Tests — 28 out of 28 merged PRs checked by a CI test -- score normalized to 10
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
6.8/7.5Code-Review — Found 28/30 approved changesets -- score normalized to 9
2.5/2.5Contributors — project has 53 contributing companies or organizations
10/10Dangerous-Workflow — no dangerous workflow patterns detected
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
7.5/7.5Maintained — 30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
0/5Packaging — no data
0/5Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
0/5SAST — SAST tool is not run on all commits -- score normalized to 0
0/5Security-Policy — security policy file not detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — detected GitHub workflow tokens with excessive permissions
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated15
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive3
OpenSSF Scorecard aggregate score6.4
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

67Good · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
40/40Legible commit history — 99 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.99
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
12.6/18One-command bootstrap — Cargo.toml, examples/Cargo.toml, twilight-cache-inmemory/Cargo.toml (toolchain convention, no task runner)
22/22Automated tests
11/11Lint / format config — .rustfmt.toml, clippy.toml
11/11Static type checking — Rust (statically typed)
0/10Reproducible environment
0/10Demonstrated agent practice — no agent-authored commits among the last 100
5/8Automated maintenance — dependency automation configured, none observed in the sampled commits
0/10OpenSSF Scorecard: Pinned-Dependencies — dependency not pinned by hash detected -- score normalized to 0
Inputs used
Nix config presentno
Tests presentyes
Dependency lockfiles—
Dockerfile presentno
Primary language statically typedyes
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0
Toolchain manifestsCargo.toml, examples/Cargo.toml, twilight-cache-inmemory/Cargo.toml, twilight-gateway-queue/Cargo.toml, twilight-gateway/Cargo.toml, twilight-http-ratelimiting/Cargo.toml, twilight-http/Cargo.toml, twilight-lavalink/Cargo.toml, twilight-mention/Cargo.toml, twilight-model/Cargo.toml, twilight-standby/Cargo.toml, twilight-util/Cargo.toml, twilight-validate/Cargo.toml, twilight/Cargo.toml
Share of commits that are automated dependency updates0
How it's scored
45/45Type-checkable code — Rust (statically typed)
54.6/55Manageable file sizes — 5/720 source files over 60KB
Inputs used
Primary languageRust
Size of the largest source file (bytes)164,158
Source files sampled720
Oversized source files5
How it's scored
0/40API schema (OpenAPI/GraphQL/proto) — not applicable to this kind of software
0/20MCP server — not applicable to this kind of software
40/40Runnable examples — examples
Inputs used
Runnable example directoriesexamples
MCP server signal presentno
API schema files—
Software kinds for which an interface is expected—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

892GitHub stars
99contributors
108commits, last 12 months
0days since last push
100releases
3bus factor
49open issues
crates.iopackage ecosystems

Data collection warnings

  • Star history unavailable
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 174 ⇿
0Stars
174Forks
88Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

0408012016020016452019-102023-042026-10
Major 0Minor 0Patch 0

Each point covers 7 days.

OpenSSF Scorecard 6.4 / 10
6.4aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-12-01 12:54 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
10CI-Tests28 out of 28 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
9Code-ReviewFound 28/30 approved changesets -- score normalized to 9
10Contributorsproject has 53 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained30 commit(s) and 25 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 69
RegistryPackageVersion constraintManifest
crates.iobitflags2twilight-cache-inmemory/Cargo.toml
crates.iodashmap>= 5.3, < 7twilight-cache-inmemory/Cargo.toml
crates.ioserde1twilight-cache-inmemory/Cargo.toml
crates.iotwilight-model0.18.0twilight-cache-inmemory/Cargo.toml
crates.iotwilight-util0.18.0twilight-cache-inmemory/Cargo.toml
crates.iotokio1.15twilight-gateway-queue/Cargo.toml
crates.iotracing0.1twilight-gateway-queue/Cargo.toml
crates.iobitflags2twilight-gateway/Cargo.toml
crates.iofastrand2twilight-gateway/Cargo.toml
crates.iofutures-core0.3twilight-gateway/Cargo.toml
crates.iofutures-sink0.3twilight-gateway/Cargo.toml
crates.ioserde1twilight-gateway/Cargo.toml
crates.ioserde_json1twilight-gateway/Cargo.toml
crates.iotokio1.19twilight-gateway/Cargo.toml
crates.iotokio-websockets0.13twilight-gateway/Cargo.toml
crates.iotracing0.1twilight-gateway/Cargo.toml
crates.iotwilight-gateway-queue0.18.0twilight-gateway/Cargo.toml
crates.iotwilight-model0.18.0twilight-gateway/Cargo.toml
crates.iosimd-json0.17twilight-gateway/Cargo.toml
crates.iozstd-safe7.2.1twilight-gateway/Cargo.toml
crates.iohashbrown0.16twilight-http-ratelimiting/Cargo.toml
crates.iotokio1.29twilight-http-ratelimiting/Cargo.toml
crates.iotokio-util0.7.11twilight-http-ratelimiting/Cargo.toml
crates.iotracing0.1.23twilight-http-ratelimiting/Cargo.toml
crates.iofastrand2twilight-http/Cargo.toml
crates.iohttp1twilight-http/Cargo.toml
crates.iohttp-body-util0.1twilight-http/Cargo.toml
crates.iohyper1twilight-http/Cargo.toml
crates.iohyper-util0.1.2twilight-http/Cargo.toml
crates.iohyper-rustls0.27.7twilight-http/Cargo.toml
crates.iohyper-tls0.6twilight-http/Cargo.toml
crates.iohyper-hickory0.8twilight-http/Cargo.toml
crates.iopercent-encoding2twilight-http/Cargo.toml
crates.iorustls0.23twilight-http/Cargo.toml
crates.ioserde1twilight-http/Cargo.toml
crates.ioserde_json1twilight-http/Cargo.toml
crates.iotokio1.0twilight-http/Cargo.toml
crates.iotracing0.1.36twilight-http/Cargo.toml
crates.iotwilight-http-ratelimiting0.18.0twilight-http/Cargo.toml
crates.iotwilight-model0.18.0twilight-http/Cargo.toml
crates.iotwilight-validate0.18.0twilight-http/Cargo.toml
crates.iobrotli-decompressor5twilight-http/Cargo.toml
crates.iosimd-json0.17twilight-http/Cargo.toml
crates.iodashmap>= 5.3, < 7twilight-lavalink/Cargo.toml
crates.iofutures-util0.3twilight-lavalink/Cargo.toml
crates.iohttp1twilight-lavalink/Cargo.toml
crates.iohyper1twilight-lavalink/Cargo.toml
crates.iohyper-util0.1twilight-lavalink/Cargo.toml
crates.iohttp-body-util0.1twilight-lavalink/Cargo.toml
crates.ioserde1twilight-lavalink/Cargo.toml
crates.ioserde_json1twilight-lavalink/Cargo.toml
crates.iotokio1.0twilight-lavalink/Cargo.toml
crates.iotokio-websockets0.13twilight-lavalink/Cargo.toml
crates.iotracing0.1twilight-lavalink/Cargo.toml
crates.iotwilight-model0.18.0twilight-lavalink/Cargo.toml
crates.iopercent-encoding2twilight-lavalink/Cargo.toml
crates.iotwilight-model0.18.0twilight-mention/Cargo.toml
crates.iobitflags2twilight-model/Cargo.toml
crates.ioserde1.0.103twilight-model/Cargo.toml
crates.ioserde-value0.7twilight-model/Cargo.toml
crates.ioserde_repr0.1.5twilight-model/Cargo.toml
crates.iotime0.3twilight-model/Cargo.toml
crates.iodashmap>= 5.3, < 7twilight-standby/Cargo.toml
crates.iofutures-core0.3twilight-standby/Cargo.toml
crates.iotokio1.0twilight-standby/Cargo.toml
crates.iotwilight-model0.18.0twilight-standby/Cargo.toml
crates.iotwilight-model0.18.0twilight-util/Cargo.toml
crates.iotwilight-validate0.18.0twilight-util/Cargo.toml
crates.iotwilight-model0.18.0twilight-validate/Cargo.toml
All dependencies 51

Full resolved dependency set from the GitHub dependency graph: 33 direct and 18 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
crates.iobitflags—direct
crates.iobrotli-decompressor—direct
crates.iodashmap—direct
crates.iofastrand—direct
crates.iofutures-core—direct
crates.iofutures-sink—direct
crates.iofutures-util—direct
crates.iohashbrown—direct
crates.iohttp—direct
crates.iohttp-body-util—direct
crates.iohyper—direct
crates.iohyper-hickory—direct
crates.iohyper-rustls—direct
crates.iohyper-tls—direct
crates.iohyper-util—direct
crates.iopercent-encoding—direct
crates.iorustls—direct
crates.ioserde—direct
crates.ioserde-value—direct
crates.ioserde_json—direct
crates.ioserde_repr—direct
crates.iosimd-json—direct
crates.iotime—direct
crates.iotokio—direct
crates.iotokio-util—direct
crates.iotokio-websockets—direct
crates.iotracing—direct
crates.iotwilight-gateway-queue—direct
crates.iotwilight-http-ratelimiting—direct
crates.iotwilight-model—direct
crates.iotwilight-util—direct
crates.iotwilight-validate—direct
crates.iozstd-safe—direct
crates.ioanyhow—indirect
crates.iochrono—indirect
crates.iocriterion—indirect
crates.ioed25519-dalek—indirect
crates.ioflate2—indirect
crates.iohex—indirect
crates.iolog—indirect
crates.ioonce_cell—indirect
crates.ioserde_test—indirect
crates.iostatic_assertions—indirect
crates.iotokio-stream—indirect
crates.iotracing-subscriber—indirect
crates.iotwilight-cache-inmemory—indirect
crates.iotwilight-gateway—indirect
crates.iotwilight-http—indirect
crates.iotwilight-lavalink—indirect
crates.iotwilight-mention—indirect
crates.iotwilight-standby—indirect
Dependency advisories not assessed

Advisory matching could not run for this report: No resolved dependencies carried a version and a supported ecosystem

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — crates.io.