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

Sdílet
Vložit
  • čas přidán 23. 08. 2024

Komentáře • 19

  • @AbhishekBajpaiHere
    @AbhishekBajpaiHere Před rokem +6

    another video on tracing please, badly needed.

  • @ohmyv3gatron
    @ohmyv3gatron Před rokem +1

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

  • @bode-fun
    @bode-fun Před rokem +4

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

    •  Před 10 měsíci +1

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

  • @user-ex8vj4qe7n
    @user-ex8vj4qe7n Před rokem +2

    What a great channel!

  • @timvw01
    @timvw01 Před rokem +2

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

  • @beebakrizzle
    @beebakrizzle Před rokem +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  Před rokem +1

      That's a very useful tip, thank you!

  • @learning_rust
    @learning_rust Před rokem +3

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

  • @LeviNotik
    @LeviNotik Před 7 měsíci

    Great video, love to see more like this

  • @ekarademir
    @ekarademir Před rokem

    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  Před rokem

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

  • @jimii_47
    @jimii_47 Před rokem

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

  • @johnwilliams7999
    @johnwilliams7999 Před rokem

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

  • @kameikojirou
    @kameikojirou Před rokem

    Good stuff, do more of these!

  • @MeeGrimlock
    @MeeGrimlock Před 4 měsíci

    Lol at 16:38 know that feel

  •  Před 10 měsíci +2

    This honestly looks like a terrible development experience