Prompt for User Input with Rust Inquire Crate 🦀 Rust Programming Tutorial for Developers

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น •

  • @TrevorSullivan
    @TrevorSullivan  4 หลายเดือนก่อน

    🚨📦 Help support this channel - shop through my Amazon storefront!
    ⬇⬇⬇
    www.amazon.com/shop/trevorsullivan
    ⬆⬆⬆

  • @prashlovessamosa
    @prashlovessamosa 4 หลายเดือนก่อน +13

    Thanks for coming back please keep uploading consistently.

  • @461k
    @461k 3 หลายเดือนก่อน

    Trevor, you are amazing. I truly appreciate all these videos and the effort you put into them. You and your channel continuously motivate me to write more code and you've taught me so many concepts. You give me so many good ideas. Thank you!

  • @martinkrenk
    @martinkrenk 4 หลายเดือนก่อน +1

    Wow, I was just looking for a video on this exact topic a few days ago and was surprised you hadn’t made one. Great timing! 😄

  • @AhmedFalih-kj3tt
    @AhmedFalih-kj3tt 4 หลายเดือนก่อน +1

    Thank you so much for your amazing Rust tutorials! Your content has been incredibly helpful, and I truly appreciate the time and effort you put into making such high-quality videos. I wish you all the best and hope you continue to share your knowledge with the community. Keep going, you're making a huge impact!

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน +1

      @@AhmedFalih-kj3tt hello Ahmed, thank you for letting me know that these videos have helped you, and your encouragement! I'm so happy to hear that you're learning Rust! 🦀 Keep experimenting and creating new things, and don't be afraid to share your creations as open source. 😊

  • @santana2771
    @santana2771 4 หลายเดือนก่อน +1

    I've been desperate looking for a crate like this, didn't even watch the video but you gave me a great recommendation thankyou so much!

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 4 หลายเดือนก่อน +1

    It looks like a very versatile and powerful crate. I wish I discovered it eralire, because I have to implement a very similar functionality independebly. I wish we had more good Rust channels like yours.

  • @meyou118
    @meyou118 4 หลายเดือนก่อน +1

    good to see you back

  • @James-the-elder
    @James-the-elder 4 หลายเดือนก่อน +2

    Welcome back. It’s been awhile

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน +1

      @@James-the-elder thanks for coming back! 🦀

  • @stormz4040
    @stormz4040 4 หลายเดือนก่อน

    Thank you for all your videos. They are awesome.

  • @symshark
    @symshark 4 หลายเดือนก่อน

    Awesome, welcome back! its been a while

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน +1

      @@symshark thank you! I'm happy to continue the Rust playlist! 🦀 I really love the language! Enjoy coding! 🦀

  • @MikeHenry0001
    @MikeHenry0001 4 หลายเดือนก่อน +2

    Yay yay yay yay
    He's Backkkkkk!!!!!

  • @aintnochange
    @aintnochange 4 หลายเดือนก่อน

    We're SO back thanks!

  • @TheBuilder
    @TheBuilder 4 หลายเดือนก่อน +3

    welcome back

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน

      @@TheBuilder thank you! I'm happy to be back. Looks like you've been busy. 📺

  • @Zipper4o
    @Zipper4o 4 หลายเดือนก่อน

    Finally some more content from the man

  • @LBernardinello
    @LBernardinello 2 หลายเดือนก่อน

    Great video! Please make one using Druid GUI

  • @artwelf
    @artwelf 3 หลายเดือนก่อน

    Great video, thanks! But when you check the first letter of the name, it is always useful to remember that not all valid letters are ASCII letters. It is better to check: match input.chars().next() { Some(c) => { if c.is_uppercase() { ... } } }

    • @TrevorSullivan
      @TrevorSullivan  3 หลายเดือนก่อน

      Yes that's a great point! Thanks for sharing.

  • @DaverleAdams
    @DaverleAdams 9 วันที่ผ่านมา

    Hey, GREAT content first of all. I'm looking for one of your videos, in the video you use a full text search engine to search some documentation ( if I remember correctly ), you mention a data retrieval protocol that I am interested in learning more about. If you could point me to that video, I would really appreciate it.

    • @TrevorSullivan
      @TrevorSullivan  9 วันที่ผ่านมา

      @@DaverleAdams thanks very much for your kind comment! I can't remember which video that is off the top of my head! Now you've got me wondering 😊

  • @thedi0
    @thedi0 4 หลายเดือนก่อน

    hey trevor, make an video about ratatui crate please!

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน +1

      That's definitely on the list! 🙂 I've used it a little bit, it's just pretty complicated and will take me quite a while to come up with a good quality video on the topic. Thanks for sharing your interest in it! Keep an eye out! 👀

  • @ohmyv3gatron
    @ohmyv3gatron 4 หลายเดือนก่อน +1

    hmm can't you to like if x.is_uppercase?

    • @James-the-elder
      @James-the-elder 4 หลายเดือนก่อน +1

      You could, but I believe the idea was to write custom validators.

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน

      @@ohmyv3gatron good idea! I could have actually used that method inside the custom validator, right? Thanks for pointing that out!

  • @BrazenNL
    @BrazenNL 4 หลายเดือนก่อน

    I'm already using this crate and wanted to see how you use it. It looks more like a Rust tutorial than an inquire tutorial.

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน

      @@BrazenNL gotcha, this was more intended to introduce people to the create who might not already be using it. One practical use case, that I used this for recently, was to manage Amazon S3 storage. I wrote a utility that allows you to create or delete buckets, create some random test data, empty all objects from the bucket, and list objects in the bucket. It's not exactly production ready, but I posted a preview of it to my LinkedIn page, and X I think. I published it to crates.io as "s3-stress"

    • @BrazenNL
      @BrazenNL 4 หลายเดือนก่อน

      @@TrevorSullivan Okay. However, after 20 minutes you're still talking about error handling in Rust, so I clicked away. Don't get me wrong, your channel, your rules, just letting you know why I lost interest. Might be an example of Dutch directness, I have no idea how it's perceived on your end.

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน

      ​@@BrazenNL I'm sorry you didn't get any value out of it. Since inquire uses the Result type as a return value, I thought it was relevant to discuss some common patterns for handling error conditions. My general objective is for viewers to learn at least one new, little trick from each of my videos, even if it doesn't pertain to the video's primary topic. Sometimes it's just helpful for people to see how others go about problem solving. I certainly don't expect 100% of people to like my style. I appreciate your involvement in the Rust community.

    • @BrazenNL
      @BrazenNL 4 หลายเดือนก่อน

      @@TrevorSullivan Yes, and the Result type is _exactly_ that. A Rust feature which has nothing to do with the crate (or, if you take that perspective, something you can explain with _every_ crate. Anyway, enough of me telling you what I expected.

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 4 หลายเดือนก่อน

    Do you know any place where I can submit an article about Rust programming?

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน +1

      @@kamertonaudiophileplayer847 have you thought about creating your own blog? It's really easy to do with GitHub and a static site generator! Maybe look at astro?

    • @kamertonaudiophileplayer847
      @kamertonaudiophileplayer847 4 หลายเดือนก่อน

      @@TrevorSullivan I use the github a lot. My concern that people like to read blog from different people in one place. Otherwise your suggestion is fine.

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน +1

      @@kamertonaudiophileplayer847 I understand what you mean. I guess you could try Medium or dev.to?

    • @kamertonaudiophileplayer847
      @kamertonaudiophileplayer847 4 หลายเดือนก่อน

      @@TrevorSullivan Thanks, I already think of them. I thought maybe there is a good place specifically for Rust. But it looks like the language isn't really popular yet.

    • @TrevorSullivan
      @TrevorSullivan  4 หลายเดือนก่อน +1

      @@kamertonaudiophileplayer847 yeah it's not crazy popular yet, but now is a good time to get in before it blows up 😊🦀

  • @paulobitfranca
    @paulobitfranca 4 หลายเดือนก่อน

    please make the source code available (:

  • @amanfreecs
    @amanfreecs 4 หลายเดือนก่อน +1

    ♥️♥️🫂