axodotdev / axodotdev/cargo-dist
Request for a way to override the package name
Open
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
At present, it appears that cargo-dist does not provide a way to override the package.name property in Cargo.toml.
Here's one idea for implementing this:
```toml
[workspace.metadata.dist.override]
name = "..."
```
I think this method could also be applied to properties other than name.
Contributor guide
Research direction
Start with Cargo.toml and the code that reads workspace metadata; trace where package.name is consumed. Confirm the desired override semantics for name and whether other properties are in scope, then add coverage showing the proposed metadata setting changes the resulting package name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- release
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100