cross VS cargo

Compare cross vs cargo and see what are their differences.

cross

“Zero setup” cross compilation and “cross testing” of Rust crates (by cross-rs)

cargo

📦 GitHub Action for Rust `cargo` command (by actions-rs)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
cross cargo
118 4
5,889 626
3.5% -
9.2 0.0
7 days ago about 1 year ago
Rust TypeScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cross

Posts with mentions or reviews of cross. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-11.

cargo

Posts with mentions or reviews of cargo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-19.
  • httm is for when you want to find your ZFS file snapshots really fast
    4 projects | /r/zfs | 19 Apr 2022
    Let GitHub build it for you? https://github.com/actions-rs/cargo
  • Alen: Simple terminal alignment viewer
    3 projects | /r/rust | 1 Jul 2021
    If you want to share binaries, it might be worthwhile to look into CI/CD building. GitHub Actions would be an easy choice. I haven't done cross-compilation for MacOS and Windows, just building static binaries with rust-musl-builder, but actions-rs/cargo seems worth a closer look and claims to support the cross project. That one would cover x86_64-unknown-linux-musl and x86_64-pc-windows-gnu, but no MacOS targets.
  • Cross Compiling Rust Binaries with Github Actions
    4 projects | /r/rust | 27 Jun 2021
    The cargo action comes with a built-in argument to use cross for you automatically as well.
  • Rust makes cross compilation child's play
    8 projects | dev.to | 5 Dec 2020
    It turns out that this is like the easiest thing in the world! The action-rs/cargo action I was already using had built-in support for cross. Now I even felt more stupid, but anyway..you just need to set the use-cross variable to true and you are done!

What are some alternatives?

When comparing cross and cargo you can also consider the following projects:

dockcross - Cross compiling toolchains in Docker images

clippy-check - 📎 GitHub Action for PR annotations with clippy warnings

termux-adb-fastboot - android adb-fastboot tools for termux

toolchain - 🛠️ GitHub Action for `rustup` commands

opencv-rust - Rust bindings for OpenCV 3 & 4

workflow-dispatch - A GitHub Action for triggering workflows, using the `workflow_dispatch` event

rusqlite - Ergonomic bindings to SQLite for Rust

cargo-install - GitHub action for cached Rust crates installation.

plotters - A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀

bottom - Yet another cross-platform graphical process/system monitor.

homebrew-macos-cross-toolchains - macOS cross compiler toolchains

delta - A syntax-highlighting pager for git, diff, and grep output