Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

6 points

I’m working on a simple and hackable static site generator, stagnant. I wanted a static site generator that utilized html for templates, so I built it myself to learn rust a bit better.

permalink
report
reply
5 points
Deleted by creator
permalink
report
reply
2 points

Did one of the legs Rust out?

permalink
report
parent
reply
4 points

Working on a blog(entirely for fun), found out the server backend, actix-web, does not handle early termination of a stream well. Wanted to stop an upload if the file size turned out to be too large, but you have to consume the entire upload before returning an error. If not the client will never see the connection close. I guess there is a way to check the size beforehand, but sucks that you can’t stop a stream in progress.

Apparently a long standing issue.

permalink
report
reply
2 points

Whoa. Yeah, I can see where that would be a problem…

permalink
report
parent
reply
4 points

I’m working through rust-exercises.com and taking notes on my thoughts. I may or may not want to use it for a short workshop at work - mostly for fun, since I work with a very different stack.

So far, I don’t know if I like the exercises, because the target audience doesn’t feel like it’s clearly defined: you both solve is_even with an if/else and overflow an i8 to -1. I don’t think I’ve met the person who is that inexperienced and that knowledgeable…

How are folks liking these exercises?

permalink
report
reply
3 points

Never heard of it. I used the Rust book when I started learning it.

permalink
report
parent
reply
1 point

I used that and Rustlings and really liked both, but somebody mentioned this and I decided to take a look. It’s cool that it introduces other concepts.

permalink
report
parent
reply
3 points

I’m working on a music player app written in libcosmic. Trying to see how far I can get with this toolkit.

permalink
report
reply

Rust

!rust@programming.dev

Create post

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

Community stats

  • 616

    Monthly active users

  • 800

    Posts

  • 3.2K

    Comments