Skip to content

feat: upgrade legible to 0.5.0 and remove htmd dependency - #939

Merged
ryanfowler merged 1 commit into
mainfrom
feat/legible-0.5-drop-htmd
Aug 5, 2026
Merged

feat: upgrade legible to 0.5.0 and remove htmd dependency#939
ryanfowler merged 1 commit into
mainfrom
feat/legible-0.5-drop-htmd

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Legible 0.5.0 adds a markdown_content field to Article, providing CommonMark output directly. This lets us remove the htmd dependency that was used solely for HTML-to-Markdown conversion.

Changes

  • Bump legible from 0.4.3 to 0.5.0
  • Remove htmd dependency and its 15 transitive dependencies
  • Replace htmd::convert(&article.content) with &article.markdown_content
  • Add markdown_content field to test struct literal
  • Update docs to reflect the simplified pipeline

Validation

  • cargo fmt — clean
  • cargo clippy --locked --all-targets --all-features -- -D warnings — clean
  • cargo test --locked --all-features --lib --bins — 909 passed, 1 pre-existing flaky QUIC timing test unrelated

Legible 0.5.0 adds a markdown_content field to Article, providing
CommonMark output directly. This lets us remove the htmd dependency
that was used solely for HTML-to-Markdown conversion.

Also updates documentation references to reflect the simplified pipeline.
@ryanfowler
ryanfowler merged commit 867d5f0 into main Aug 5, 2026
4 checks passed
@ryanfowler
ryanfowler deleted the feat/legible-0.5-drop-htmd branch August 5, 2026 20:48
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.

1 participant