Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-10-20 19:52 UTC

twilight-rs / twilight

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

RustISC★ 885 stars⑂ 173 forkssince Sep 2019View on GitHub ↗

twilight-rs/twilight holds a health index of 93 out of 100, placing it in the Exceptional band. It scores highest on Community & Adoption (83/100) and lowest on Security (65/100). It was last updated 1 day ago. 3 contributors account for most of its recent work.

93
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.

93
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 79 is calibrated to 93 on the published index scale (record calibration 2026-08-02).

Ownership

TwilightOrganization · verified domain
38 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.17.126029311 days agodiscorddiscord-apitwilight
crates.iotwilight-http0.17.1239,35495311 days agodiscorddiscord-apitwilightasynchronousapi-bindings
crates.iotwilight-util0.17.0210,33944346 days agodiscorddiscord-apitwilight
crates.iotwilight-model0.17.1270,82094311 days agodiscorddiscord-apitwilight
crates.iotwilight-gateway0.17.157,58072311 days agodiscorddiscord-apitwilightasynchronousapi-bindings
crates.iotwilight-mention0.17.093130346 days agotwilight
crates.iotwilight-standby0.17.097142346 days agodiscorddiscord-apitwilightasynchronous
crates.iotwilight-lavalink0.15.35846972 days agodiscorddiscord-apilavalinktwilightapi-bindingsasynchronous

Metrics by category

Vitality

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

82Excellent · 21% of overall
How it's scored
36/36Push recency — last push 1 days ago
20.1/36Commit cadence — 29/52 weeks with commits
18/18Commit volume — 102 commits in the last year
10/10OpenSSF Scorecard: Maintained — 30 commit(s) and 26 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year102
human_commit_share1
days_since_last_push1
active_weeks_last_year29
How it's scored
27/27Ships releases — 100 releases published
16.2/36Release recency — latest release 311 days ago
27/27Release cadence — a release every ~37.3 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count100
latest_release_tagtwilight-0.17.1
releases_from_tagsno
days_since_latest_release311
mean_days_between_releases37.3
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?

83Excellent · 17% of overall
How it's scored
47.8/60Stars — 885 stars
18.6/25Forks — 173 forks
5.3/15Watchers — 10 watchers
Inputs used
forks173
stars885
watchers10
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_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
has_readmeyes
has_licenseyes
readme_badges0
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_services—
has_pull_request_templateno
How it's scored
78.6/80Monthly downloads — 780,313 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
dependents—
ecosystemscrates
total_downloads9,696,184
monthly_downloads780,313
unverified_packages_excluded—
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?

83Excellent · 23% of overall
How it's scored
36/54Bus factor — 3 contributor(s) cover half of all commits
15.1/22.5Commit distribution — top contributor authored 33% of commits
13.5/13.5Contributor breadth — 99 contributors
10/10OpenSSF Scorecard: Contributors — project has 52 contributing companies or organizations
Inputs used
bus_factor3
contributors_sampled99
top_contributor_share0.327
How it's scored
38.5/42Issue resolution — 92% of issues closed
27/30PR acceptance — 1,768/1,961 decided PRs merged
5.8/13Newcomer PR acceptance — 4/9 first-time contributors' PRs merged in 30d
15/15OpenSSF Scorecard: Code-Review — all changesets reviewed
Inputs used
merged_prs1,768
open_issues51
closed_issues567
prs_merged_7d20
prs_decided_7d21
prs_merged_30d29
prs_decided_30d37
issue_closed_ratio0.917
closed_unmerged_prs193
first_time_authors_30d6
first_time_prs_merged_30d4
first_time_prs_decided_30d9
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
11.4/25Owner reach — 38 followers of twilight-rs
20.1/25Track record — 12 public repos, account ~7 yr old
Inputs used
followers38
owner_typeOrganization
is_verifiedyes
owner_logintwilight-rs
public_repos12
account_age_days2,608
How it's scored
25/25Published & resolvable — 8 package(s) on crates
26/35Publish recency — latest publish 311 days ago
20/20Version history — 95 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
ecosystemscrates
any_deprecatedno
min_days_since_publish311

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 — 30 out of 30 merged PRs checked by a CI test -- score normalized to 10
Inputs used
has_ciyes
has_testsyes
has_editorconfigyes
has_linter_configyes
has_precommit_configno
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
topicsdiscord-api, discord-bot, discord, rust, twilight-rs
has_wikino
homepagehttps://discord.gg/twilight-rs
docs_sitehttps://discord.gg/twilight-rs
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

65Good · 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 — 30 out of 30 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
7.5/7.5Code-Review — all changesets reviewed
2.5/2.5Contributors — project has 52 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 26 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
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate6.5
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 — 100 of 100 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share1
agent_instruction_files—
agent_instruction_max_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
has_nixno
has_testsyes
lockfiles—
has_dockerfileno
typed_languageyes
bootstrap_files—
has_devcontainerno
has_linter_configyes
typecheck_configs—
agent_commit_share0
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
dependency_bot_commit_share0
How it's scored
45/45Type-checkable code — Rust (statically typed)
54.6/55Manageable file sizes — 5/711 source files over 60KB
Inputs used
primary_languageRust
largest_source_bytes146,552
source_files_sampled711
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
example_dirsexamples
has_mcp_signalno
api_schema_files—
interfaces_expected_of—
Excluded from scoring (no data or not applicable): API schema (OpenAPI/GraphQL/proto), MCP server. Remaining weights renormalized.

Key facts

885GitHub stars
99contributors
102commits, last 12 months
1days since last push
100releases
3bus factor
51open issues
crates.iopackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • No resolved dependencies carried a version and a supported ecosystem

More detail

Star and fork history 0 ★ / 173 ⇿
0Stars
173Forks
100Releases

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.

0408012016020016352019-102023-032026-09
Major 0Minor 0Patch 0

Each point covers 7 days.

OpenSSF Scorecard 6.5 / 10
6.5aggregate

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-10-20 19:51 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-Tests30 out of 30 merged PRs checked by a CI test -- score normalized to 10
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
10Code-Reviewall changesets reviewed
10Contributorsproject has 52 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 26 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 71
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.17.0twilight-cache-inmemory/Cargo.toml
crates.iotwilight-util0.17.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.17.0twilight-gateway/Cargo.toml
crates.iotwilight-model0.17.0twilight-gateway/Cargo.toml
crates.iotwilight-http0.17.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.17.0twilight-http/Cargo.toml
crates.iotwilight-model0.17.0twilight-http/Cargo.toml
crates.iotwilight-validate0.17.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.17.0twilight-lavalink/Cargo.toml
crates.iopercent-encoding2twilight-lavalink/Cargo.toml
crates.iotwilight-model0.17.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.iotracing0.1twilight-standby/Cargo.toml
crates.iotwilight-model0.17.0twilight-standby/Cargo.toml
crates.iotwilight-model0.17.0twilight-util/Cargo.toml
crates.iotwilight-validate0.17.0twilight-util/Cargo.toml
crates.iotwilight-model0.17.0twilight-validate/Cargo.toml
All dependencies 51

Full resolved dependency set from the GitHub dependency graph: 34 direct and 17 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—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-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.