6
Part 4 of RFC2906 - Add support for inheriting `readme` by Muscraft · Pull Reque...
source link: https://github.com/rust-lang/cargo/pull/10548
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Tracking issue: #8415
RFC: rust-lang/rfcs#2906
This PR focuses on adding support for inheriting readme
:
- Added adjusting of a
readme
path when it is outside of thepackage_root
- Copied from
license-file
's implementation intoml::prepare_for_publish()
- Copied from
- Added copying of a
readme
file when it is outside of thepackage_root
for publishing- Copied from
license-file
's implementation incargo_package::build_ar_list()
- Copied from
- Merged copying of a file outside of a
package_root
to reduce duplicated code and allow for other files in the future to be copied in a similar way
Remaining implementation work for the RFC
- Path dependencies infer version directive
- Lock workspace dependencies and warn when unused
- Optimizations, as needed
- Evaluate any new fields for being inheritable (e.g.
rust-version
)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK