releases.shpreview

Rust target/ directory now ignored by default

@vercel/client@18.1.0

July 16, 2026Vercel CLIView original ↗
1 feature1 fixThis release1 featureNew capabilities1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗

Minor Changes

  • e4866e9: Skip the Rust target/ directory by default for Rust projects.

    Rust projects produce a target/ directory of build artifacts that can be hundreds of MB. It's rebuilt on Vercel during the deployment (and cached server-side), so uploading it only slows deployments down. When a root Cargo.toml is detected, target/ is now ignored by default during vercel deploy and vercel dev. Users can opt back in with !/target in their .vercelignore.

    Also hardened the local file scanner used by vercel dev so that a directory removed mid-scan (a common race with cargo build churning target/) is skipped instead of crashing the process.

Patch Changes

  • Updated dependencies [238543c]
    • @vercel/build-utils@13.34.0

Fetched July 16, 2026

Rust target/ directory now ignored by default… — releases.sh