A tour of the Axum web framework for Rust (while explaining a few error messages)

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

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

  • @AbhishekBajpaiHere
    @AbhishekBajpaiHere ปีที่แล้ว +6

    another video on tracing please, badly needed.

  • @bode-fun
    @bode-fun ปีที่แล้ว +4

    I always thought the promise is "If it compiles, it runs". Seeing the extractor error at 13:00 is a real bummer

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

      Yes, that’s the reason why I’m using Rust, why would I want something that compiles but fails at runtime…

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

    Yes! Watching this when I get home. More Axum!

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

    Axum is great, ive combined it with rpc, works great 👍

  • @learning_rust
    @learning_rust ปีที่แล้ว +3

    Thank you! - Please could you do part 2 and show how we could add Swagger UI maybe?! 👍

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

      poem-openapi

  • @李晧暐
    @李晧暐 ปีที่แล้ว +2

    What a great channel!

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

    Regarding the cryptic error messages, there is a handy little helper in the form of the axum::debug_handler macro which can help there. Not sure about the particular case discussed in the video. Great content!

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

      That's a very useful tip, thank you!

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

    Great video, love to see more like this

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

    If I remember correctly, tokio is utilising tower to build services that are stackable. It already had some helper functions to quickly make services. My hunch is that make_service thing is related to that. There is probably a trait somewhere in tokio, that can be implemented to make your handler into a service in tower, that is stackable. Hence "into make service", which will then has blanker implementation of "into service".

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

      Yes, this sounds familiar. Thank you for taking the time to add a comment.

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

    thanks for this. Would love for you to do a comparison of axum to actix web.

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

    quite a nice framework, ive used warp in the past but am going to make a simple api with axum next

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

    Good stuff, do more of these!

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

    Lol at 16:38 know that feel

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

    This honestly looks like a terrible development experience