rust-cross VS just

Compare rust-cross vs just and see what are their differences.

rust-cross

Everything you need to know about cross compiling Rust programs! (by japaric)

just

🤖 Just a command runner (by casey)
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
rust-cross just
5 176
2,497 20,036
- -
0.0 9.5
about 2 years ago 7 days ago
Shell Rust
Apache License 2.0 Creative Commons Zero v1.0 Universal
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.

rust-cross

Posts with mentions or reviews of rust-cross. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-01.
  • Anything C can do Rust can do Better
    58 projects | dev.to | 1 Dec 2022
    rust-cross, Everything you need to know about cross compiling Rust programs! - Jorge Aparicio
  • GitHub Actions can't find built binaries to put them to a release
    4 projects | /r/github | 14 Sep 2022
    on: push: tags: - 'v*' name: Cross-compile and release jobs: build: name: Build runs-on: ubuntu-latest strategy: matrix: target: # https://github.com/japaric/rust-cross#the-target-triple - x86_64-unknown-linux-gnu - x86_64-pc-windows-gnu - wasm32-unknown-emscripten steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: stable target: ${{ matrix.target }} override: true - uses: actions-rs/cargo@v1 with: use-cross: true command: build args: --release --target=${{ matrix.target }} release: name: Release needs: [ build ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: clean: false - uses: nowsprinting/check-version-format-action@v3 id: version with: prefix: 'v' - name: Create release id: new_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} body: | Changes in this release: - First change - Second change draft: false prerelease: false - name: Upload 64-bit Windows build uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_path: target/release/client.exe asset_name: client-${{ matrix.target }}-${{ steps.version.outputs.full }}.exe asset_content_type: application/zip upload_url: ${{ steps.new_release.outputs.upload_url }} - name: Upload 64-bit Linux build uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_path: target/release/client asset_name: client-${{ matrix.target }}-${{ steps.version.outputs.full }} asset_content_type: application/zip upload_url: ${{ steps.new_release.outputs.upload_url }} - name: Upload 32-bit WebAssembly build uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: asset_path: target/release/client.wasm asset_name: client-${{ matrix.target }}-${{ steps.version.outputs.full }}.wasm asset_content_type: application/zip upload_url: ${{ steps.new_release.outputs.upload_url }}
  • In support of single binary executable packages
    10 projects | news.ycombinator.com | 2 Mar 2022
    Well, at least that's that easy if what you try to compile don't have C dependencies. For C dependencies, there is cross <https://github.com/japaric/rust-cross> which I had good experiences with.
  • Hey Rustaceans! Got an easy question? Ask here (15/2021)!
    20 projects | /r/rust | 12 Apr 2021
    Oh, this was the first thing that came up: https://github.com/japaric/rust-cross

just

Posts with mentions or reviews of just. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-15.
  • Plain Text Accounting (PTA)
    6 projects | news.ycombinator.com | 15 Sep 2024
    > If I had to submit one tip it would be to set everything up with a Makefile or similar.

    If I had to submit a tip on top of yours, it's to use justfiles instead of Makefiles :-)

    https://github.com/casey/just

  • Makefiles for Web Work (2022)
    6 projects | news.ycombinator.com | 24 Aug 2024
    If you’re going to use make, use just instead:

    https://github.com/casey/just

  • Slime mold simulation in Rust using WASM and WebGPU
    3 projects | news.ycombinator.com | 22 Aug 2024
    I was curious to see this simulation running but there does not seem to be a running demo.

    I don't know if this is your creation or not, but I would really recommend having a running demo before publicizing work. It is a sad reality in software that, no matter how much time and artistry is placed into a work, it needs to be rapidly consumable for it to be properly shared.

    Speaking for myself, I have a backlog of at least 50 projects, with at least 5 I jump around actively, while learning foreign languages, hiking, and living life. As much as I want to see a slime mold simulation, if it doesn't run when I check the repo with a demo link that functions on my phone, my curiosity will have to end there.

    5 minute later: alright so my curiosity didn't end. It looks like the project is using 'just' for command running (for those unfamiliar, https://github.com/casey/just). It isn't my preferred way to do things but you probably have it already like I do.

    20 minutes later: alright so after cloning the repo and running "just demo 512x512" (it needs a resolution), it doesn't run. It uses assert statements so the application crashes when it fails assertions. We are in trouble because it doesn't gracefully select a texture format. I printed what my gpu supports and tried to find a best match.

    After that, it doesn't support the requested blend mode, so I switched it to one that my gpu supports.

    When making a gpu app, make sure to adapt based upon the capabilities a GPU supports. It isn't much harder to do this, while making it significantly more accessible for anyone using it -- even for fun or experimenting.

    While it runs, it doesn't do anything -- likely because it isn't running with the expected texture format and blend modes.

    Unfortunately, while I really want to see a slime mold simulation, I have to stop now before I refactor this entire project and make it consumable for anyone curious. Then I will have a working "slime mold simulation" at the end of the day, and I am not sure how helpful that would be to anyone, including myself.

  • Show HN: 30ms latency screen sharing in Rust
    8 projects | news.ycombinator.com | 9 Jul 2024
    My first thought was that that was dropping one of the main features of make.

    On reflection though, the timestamp dependant part isn't really something used much nowadays apart from compiling C.

    It'd be cool if it was an opt-in feature for just files so that it could actually function as a replacement for make in all cases.

    I went looking in the docs and found this[0] which I'd missed last time I looked into justfiles.

    [0] https://github.com/casey/just?tab=readme-ov-file#what-are-th...

  • Show HN: Bin CLI – A simple task/script runner for any programming language
    3 projects | news.ycombinator.com | 31 May 2024
    Most projects I've worked on included a bunch of scripts for common tasks (installing dependencies, starting/stopping dev servers, testing and deploying changes, and so on). There are a few tools designed for this, such as Just (https://just.systems/) and Task (https://taskfile.dev/), and I know some people use Make as a task runner (e.g. https://news.ycombinator.com/item?id=40333481), but I've always preferred the simplicity and universality of shell scripts.

    Bin CLI is a tool I wrote to add some of the niceties of these tools to shell scripts: it works even when you're currently in a subdirectory, only requires you to type enough of the command (script) name to uniquely identify it, and allows aliases to be defined. It also allows a project's commands to be listed (along with some help text), supports subcommands, and supports tab completion of command names. Of course scripts can be written in other languages too, just by adding the appropriate shebang.

    Collaborators/contributors who don't have Bin CLI installed can just run the scripts directly - so I can enjoy the benefits without adding a hard dependency or extra barrier to entry. However, I also added support for defining one-liner scripts/aliases in a config file (much like "npm run" scripts are defined in package.json) for times when I want to avoid creating many trivial/wrapper scripts for common tasks.

    It is implemented as a single Bash script, with minimal dependencies, small enough to keep in my Dotfiles repo (62 KB). I also made .deb and .rpm packages so it can easily be installed system-wide.

  • Tired of Makefiles
    3 projects | news.ycombinator.com | 13 May 2024
    I find `just` to be better suited than `make` for this use case: https://github.com/casey/just

    The siblings comment is good too, and often I'll put all the various commands into a subdir, and `just` is just an interface to that, particularly so if the script gets complex.

    Then, `just` is really a signal "hey, this repo supports this interface" and things like `just -l` for discoverability.

  • Just a Command Runner
    1 project | news.ycombinator.com | 13 May 2024
    1 project | news.ycombinator.com | 25 Apr 2024
  • I stopped worrying and loved Makefiles
    7 projects | news.ycombinator.com | 27 Apr 2024
    I don't like makefiles, but I've been enjoying justfiles: https://github.com/casey/just
  • Ask HN: Any tool for managing large and variable command lines?
    8 projects | news.ycombinator.com | 25 Apr 2024
    I started using just [0] on my projects and have been very happy so far. It is very similar to make but focused on commands rather than build outputs.

    Define your recipes and then you can compose them as needed.

    [0] https://github.com/casey/just

What are some alternatives?

When comparing rust-cross and just you can also consider the following projects:

xargo - The sysroot manager that lets you build and customize `std`

Task - A task runner / simpler Make alternative written in Go

Module Linker - browse modules by clicking directly on "import" statements on GitHub

cargo-make - Rust task runner and build tool.

Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

cargo-xtask

cargo-linked - Display linked packages for compiled rust binaries

Taskfile - Repository for the Taskfile template.

Buzzard - 🦀 Learning Rust by Examples.

CodeLLDB - A native debugger extension for VSCode based on LLDB

indicatif - A command line progress reporting library for Rust

cargo-release - Cargo subcommand `release`: everything about releasing a rust crate.

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured