Cargo

The Rust package manager (by rust-lang)

Cargo Alternatives

Similar projects and alternatives to Cargo

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Cargo alternative or higher similarity.

Cargo reviews and mentions

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 2023-01-26.
  • Next Rust Compiler
    6 projects | news.ycombinator.com | 26 Jan 2023
    > It defaulted to the fully backwards compatible version (vs 2021)

    Cargo defaults to the 2021 edition, and has ever since it was stabilized: https://github.com/rust-lang/cargo/pull/9800

    Either you accidentally installed a version of cargo from before the 2021 edition was stabilized, or you ran "cargo new --edition ", or you started by cloning an out of date project of some sort, in which case it's not really an issue with "defaults".

  • One Crate a Day: has-flag
    5 projects | dev.to | 24 Jan 2023
    Cargo, which is the out-of-the-box tool for running tests, installing packages/dependencies, and more, has conventions for building libraries versus binaries.
  • Rust 2030 Christmas list: Subcrate dependencies
    6 projects | reddit.com/r/rust | 24 Jan 2023
    Between workspace inheritance and tools like cargo-release, this has become trivial for me. If people don't want to use a third-party tool, we can always be working on improving cargo further, like publishing more than one crate at a time or merging support for modifying versions.
  • Security advisory for Cargo (CVE-2022-46176)
    4 projects | reddit.com/r/rust | 10 Jan 2023
    It looks like this might be the commit that fixes the vulnerability: https://github.com/rust-lang/cargo/commit/c9bff1ec6d147e0254ecfcafe6325ef1643edb6d
    4 projects | reddit.com/r/rust | 10 Jan 2023
    On other OSs than Linux, the situation is different, e.g. there was a crates.io outage for windows because OCSP servers weren't responding.
  • rustup が "error: linker `cc` not found" で失敗 - Alpine Linux 3.17 (Rust 1.66)
    3 projects | dev.to | 8 Jan 2023
  • Fix rustup failed with "error: linker `cc` not found" on Alpine Linux 3.17 (Rust 1.66)
    4 projects | dev.to | 8 Jan 2023
    Well, on the way, I met the error below when testing a cargo project:
  • Rust on Arch Linux: 始め方
    3 projects | dev.to | 6 Jan 2023
  • Rust on Arch Linux: Getting started
    5 projects | dev.to | 6 Jan 2023
    Rust has a lot of features such as functional programming paradigm and zero cost abstractions (!). As to speed and safety, it doesn't have GC, garbage collection, so it runs with much smaller memory and cleanly. As to productivity, it has the nice package manager called cargo and also a tool chain called rustup.
  • Welcome to Comprehensive Rust
    10 projects | news.ycombinator.com | 22 Dec 2022
    Macro expansion is slow, but only noticeably in the specific situation of a) third-party proc macros, b) a debug build, and c) a few thousand invocations of said proc macros. This is because debug builds compile proc macros in debug mode too, so while the macro itself compiles quickly (because it's a debug build), it ends up running slowly (because it's a debug build).

    I know this from observing this on a mostly auto-generated crate that had a couple of thousand types with `#[derive(serde::)]` on each. [1]

    This doesn't affect most users, because first-party macros like `#[derive(Debug)]` etc are not slow because they're part of rustc and are thus optimized regardless of the profile, and even with third-party macros it is unlikely that they have thousands of invocations. Even if it is* a problem, users can opt in to compiling just the proc macros in release mode. [2]

    [1]: https://github.com/Arnavion/k8s-openapi/issues/4

    [2]: https://github.com/rust-lang/cargo/issues/5622

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 30 Jan 2023
    InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →

Stats

Basic Cargo repo stats
192
9,688
9.9
about 21 hours ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com