axodotdev / axodotdev/cargo-dist

Artifact renaming

Open
#2,428 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.