Implementing Config Files for your Rust CLI tool | Rustlang Lets Code!

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 6

  • @kaktoffel2193
    @kaktoffel2193 2 роки тому +4

    Look into unwrap or default and implement the default trait, it cleans up the clutter from where you call unwrap_or

  • @nzdn76
    @nzdn76 3 роки тому +1

    Thanks, very useful tutorial! Can you make another video explaining the stuff mentioned at the end of the video? That would help a lot

  • @SharunKumar
    @SharunKumar Рік тому

    How do you implement merging of config files based on a hierarchy?
    Example: workspace config can override user config, missing keys can be taken from default config, etc?

    • @vyorkin
      @vyorkin Рік тому +2

      Hopefully you found the awesome "config" crate ;)

  • @davidmcbride5357
    @davidmcbride5357 2 роки тому

    what about a gui app with tauri?

    • @chrisbiscardi
      @chrisbiscardi  2 роки тому

      Here's a small app -- ua-cam.com/video/zawhqLA7N9Y/v-deo.html