Organize Rust Projects with Cargo Virtual Workspaces 🦀 Rust Programming Tutorial for Developers

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

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

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

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

  • @soicygothlaflexico
    @soicygothlaflexico 9 หลายเดือนก่อน +7

    Ur one of the goats of rust videos fr

  • @theintjengineer
    @theintjengineer ปีที่แล้ว +4

    The best Instructor in the field out there👌🏽😲
    Fascinating video!
    Thank you so much for the time you invest in helping our poor souls here haha
    Take care, Trevor.

    • @TrevorSullivan
      @TrevorSullivan  ปีที่แล้ว +1

      Thanks so much for your kind comment and involvement in the Rust community!

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

    Found this series a few days ago and the videos have helped me understand how to implement some stuff that the rust docs didn't explain the best.
    Would you maybe be able to do a video about signal handling? I know signal-hook is the crate used but my attempts to use that crate have been less than great.

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

    I am going to love Rust each time I am learning new things about it!!!

  • @subhamprasad1373
    @subhamprasad1373 ปีที่แล้ว +1

    Waiting for your video on ffmpeg rust

  • @ExidifulCrypto
    @ExidifulCrypto 11 หลายเดือนก่อน

    If you could explain how rust on lambda works and how to make a custom runtime that supports ODBC drivers and similar dependencies it would be very useful ❤ thanks for everything you provide again. I learned the majority of my rust knowledge from you

  • @JakeRichardson-s8o
    @JakeRichardson-s8o ปีที่แล้ว

    Thank you for these videos Trevor, they are head and shoulders above other educational Rust content. Really looking forward to the channel taking off

    • @TrevorSullivan
      @TrevorSullivan  ปีที่แล้ว

      That is some high praise! Thanks so much for being part of the Rust community, and helping to push this language forward! I am so happy to hear that you've been learning from these videos.

  • @dev-rachid
    @dev-rachid 11 หลายเดือนก่อน +1

    Thank you Sullivan ! And also, It will be good If you want to teach us design patterns in Rust 👌

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

    Are you a lecturer? Your explanation is easy to understand for a layman like me. Thank You.

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

      @@affanyunas7693 thank you Affan! No I'm not a lecturer, I actually work as a Solutions Architect in the sales side of things! Thanks for learning Rust! It's a great language. 🦀

    • @affanyunas7693
      @affanyunas7693 26 วันที่ผ่านมา

      @@TrevorSullivan yeah good job, do you think rush will be the future?

  • @abcde...7960
    @abcde...7960 10 หลายเดือนก่อน +1

    Thanks for sharing

  • @sandeepjena-ic4tn
    @sandeepjena-ic4tn 11 หลายเดือนก่อน +1

    Thanks for video. Can you Create Playlist related rust web server

  • @raph384
    @raph384 ปีที่แล้ว +2

    Perfect, as usual, maybe one day a bevy intro ?

    • @TrevorSullivan
      @TrevorSullivan  ปีที่แล้ว

      Good idea 😉 Thank you, kind sir! Glad you enjoyed it!

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

    when you do 'cargo add', how does it know in which crate to add the dependency?

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

      @@AshishRaiVfx based on the directory you're running the command from. 📦

  • @learntry9074
    @learntry9074 ปีที่แล้ว

    once again. great explanation, thanks
    maybe its compiling travlib01 even if we put in exclude list because its part of default-member

    • @TrevorSullivan
      @TrevorSullivan  ปีที่แล้ว

      Thank you for that suggestion, and your kind feedback! I didn't think about that possibility while I was in the middle of recording the video. 😊

  • @praveenpp2929
    @praveenpp2929 6 หลายเดือนก่อน

    Any plans on making a ratatui rust tutorial ?

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

      I definitely want to! I have toyed around with it a little bit, but I'm not really good with it yet. It seems like an awesome framework!

    • @praveenpp2929
      @praveenpp2929 6 หลายเดือนก่อน

      ​@TrevorSullivan I have built a small ai navigator in rust I want visualize it so I am thinking to use ratatui but any recommendations ? It's like cave map i have to visualize

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

      @@praveenpp2929 hmmm have you considered a 3D game engine like Bevy? That sounds like it could be a lot of work!

  • @rustsa
    @rustsa ปีที่แล้ว

    well done

  • @prashlovessamosa
    @prashlovessamosa 11 หลายเดือนก่อน

    When are you going to upload next lecture.

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

      Sorry it's been a while. I'm hoping to record another one soon. Been busy with lots of other things.

    • @pratikkulkarni891
      @pratikkulkarni891 10 หลายเดือนก่อน +1

      Which are the ones you are planning to create next? @@TrevorSullivan

    • @johnforeverrules
      @johnforeverrules 8 หลายเดือนก่อน

      @@TrevorSullivan will there be anymore rust videos sensei?

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

      @@johnforeverrules check out the StratusGrid TH-cam channel! I've been posting over there youtube.com/@GoForthandCloud?si=wat5O2VSeBQa610r

  • @CrapE_DM
    @CrapE_DM 9 หลายเดือนก่อน

    I was trying to figure out what it was about your face that tickled something in the back of my brain. Eventually I figured it out: You look a bit like a younger Guido Van Rossum, the creator of Python.

  • @cbbbbbbbbbbbb
    @cbbbbbbbbbbbb 11 หลายเดือนก่อน

    Love your videos! Was looking for a little help setting up a workspace for advent of code. Right now, I just have a folder with crates for each day. I individually run the specific part (1 or 2) by running "cargo r --bin partX" in each day subdirectory. I'm trying to turn this into a workspace to be able to work directly from the parent folder if possible. The problem is I'm getting an output file name collision when building since the day crates are outputting part1 and part2 files. Is there a way to possible prepend the crate name onto the output bin file? So "day_XX-partX.exe" ...
    If there is a better way to handle this that is more suited to Rust, I'd be happy to hear it as well! Layout below for clarification:
    workspace
    --Cargo.toml
    --day_01
    ----Cargo.toml
    ----src
    ------bin
    --------part1.rs
    --------part2.rs
    --day_02
    ----Cargo.toml
    ----src
    ------bin
    --------part1.rs
    --------part2.rs
    ...

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

      Great question! I understand the challenge you're running into. I would recommend searching for "different-binary-name" on this page: doc.rust-lang.org/cargo/reference/unstable.html
      It's an unstable feature but should allow you to structure your project the way you're attempting to, without name collisions on the binary output files. I hope this helps! God bless you.