axodotdev / axodotdev/cargo-dist
Artifact renaming
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
I'd like to be able to rename artifacts. In particular, my Rust project currently has:
- A library crate (which uses cargo-capi to build an FFI cdylib) called "project"
- A CLI crate called "project-cli"
Because the library crate name is what other Rust crates can use, it has the short name that I want the CLI archive to have. On the other hand, I'd like to rename the FFI dylib archive to "project-ffi". It doesn't look like there's a simple way to achieve this today?
Contributor guide
Research direction
Start by tracing how cargo-dist derives artifact names for the library and CLI crates, using the cargo-capi-built FFI cdylib as the motivating case. Determine how independent names for the CLI archive and FFI dylib should be configured, then verify that generated artifacts use the requested names for both crates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100