Rust programing language®
430 subscribers
14 photos
150 links
rust programing channel
Download Telegram
#RustChallenge:

What is the output?

A. It will print kernel

B. It will give a compilation error (explain why)

C. It will give a runtime error (explain why)

#rustlang #rust
🤖WHAT IS RIGHT ANSWER🤖 bip bop
Final Results
54%
A
26%
B
20%
C
git-dive is for better understanding why a change was made. Frequently, we work on code bases we didn't start which have too little documentation. Even worse if the original authors are not around. git-blame is an invaluable tool for this but it requires a lot of ceremony to get the information you need.
https://crates.io/crates/git-dive
#RustChallenge:

🦀 #RustQuiz

What is the result?

A. Prints
Rust is Awsome

B. Compilation error
C. Runtime error
👍4
what is right answer ???
Anonymous Quiz
58%
A
29%
B
13%
C
6
Introducing hatch - a capability-based sandbox for MCP

Github repo

Hatch is a capability-based sandbox for MCP (Model Context Protocol) servers on Linux and macOS. Each server runs under a signed TOML manifest that declares its network destinations, filesystem paths, subprocess permissions, and per-tool argument rules in a CEL subset, enforced by user/mount/pid/net namespaces + cgroups + iptables on Linux and sandbox-exec + PF on macOS, plus an SNI-filtering proxy and DNS allowlist for egress. The threat model is the contract: "what hatch does NOT protect against" sits right next to "what it does."

via DEV Community: rust (author: Irfan)
1
A tiny Rust CLI I made while learning the language

I'm still pretty new to Rust, and I find I learn best by building small things. So here's one: isdown — a little CLI that checks if services like GitHub, Slack, AWS, or Cloudflare are having issues.

$ isdown check github slack

GitHub: Up
Slack: Degraded
· Slow API (investigating)

It just queries each service's public status endpoint — no API keys or setup. You can also pass any URL, or add --json for scripting.

cargo install --path .

It's nothing groundbreaking, but it gave me a reason to actually use clap, reqwest, async, and a bit of macro magic for the provider registry. I learned a lot, and I'm sure there's plenty I got wrong.

Repo: https://github.com/dariush624/isdown

If you spot something that could be better, I'd genuinely love the feedback — issues and PRs are very welcome. 🙏

via DEV Community: rust (author: Dariush Moshiri)