You definitely won't find this in the rust book.
youtube.com/shorts/Pal9T58HNKQ

#rustlang #coding #actix

Last updated 1 year ago

Mainmatter · @mainmatter
56 followers · 147 posts · Server fosstodon.org

Learn more about Kraken's migration to microservices and the recent updates in Rust’s web development ecosystem. 🦀

➡️ Watch the interview with Kraken’s Senior Rust Engineer and maintainer Rob Ede and Mainmatter’s Founder @marcoow: youtu.be/4J7FChl7jfw

#rustlang #actix

Last updated 1 year ago

Mainmatter · @mainmatter
57 followers · 145 posts · Server fosstodon.org

Join Rob Ede, Senior Rust Engineer at Kraken and lead maintainer of , and @marcoow, Founder of Mainmatter, as they discuss Kraken's migration to microservices from Java and the future of ! 🦀

➡️ youtu.be/4J7FChl7jfw

#actix #rustlang

Last updated 1 year ago

Jakub Nowicki · @q_nowicki
47 followers · 113 posts · Server fosstodon.org

Who says @Posit Connect is just for 📊 and 🐍?

Our team has paved the way for 🦀 APIs.

Learn more: appsilon.com/deploy-rust-api-t

🚀

#rstats #python #rust #actix #TechInnovation

Last updated 1 year ago

Mainmatter · @mainmatter
57 followers · 142 posts · Server fosstodon.org

Rob Ede shared how migrating to has supported Kraken’s growth in his interview featuring Mainmatter’s Founder @marcoow. 🦀

Stay tuned for the full discussion with more insights on Rob’s experience at Kraken and his work as a lead maintainer of . 👀

#rustlang #actix

Last updated 1 year ago

Dave Lewis · @welshdave
77 followers · 68 posts · Server toot.wales

If anyone out there is using both and (there must be dozens of us!) then I’ve just released the first version of a crate that might be useful to you: crates.io/crates/actix-htmx. Feedback & pull requests welcome at github.com/welshdave/actix-htm

#actixweb #htmx #rustlang #actix

Last updated 1 year ago

fistons :rust: :java: :godot: · @fistons
31 followers · 138 posts · Server fosstodon.org

Is there any existing crate that validate requests against an specification?

I know I could generate the spec with the code, but I like to write my specification all by myself (don't wanna be 🎶 ) and then I want to verify that my incoming requests matches the specification

#rustlang #openapi #actix #api #rest

Last updated 1 year ago

webbureaucrat · @webbureaucrat
70 followers · 531 posts · Server floss.social
Fn · @fn
9 followers · 219 posts · Server fnlog.page

Coming from /Elixir/, I am wondering if /actix/ has something similar to supervision trees? The best I could find is `actix::Supervisor` which just manages one actor. Although I concede this might be tricky with the type system.

I just feel naked without some safety controls.

Supervisor: docs.rs/actix/latest/actix/str
Supervision Tree: elixir-lang.org/getting-starte

#rust #actix

Last updated 1 year ago

Astra Kernel :verified: · @AstraKernel
1059 followers · 1375 posts · Server infosec.exchange
Astra Kernel :verified: · @AstraKernel
948 followers · 1100 posts · Server infosec.exchange
Harry ਗਿੱਲ :ferris_gesture: · @mygnu
413 followers · 149 posts · Server hachyderm.io
epso · @epso
150 followers · 1858 posts · Server mstdn.social

"GET /order/order/?page=1 HTTP/1.1" 200 77982

requests from the front-end are working, the JWT auth and tenant middleware both are working as they should :)

#actix #Rust

Last updated 2 years ago

Sad dev · @IpswichTriptych
28 followers · 176 posts · Server mastodon.lol

@haskman Please drop a link to the repo if you're sharing the source. I'm in a similar boat. I was most recently messing around with and but am interested in getting my hands dirty with something based. I agree with @arialdo that making a tui git client in would be challenging.

Some tools I'm currently using include github.com/bootandy/dust (Apache 2.0) and github.com/pkolaczk/fclones (MIT).

#yew #actix #tui #dust #fclones

Last updated 2 years ago

Martin Pitt · @martinpitt
42 followers · 16 posts · Server fosstodon.org

I evaluated webserver/websocket frameworks -web, , and as possible contenders for reimplementing 's web server.

The biggest contribution of that article is how to write a -test for a route with -web. There was *zero* prior art for this on the interwebs.

piware.de/post/2022-12-11-rust

#rustlang #actix #Axum #warp #cockpit #unit #websocket

Last updated 2 years ago

Playing around with web frameworks last weekend. Personally, finding many to be a little too opinionated or eccentric(right word?).

I kinda clicked with in the way it treats routing as such. Maybe it's the closet seeming to Rust-like syntax.

I dunno... change my mind?

#rust #actix

Last updated 2 years ago

Amirography · @Amirography
73 followers · 206 posts · Server fosstodon.org

So I'm going through zero2prod rust book.
And doing each code block in both actix-web and axum at the same time.

I have to say that I'm having a blast with axum, even though the book's codes are for actix-web.

Axum seems to be trying extremely hard to get out of the way, and rely much more on the ecosystem, rather than trying to have a full framework with all the custom pieces and custom batteries included in the packaging.

#rust #rustlang #actix #Axum #Zero2Prod

Last updated 2 years ago

Awiteb :rust: · @awiteb
2 followers · 12 posts · Server hachyderm.io

المتوقع من هذا الكود هو إنشاء ثلاث خدمات، الخدمة الاولى في scope ال api وهي خاصة لل endpoints التي تطلب التوكن، بحيث يكون المفتاح الخاص بال ratelimit هو التوكن، والخدمة الثانية هي ايضآ في scope ال api لكنها خاصة بال endpoints التي لاتتطلب توكن لتعمل، بحيث يكون مفتاح ال ratelimit هو ال IP الخاص بالمرسل، والخدمة الثالثة نفس الثانية لكنها في scope ال docs.

ولكنها لاتعمل هكذا لسبب غير معروف حاليآ، سوف احاول حلها وبضمن الحل تحت، اطأر العمل Actix.rs

#actix

Last updated 2 years ago

Awiteb :rust: · @awiteb
2 followers · 12 posts · Server hachyderm.io

فكرة جميلة لعمل JWT يمكن تعطيله، وهي عند انشاء الحساب يتم اضافة تاريخ انشاء التوكن في قاعدة البيانات، وبعد ذالك يتم وضعه في ال JWT، وعندما يقوم المستخدم بعمل revoke يتم تعديل التاريخ فقط. طبعآ عند تسجيل المستخدم يجب التاكد من ان التاريخ الي في ال JWT هو الي في قاعدة البيانات

:rust:

#jwt #actix

Last updated 2 years ago

Awiteb 🦀 · @awiteb
0 followers · 3 posts · Server hachyderm.io

فكرة جميلة لعمل JWT يمكن تعطيله، وهي عند انشاء الحساب يتم اضافة تاريخ انشاء التوكن في قاعدة البيانات، وبعد ذالك يتم وضعه في ال JWT، وعندما يقوم المستخدم بعمل revoke يتم تعديل التاريخ فقط. طبعآ عند تسجيل المستخدم يجب التاكد من ان التاريخ الي في ال JWT هو الي في قاعدة البيانات

#jwt #actix

Last updated 2 years ago