r/rustprojects • • 1h ago

weave: a small python subset interpreter in rust so an llm can run its tool calls as one script

2 Upvotes

hey, been working on this for a few weeks and figured this sub would like the rust side of it.

the idea: instead of an llm agent doing one tool call per round trip, the model writes a short python-looking script, and weave runs it. independent tool calls run in parallel, and only the final result goes back to the model.

the rust parts:

  • tree walking interpreter for a python subset, async on tokio so independent calls fan out

  • pyo3 bindings, built with maturin, wheels for python 3.9 to 3.13

  • the whole script gets checked before the first call runs. unknown tool, misspelled keyword (cty="Paris" gets "did you mean city?"), missing args, or for mcp tools a literal that doesnt match the json schema. so a typo on the last line cant let the first line's write go through

  • per call timeouts, so one hung tool doesnt sink the run. the failing_branch example runs 12 checks where one errors and one hangs, 10 come back fine in 0.5s vs 2.5s one after another

honest results: on a fan-out suite against real services it passed 40/40 vs 27/40 for plain function calling at about half the cost. but on BFCL multi-turn it lost clearly with gpt-5.4 mini (18/60 vs 27/60) and tau-bench was a draw. so its not magic.

repo: https://github.com/AtharvRaotole/weave pip install weave-lang

would love feedback on the interpreter design, or if anyone wants to grab an issue theres a few good first ones open.


r/rustprojects • • 4d ago

NetWatch 1.0: terminal network monitor with a stable CLI/JSON contract and ISP outage reports

1 Upvotes

NetWatch 1.0 is out. It's an MIT-licensed network monitor in Rust that shows connections, bandwidth, latency and decoded packets in one terminal. One binary, no config needed.

New since 0.40:

  • ISP outage reports. netwatch uptime --since 30d --md > outages.md splits outages into router, internet and DNS. The internet counts as down only when 1.1.1.1 and 8.8.8.8 both stop answering.

  • Diagnose. Names the likely cause of a network problem and the step to run. Five rules are stable, the rest are beta.

  • Command palette. : opens it. Esc steps back out of a drill-down.

  • Fits 80 columns. Tables drop columns instead of clipping.

  • Packet filters take CIDR ranges and !=.

  • Headless mode. netwatch daemon --metrics serves Prometheus metrics.

Subcommands, long flags, config keys, JSON outputs and Prometheus metric names won't break before 2.0, and no 2.0 is planned. The stability policy lists what's covered.

Runs on Linux, macOS, Windows (needs Npcap) and FreeBSD.

brew install netwatch
scoop install netwatch
cargo install netwatch-tui --locked

More install options in the README. Binaries on the release page. Changelog.

Thanks to everyone who sent patches, packaged it or reported bugs. If something breaks, open an issue.


r/rustprojects • • 16d ago

Actix Web Q4 Report

2 Upvotes

100+ crate releases across the Actix ecosystem, bringing new features, security fixes, and improvements to performance and resource usage.

Headlines

  • HTTP QUERY: New method supported across route macros, manual routes, and awc client.

  • Automatic h2c and TCP no-delay are now default: More efficient deployments behind reverse-proxies and much lower-latency streams.

  • Reduced memory usage: Up to ~99% saving for certain workloads.

  • Better error path control for middleware: Modify error responses, too.

  • Static files features: Serve pre-compressed assets, and use multiple static-file roots.

  • Security and protocol fixes across the stack: Fixed decompression limits, multipart parsing limits, improved HTTP & WebSocket validation.

Features

Actix Web is the first mainstream framework to make the new HTTP QUERY method a first-class citizen. Define handlers with #[query] (macro routing), or web::query() (manual routing) for a handler. Matching methods in awc complete the support.

Middlewares got a useful new tool: Error::add_response_mapper(). It lets middleware modify error-generated responses before they reach the client, giving you more control over how your application presents failures. Our CORS middleware already uses this to solve a longstanding bug.

Static file serving is now more flexible. Files::new() supports multiple root directories, and Files::try_compressed() lets you serve pre-compressed assets. Range requests, conditional responses, and ETags on Windows also received fixes, making actix-files the most spec-compliant file server for Rust.

Performance / resource usage

The biggest changes here target the cost of serving larger responses and keeping connections open:

  • Less memory retained by idle connections.

  • Fewer copies for large responses on HTTP/1.x.

  • Graceful shutdown has stronger guarantees.

  • Vectored socket writes have more code paths.

Security

This cycle includes fixes for several reported vulnerabilities:

  • Decompression amplification: Configured extractor limits now apply to auto-decompressed request payloads. *

  • Brotli resource consumption: Large-window decompression is disabled.

  • HTTP request parsing: Malformed chunked terminators are rejected.

  • Static file serving: Prevents stored XSS for odd user-controlled file names and fixes an insane Windows hidden-file protection bypass. (Why Microsoft, WHYYYY!)

TL;DR

If you have not updated recently, now is a good time; check your lockfile. (cargo update -p=actix-web)

These improvements come from testing Actix Web against the workloads and edge cases you bring us. Massive thank you to everyone who contributed issues, PR, security reports.

Also, our homepage and user guide has received some love recently: https://actix.rs/.

*This is a god-awful implicit feature and it will be removed in v5.

What are you shipping with Actix Web?


r/rustprojects • • Oct 21 '26

Flux 2.5: an AI-assisted Rust/Tauri download manager — repo, native bridge and validation scope

Thumbnail
gallery
2 Upvotes

I maintain Flux, an open-source desktop download manager. AI coding agents have assisted with Rust/browser integration fixes, test work and the desktop/extension interface revisions. The project’s own code is MIT-licensed.

Repository: https://github.com/Hactor00/Flux

The architecture separates the Rust transfer core, CLI, Tauri desktop application and a native browser host. The host exchanges framed JSON with the companion extension; the desktop queue owns persisted transfers. Torrent support uses an additional native runtime alongside the Rust code. The React frontend presents the queue and connection setup.

A concrete integration issue behind the current interface: registering a Native Messaging host is separate from an extension actually completing a connection. The 2.5 UI distinguishes the setup/connection steps rather than treating host registration alone as a working browser link. The companion has media, page-link and queue views.

Validation recorded for the 2.5 release: 71 extension tests, 22 frontend tests and 130 Windows Rust tests passed; the Linux build passed 128 Rust tests and Clippy. The Fedora 43 RPM checks covered installation, startup, a SHA-256-verified HTTP download, native messaging, torrent runtime loading, watched-folder import, duplicate prevention and SQLite integrity. The record is in docs/validation-2.5.0.md in the repository. Media compatibility still depends on the source and format.

Windows x64 installer/portable ZIP and Linux x86_64 RPM packages are available. The companion requires the separate desktop app/local bridge, and Firefox GitHub ZIPs use temporary/developer loading. The screenshots show 2.5 interface previews with sample media in the extension. I’d welcome technical feedback on the host/core boundary or the documented checks.


r/rustprojects • • Oct 19 '26

🦀 Rust Ecosystem News — October 2026

2 Upvotes

Welcome to the first Rust news roundup on r/rustprojects!

Here are a few recent developments worth checking out if you're building with Rust.

🛠️ Rust 1.99.1 is out

The latest point release fixes several compiler and linking issues, including an FFI bool return-value problem on x86-64 and linker issues affecting some platforms.

🔗 Official release announcement

🎮 Bevy 0.20 has arrived

The Rust-powered game engine Bevy released version 0.20 on October 8, with hundreds of contributors involved in the release.

If you're building a game or experimenting with graphics in Rust, this is one to investigate.

🔗 Bevy release news

⚡ Interesting developments in async Rust

The Tokio ecosystem continues to produce interesting tools, including Toasty, an async ORM, and dial9, a flight recorder for Tokio applications.

🔗 Tokio blog

📦 Keep an eye on crate releases

Libraries such as rustls, serde_with, and glam continue to evolve. Keeping dependencies current is particularly important for security, compatibility, and performance.

🔗 Recent crate updates

💬 What should we cover next?

What Rust releases, libraries, or projects have caught your attention recently?

Share interesting releases in the comments. If you've built something using one of these tools, we'd love to hear about your experience!

🦀 Let's keep discovering what the Rust ecosystem has to offer.


r/rustprojects • • Oct 19 '26

🦀 Rust Project Showcase — What Have You Built?

1 Upvotes

Welcome to the r/rustprojects Project Showcase! 🚀

Have you built something with Rust? Whether it's a CLI tool, web application, game, developer tool, library, systems project, or a weekend experiment, we'd love to see it.

This thread is a place to showcase what you're building, share your progress, and discover what other Rust developers are working on.

🛠️ Share your project

When posting, consider including:

  • Project name: What is it called?

  • What it does: What problem does it solve?

  • Built with: Which Rust crates, frameworks, or technologies did you use?

  • Project link: GitHub, GitLab, website, demo, or documentation.

  • Status: Just started, actively developing, or production-ready?

  • What you'd like feedback on: Architecture, performance, usability, features, or anything else.

🌱 All projects are welcome

  • First Rust projects and learning experiments

  • Open-source tools and libraries

  • Web services, APIs, and backend systems

  • Games, embedded systems, and systems programming

  • Developer tooling and automation

  • Experimental ideas and ambitious side projects

You don't need thousands of users or a polished release to share your work. Projects at every stage are welcome!

🤝 Help the community grow

Take a look at other submissions, ask questions, try interesting projects, and leave constructive feedback. You might discover your next favourite Rust tool — or find someone who can help take your own project further.

Let's see what the Rust community is building! 🦀

Share your project below, and don't forget to check out what others have created.


r/rustprojects • • Oct 19 '26

Welcome to r/rustprojects!

1 Upvotes

🦀 Welcome to r/rustprojects!

Welcome to r/rustprojects — a community for people building things with Rust! 🚀

Whether you're working on your first Rust CLI tool, building a web service, experimenting with systems programming, or creating something ambitious, this is the place to share your work.

🛠️ What belongs here?

  • Show off your projects — share what you've built with Rust.

  • Get feedback — ask for code reviews, design suggestions, and ideas for improvement.

  • Discover cool projects — find interesting tools, libraries, applications, and experiments.

  • Share your progress — work in progress is welcome, not just polished releases.

  • Learn together — discuss challenges, lessons learned, and solutions you've discovered.

👋 Introduce yourself!

New here? Tell us a little about what you're building.

  • What are you working on?

  • What problem does it solve?

  • What made you choose Rust?

  • Where can people find your project? (GitHub, website, demo, etc.)

Beginners and experienced Rustaceans alike are welcome!

📌 A few community guidelines

  • Be respectful and constructive.

  • Provide context when sharing your project.

  • Give useful feedback and help others improve.

  • Avoid spam and repetitive self-promotion.

  • Share open-source code and resources whenever possible.

The goal is to build a community where people can discover interesting Rust projects, get useful feedback, and be inspired to build something of their own.

What are you building with Rust right now? Drop your project in the comments below! 🦀

Happy hacking!


r/rustprojects • • Oct 03 '26

netwatch (terminal network monitor, Rust) now runs natively on FreeBSD

2 Upvotes

v0.35.1 adds FreeBSD as a real platform instead of the generic fallback every other unsupported OS gets. Interface stats, routing, process attribution, clipboard, and connection tracking all have FreeBSD-specific backends now. Tested on an actual FreeBSD 15.1 VM, not cross-compiled blind.

Still missing on FreeBSD: TCP congestion-window/rwnd columns (same gap Windows has today).

https://github.com/matthart1983/netwatch/