Skip to content

docs: Normalize feature handling for docs.rs#153

Merged
geeknoid merged 1 commit intomainfrom
docsrs
Dec 19, 2025
Merged

docs: Normalize feature handling for docs.rs#153
geeknoid merged 1 commit intomainfrom
docsrs

Conversation

@geeknoid
Copy link
Member

  • All crates now have the same docs.rs metadata so we get consistent behavior in our sources.

  • Remove all #[cfg_attr(docsrs, doc(cfg(...)))] attributes from the codebase as they are no longer needed given I've turned on doc_auto_cfg which has the same effect, without needing manual annotations.

  • Rename the scripts/repo-template folder to scripts/crate-template and update the internal references accordingly.

  • Update the crate-template README.md and lib.rs to reflect needed modern defaults.

@codecov
Copy link

codecov bot commented Dec 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (599c5f7) to head (08db899).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #153   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files          84       84           
  Lines        7575     7575           
=======================================
  Hits         7575     7575           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@geeknoid geeknoid force-pushed the docsrs branch 4 times, most recently from a9d1170 to da2144b Compare December 18, 2025 00:18
@geeknoid geeknoid enabled auto-merge (squash) December 18, 2025 00:20
- All crates now have the same docs.rs metadata so we get
consistent behavior in our sources.

- Remove all `#[cfg_attr(docsrs, doc(cfg(...)))]` attributes
  from the codebase as they are no longer needed given
  I've turned on doc_auto_cfg which has the same effect,
  without needing manual annotations.

- Rename the scripts/repo-template folder to scripts/crate-template
  and update the internal references accordingly.

- Update the crate-template README.md and lib.rs
to reflect needed modern defaults.
@geeknoid geeknoid merged commit a5785e1 into main Dec 19, 2025
21 checks passed
@geeknoid geeknoid deleted the docsrs branch December 19, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants