Copy crate name, version with feature flags?
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 232
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 60
Description
In docs.rs, we can copy a crate's name and version to be pasted into Cargo.toml. Is there any way to include feature flags into this?
tower-http = "0.5.1" -> tower-http = { version = "0.5.1", features = ["trace"] }
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the docs.rs crate page and its existing name/version copy control, then trace how the Cargo.toml snippet is assembled. Done means the copied dependency declaration can represent the selected feature flags in the requested format.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100