Skip Navigation
kirsten Kirsten Freitag @programming.dev

Weitere Fediverse-Accounts: @[email protected]

Banner-Bild von @[email protected]

Posts 1
Comments 4
clap::_derive::_tutorial - Rust
  • That's the point. I didn't know about the feature flags feature of Rust/Cargo. Of course, if you know it, you "have to" skip it in each tutorial. IMHO, it should be okay 🙂 Thank you for your answer.

  • What Cargo addons do you use?
  • Perhaps, there could be a different between cargo-update and cargo update.

  • clap::_derive::_tutorial - Rust
  • Thanks a lot. That's it. But, what have I done now 😀 ? I believe I misunderstand the dependency inclusion. I have to learn something about features and why they aren't activated by default.

  • docs.rs clap::_derive::_tutorial - Rust

    Documentation: Derive Tutorial

    I've tried to run the example under "Configuring the Parser" and get some errors. What could be my problem?

    Errors

    • error: cannot find derive macro Parser in this scope
    • error: cannot find attribute command in this scope
    • error: cannot find attribute arg in this scope
    • error[E0599]: no function or associated item named parse found for struct Cli in the current scope

    Cargo.toml

    ``` [package] name = "hello_cargo" version = "0.1.0" edition = "2021"

    [dependencies] clap = "4.3.5" ```

    7
    IntelliJ Rust Changelog #196
  • I like IntelliJ as my first choice Java IDE. The Rust-Plugin is not as good as expected but every Update is welcome for a better experience. I thank all contributors for their effort.