axodotdev / axodotdev/cargo-dist

Allow to "include" files not below the folder where Cargo.toml resides.

Open
#194 1 comment 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

My project builds a number of cross-platfrom wasm files I would like to distribute with my package (each target will have a native, target specific runtime to run them).

They get built into out_dir or target by rustc.

I would like to include them via a glob rooted outside package root (e.g. ../target/..)

Others may want to include something from another folder, including os folders etc?

Contributor guide

Open the contributing guide

Research direction

Start by tracing how cargo-dist resolves and includes glob paths relative to the Cargo.toml directory. Check the existing packaging tests or entry points that handle included files, then define coverage for paths outside the package root. Done means valid external paths can be included without breaking existing package behavior.

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
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.