I think I’m going to start learning Rust. Can anyone suggest a good IDE to use?

  • thesmokingman@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Vanilla cargo.toml files are more akin to a requirements.txt than any of the others, which allow you to do things like set variables or create run scripts. However, vanilla cargo.toml files have some minimal Make functionality so it’s a bit more than just project dependencies. Each of those ecosystems has a slightly different approach to handling build tooling and dependency management. Rust puts the basic build and dependencies in one file with the assumption your system has the right Rust version, which is a lot simpler than others.

    • lysdexic@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      So there is fundamentally no difference between cargo and any other contemporary dependency/package manager.

      • dukk@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Well, it is standard.

        That’s probably the biggest thing to consider: you use Rust, you use Cargo. It’s unanimous.

        It’s built right into the language ecosystem, so there’s no divide, and everything’s just easily available to you.