#actix — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #actix, aggregated by home.social.
-
actix-tls directly depends on two different versions of http?! https://github.com/actix/actix-net/blob/main/actix-tls/Cargo.toml
-
CW: rant
Now installing #actix comes with 175 dependencies…
Really not a fan of that either, especially given the generally alpha-state of the ecosystem, but let’s see…
#DependencyHell -
CW: rant
https://rocket.rs/guide/v0.5/faq/#in-prod
While Rocket is still in the 0.x phase, the version number is purely a stylistic choice. In fact, we consider Rocket to be the most mature web framework in the Rust ecosystem. To our knowledge, Rocket is the only Rust web framework that correctly implements: […]
Dear #Rocket devs: Please read the fucking semver spec!If your software is being used in production, it should probably already be 1.0.0. If you have a stable API on which users have come to depend, you should be 1.0.0. If you’re worrying a lot about backward compatibility, you should probably already be 1.0.0.
If you are so immature as to not even follow what to me feels like just about the easiest standard in software-development to follow, how can I trust that you follow the less obvious standards that actually matter?
It’s like a pharmacist claiming that he cleaned his entire body before mixing your injections and that nobody does it more thoroughly than him, but his pants are covered in dirt: The pants technically don’t matter, what matters is that his hands were clean, but it really calls into question his other claims…
If you're coming from a different ecosystem, you should feel comfortable considering Rocket's v0.x as someone else's vx.0.
Rust points to the semver standard and that standard disagrees with you.Rust and Cargo's semver policy, and Rocket's strict adherence to it, ensures that Rocket will never break your application when upgrading from 0.x.y to 0.x.z, where z >= y.
Furthermore, we backport all security and correctness patches to the previous major release (0.{x-1}.y), so your application remains secure if you need time to upgrade.
What major releases? You don’t have any!
And if you treat your minor releases as major releases, that means that you have no distinction between minor releases and patches left…
Well, it’s not that rocket is alone in that regard, but it at least makes the choice easier, sine it really cuts down on frameworks that seem to primarily be successful due to SEO, rather than maturity. I’m now looking at #actix as a starting point, since they at least pass the sniff-test of getting versioning right and seem to support what I might need…
#zerover #semver #rust #rustlang -
I'm wondering if writing my own "web server" to serve my website/blog (the same as my Neocities, but eventually with some twists I couldn't do on Neocities) might be a good idea to force me into a "project" (and help me learn Rust better).
I'm currently reading this blog post and the whole process looks genuinely fun: https://mortenvistisen.com/posts/how-to-build-a-simple-blog-using-rust
(Bonus point: The blog post is also about Tera, which I already use on my Neocities since I'm using Zola as a static site generator, so it will probably help if I port my website's own template to the new custom thing)
#Rust #Actix #Tera -
Telegram AI Companion: веселый проект на Rust, Telegram и локальном ИИ
Привет, Хабр! 👋 Недавно я собрал небольшой, но бодрый pet-проект — Telegram AI Companion . Это Telegram-бот, который умеет болтать с вами, используя локальную языковую модель через LocalAI . Без OpenAI, без облаков — всё на своём железе. Цель проекта — не революция в AI, а именно учебное и увлекательное погружение в Rust , асинхронность, Telegram API и локальные LLM-модели. Такой себе “бот-компаньон”, но больше для разработчика, чем пользователя :) Если вам интересно:
https://habr.com/ru/articles/920482/
#rust #telegram_bot #localai #llm #docker #actix #openai #ai #ngrok #natural_language_processing
-
Telegram AI Companion: веселый проект на Rust, Telegram и локальном ИИ
Привет, Хабр! 👋 Недавно я собрал небольшой, но бодрый pet-проект — Telegram AI Companion . Это Telegram-бот, который умеет болтать с вами, используя локальную языковую модель через LocalAI . Без OpenAI, без облаков — всё на своём железе. Цель проекта — не революция в AI, а именно учебное и увлекательное погружение в Rust , асинхронность, Telegram API и локальные LLM-модели. Такой себе “бот-компаньон”, но больше для разработчика, чем пользователя :) Если вам интересно:
https://habr.com/ru/articles/920482/
#rust #telegram_bot #localai #llm #docker #actix #openai #ai #ngrok #natural_language_processing
-
Currently following this tutorial on creating http endpoints in rust.
Actix Web: The Ultimate Guide (2023) - Mastering Backend -
Un #rust ans #actix web, how can I have a strict as app state that is non-send.
Precisely I have a deno_core embedded with app state that needs to store and invoke JS closures. Those closrea are passed to rust as v8::Functions. I do not care if they are duplicated between threads or isolated in a global state. I just want to declare them in invoke them from my actix routes.
For context, I am experimenting a JS simple embedded app with an action router.
-
I've been working on a project to let me easily do trunk-based development on solo projects, where every commit must pass the CI checks. 🔥 No need to create PRs for my own work anymore.
🧩 git-next: trunk-based development manager
🦀 Written in Rust
⭐ Repo: https://git.kemitix.net/kemitix/git-next
#rustlang #actix #cli #server #terminal #opensource #commandline
-
Spent the day trying to wrap my head around #Leptos. My main struggle (after configuring NixOS) is actually that it just doesn't "feel right". The differences with using signals in component props vs. directly vs. to derive values are something pleasantly absent in #Vue. Also, #Nuxt's useFetch helper makes more sense to me than server functions, which also seem to step on #Actix a bit. But maybe I'll grok it all eventually... #RubberDuck
-
https://fuiz.us/ is an #OpenSource alternative to #Kahoot (live quizzes in-classroom) 🚀
It's created and maintained by the #MIT https://gitlab.com/opencode-mit/fuiz
Backend written in #Rust 🦀 with #Actix and frontend in #svelte
Just a little bit sad that they use Google forms for feedback and Slack for community 😭 (They seem to have in internal #Matrix!)
Gave it a quick try and it seems nice. Will try it next year for my classes :)
-
584 - Mi experiencia con Svelte y Rust
En este episodio te cuento mi experiencia en el #frontend con #svelte y #typescript mientras que en el #backend estoy utilizando #actix con #rustSigo metido con el servicio para escuchar vídeos en formato podcast, y si bien, ya lo tenía resuelto, no me terminaba de convencer. Como te conté en un episodio anterior, lo estaba implementado con una combinación de Jinja, Rust y vanilla JavaScript
#atareaoConLinux
https://www.youtube.com/watch?v=FRjRLwCMmko -
Mi experiencia con Svelte y Rust n
En este episodio te cuento mi experiencia en el #frontend con #svelte y #typescript mientras que en el #backend estoy utilizando #actix con #rustEscucha: https://atareao.es/podcast/mi-experiencia-con-svelte-y-rust/
Feed: https://atareao.es/mp3-feed/ -
Do you need to share files quickly as short links?
Check this out! 🔥🦀 **rustypaste**: A minimal file upload/pastebin service - written in Rust.
🚀 Just released a new version that supports overriding file names!
⭐ GitHub: https://github.com/orhun/rustypaste
#rustlang #upload #server #actix #minimal #hosting #files #cloud
-
-
Обзор библиотеки Actix в Rust
Привет, Хабр! Actix появился на свет благодаря Николаю Киму, также известного в сообществе под ником fafhrd91 . Николай создал экосистему, которая позволяет строить масштабируемые, надежные веб-приложения и микросервисы. Actix основан на модели акторов, концепции, которая была впервые предложена в 1973 году для симуляции активных компонентов в распределенных системах.
-
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
-
I'll be having a short live session in a few minutes. Today I'll be focusing on server/client shared functionality with #actix #awc and #BevyEngine integration.
-
In Java and JavaScript there are libraries that ingest an #OpenAPI definition and create validations and Routes for #webservers like #expressjs or #vertx
Is there a similar library for #rust ? #RocketRS #actix #warp
-
I'll have a short live session in a few minutes to work on the #PiRats game. Today's session will be all about integrating the websocket with #actix #awc and #bevyengine... Maybe some #crossbeam. Let's see how it goes :P
-
I'll have a short live session in a few minutes to work on the #PiRats game. Today's session will be all about integrating the websocket with #actix #awc and #bevyengine... Maybe some #crossbeam. Let's see how it goes :P
-
Unfortunately I won't be able to have a live session today :C but I'll be back tomorrow to work on the multiplayer feature. We made some great progress on yesterday's session and I'm eager to wrap it up 🥳
-
I'll be having a live session to work on the #PiRats game in ~5-10 min. On today's session I will try to wrap up the multiplayer integration with #actix #awc and #bevyengine
-
I'll be having a live session to work on the #PiRats game in ~5-10 min. On today's session I will try to wrap up the multiplayer integration with #actix #awc and #bevyengine
-
I'll be having a live session in ~ 10 mins to work on the #PiRats game. On today's session I'll try to have the Websocket interactions moved to a different thread as a workaround to integrate with #BevyEngine
-
Today's session #41 is now uploaded to YouTube. 🖥️
#gamedev #indiegame #bevyengine #actix #awc #rustlang -
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/
-
CW: Rust
@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 #yew and #actix but am interested in getting my hands dirty with something #TUI based. I agree with @arialdo that making a tui git client in would be challenging.
Some tools I'm currently using include #dust https://github.com/bootandy/dust (Apache 2.0) and #fclones https://github.com/pkolaczk/fclones (MIT).
-
CW: Rust
@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 #yew and #actix but am interested in getting my hands dirty with something #TUI based. I agree with @arialdo that making a tui git client in would be challenging.
Some tools I'm currently using include #dust https://github.com/bootandy/dust (Apache 2.0) and #fclones https://github.com/pkolaczk/fclones (MIT).
-
CW: Rust
@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 #yew and #actix but am interested in getting my hands dirty with something #TUI based. I agree with @arialdo that making a tui git client in would be challenging.
Some tools I'm currently using include #dust https://github.com/bootandy/dust (Apache 2.0) and #fclones https://github.com/pkolaczk/fclones (MIT).
-
CW: Rust
@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 #yew and #actix but am interested in getting my hands dirty with something #TUI based. I agree with @arialdo that making a tui git client in would be challenging.
Some tools I'm currently using include #dust https://github.com/bootandy/dust (Apache 2.0) and #fclones https://github.com/pkolaczk/fclones (MIT).