Repository navigation
chore: update rd-ast/rd-source to 0.3.1 without default features - #69
Merged
Merged
Conversation
r-documentation-rs 0.3.1 reworks how the compression codec features are forwarded to rd-rds, so downstream crates can now opt out of the xz codec and the dynamic liblzma link it brings with it. rd2qmd only needs rd-ast's `serde` feature and uses none of rd-rds, rd-writer or rd-helpdb, so declare the dependency with default-features = false to keep the codec chain permanently out of the graph. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update
rd-ast/rd-sourcefrom0.1.0to0.3.1, and declarerd-astwithdefault-features = false.Why
r-documentation-rs 0.3.1 reworked
how the compression codec features are forwarded to
rd-rds. Before that release,rd-astandrd-helpdbdepended onrd-rdswith default features always on, soCargo's feature unification made it impossible for downstream crates to escape the
xzcodec — which linksliblzmadynamically and breaks binaries on macOS(see eitsupi/arf#302).
rd2qmdneeds onlyrd-ast'sserdefeature and uses none ofrd-rds,rd-writer, orrd-helpdb. Declaring the dependency withdefault-features = falsestates that explicitly and keeps the codec chain permanently out of the graph,
independent of how upstream defines its defaults in the future.
Notes
rd-astandrd-sourcehad no breaking public API changes between
0.1.0and0.3.1; the breaking changein
0.3.0was confined tord-writer, which this project does not depend on.0.2.0parser fixes (raw strings, backslash-newline escapes) did not alter anyexisting fixture output.
xz2,lzma-sys,rd-rds,rd-helpdb, andrd-writerare allabsent from the dependency graph, including under
--all-features.Cargo.lockdiff is limited to the two upgraded packages.🤖 Generated with Claude Code