cargo-vendor-filterer icon indicating copy to clipboard operation
cargo-vendor-filterer copied to clipboard

Tool to `cargo vendor` with filtering

Results 11 cargo-vendor-filterer issues
Sort by recently updated
recently updated
newest added

``` $ head -5 /etc/os-release 03/01/24 16:06:05 PM NAME="CentOS Stream" VERSION="9" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="9" $ rustc --version rustc 1.75.0 (82e1608df 2023-12-21) (Red Hat 1.75.0-1.el9) $ cargo-vendor-filterer Gathering metadata Skipping...

enhancement
good first issue
triaged

Currently, some Rust wrappers of C libraries provide an embedded tarball to build the C library in platforms like Windows. An obvious and known example is gettext-rs. The gettext-sys package...

documentation
enhancement
triaged

Running cargo vendor-filterer fails when config.toml is already configured with crates.io source replacements: ``` $ cargo vendor-filterer error: Executing cargo metadata (first run): Error during execution of `cargo metadata`: error:...

good first issue
triaged

Most of the time, we don't need to include the tests in the vendor tarball. As a workaround, you can use `exclude-crate-paths` to filter those paths from the crates. Example...

enhancement

Currently `cargo-vendor-filterer` filters only down to Tier 2 with host tools: https://github.com/coreos/cargo-vendor-filterer/blob/777cf0c0bda73531f06b2443b1664546db159c5f/src/tiers.rs#L17-L38 Would it be possible to extend the list or introduce some new `--tier` value to include Tier 2...

enhancement

I was trying to use the `--exclude-crate-path` option, via trial and error: ``` $ cargo vendor-filterer --platform=x86_64-unknown-linux-gnu --exclude-crate-path 'unwanted_path' error: Missing '#' in crate exclude ``` ...And my reaction, as...

(Original issue below; this text written by @cgwalters ) Today some crates like `rustix` end up dynamically enabling features and dependencies via `build.rs`, and these are missed by us because...

triaged

The `tar` compression flags invoke `gzip` and `zstd` with their default compression levels, which are not especially tight. Since we're creating long-term archives, we should probably compress as tightly as...

enhancement
good first issue
triaged

i am not sure if this is the goal of the project as well. but i can't seem to do `cargo vendor-filterer --locked # or --frozen`. this is needed when...

I want to exclude `src/smoke.c` from `libz-sys` specifically, as part of a larger goal of supporting filtering out `.c` files for example.