Anybody want to help with with a #rust environment variable puzzle?
#Rust #actixweb #rustlang #stackoverflow
If anyone out there is using both #actixweb and #htmx (there must be dozens of us!) then I’ve just released the first version of a crate that might be useful to you: https://crates.io/crates/actix-htmx. Feedback & pull requests welcome at https://github.com/welshdave/actix-htmx #rustlang #actix
#actixweb #htmx #rustlang #actix
@stvm #reactjs is extremely flexible and easy to get started with, so I definitely recommend checking out their getting started docs!
Using #rustlang with #actixweb is an ultra fast and powerful backend to be sure! However, if your web app doesn't require squeezing every single bit of performance out of your device, I HIGHLY recommend using a #golang backend! @golang is extremely performant language and simple to learn. It would serve a React page w/ ease! 😎 :golang: :react: 🤘
#reactjs #rustlang #actixweb #golang
Using actix-web for a personal project (a personal finances/budgeting program), it's a lot nicer than I remember
Setting and Reading Session Cookies in Rust with Actix Web
https://webbureaucrat.gitlab.io/articles/setting-and-reading-session-cookies-in-rust-with-actix-web/
#actix #actixweb #Rust #webdev
Is there an accepted pattern for replacing your database pool in an #actixweb application? As in, the system is rotating the database password, updates the file handle it’s passed through to the application, and then my application should reconnect using the new credentials and drop the old connection.
#rustlang #rust #sqlx #ProgrammingPatterns
#actixweb #rustlang #rust #sqlx #programmingpatterns
Just released a small update to my #ActixWeb crate for serving files embedded into your server: https://crates.io/crates/actix-web-rust-embed-responder
Actix-Web's latest release added support for Cow message bodies in responses, which allows my crate to avoid an unnecessary clone on each request. That gives a 10x or more performance improvement depending on the file size!
(This also makes my fork of rust-embed a lot less necessary, but oh well, I'll be glad if I don't have to maintain my own fork)
#actixweb #rust #rustlang #webdev
I've just open sourced a labour of love on weekends and spare time for the past year or so:
https://github.com/cetra3/divedb
Live site here: https://divedb.net/
Using #rust, #actixweb & #postgresql for the backend and #sveltekit for the frontend
#rust #actixweb #postgresql #sveltekit
@realaravinth Thanks for the suggestion! That works fine indeed, this incely factorizes the App::new() creation: https://piware.de/gitweb/?p=learn-rust.git;a=commitdiff;h=121e3e9e83ec2bba3f0
Just released another crate: https://crates.io/crates/actix-web-rust-embed-responder
If you are building a #rust web app with #actixWeb, you can use rust-embed to embed your assets into your server executable. Then my crate helps you serve these embedded assets!
ETag & Last Modified headers, cache revalidation with `If-None-Match`, compression... all of that is handled out of the box for you!
As an added bonus, I have a fork of rust-embed which speeds up serving embedded files by 20% or more:
https://crates.io/crates/rust-embed-for-web
`-
` TLDR:
`
#Aardwolf-Social --> A work-in-progress FOSS (#Rust-lang) app to bring more Facebook-like features to the #Fediverse.
Github
https://github.com/Aardwolf-Social
`-
` The Rant
`
First off... I am NOT going to start tooting about this project ALL the time. Not until it hits certain milestones anyways. Mostly cause I no longer have the time nor -patience- to do it. If folks wanna find it they will. If they want to HELP, they will.
ANWYAYS...
It's about time I started making some decisions, one of those is that I need be more PROACTIVE on my own.
What that means is that I am trying to actively learn Rust. Although this -entire- week has basically told me to fuck off and do something else. <the end>
Having watched a couple of Youtube videos from a seemingly talented #RustDev I would like to use #YEW for the #FrontEnd. It seems like that nice blend of Rust built into an HTML framework that I am willing to compromise on. This would be instead of RucTE, Terra, Handlebars etc.
#Actix / #actixweb , and #diesel are still in play for the backend, and DB stuff as there's no good reason to change. And both of those play well with YEW as far as I am aware.
I wont say "stay tuned for updates" because I HONESTLY have no idea when that will ever happen.
BUT... IF you are a Rust dev, Noob Dev, or any kind of dev open to learning about the project... hit me up!
We're SO CLOSE to having a demosite going... I just dont know enough about how to tie the existing backend to the UI I started building... and its killing me.
#diesel #actixweb #actix #frontend #YEW #rustdev #fediverse #rust #aardwolf