Rust Programming

!rust

@lemmy.ml
Create post
st7567_rs driver is updated with a fixed image drawing

st7567_rs driver is updated with a fixed image drawing

#rust folks it's supposed to throw this error without lazy_static crate , but it doesn't?

#rust folks it's supposed to throw this error without lazy_static crate , but it doesn't?

#rust folks it's supposed to throw this error without lazy_static crate , but it doesn't?
https://git.sr.ht/~carnotweat/morning-rust/tree/main/item/sum.rs#L14
cc @rust @learningrustandlemmy

GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human-readable representation

GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human-readable representation

Open link in next tab

GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human readable representation

https://github.com/Atreyagaurav/numrng

Terminal Command to generate list of numbers from human readable representation - Atreyagaurav/numrng

GitHub - Atreyagaurav/numrng: Terminal Command to generate list of numbers from human readable representation
GitHub - Atreyagaurav/local-mpv: Run MPV with a webserver to control from local network

GitHub - Atreyagaurav/local-mpv: Run MPV with a webserver to control from local network

Stdin takes in values from before my code even starts. How do I prevent this?

Stdin takes in values from before my code even starts. How do I prevent this?

For context, I am using the libraries bevy and print_typewriter.

I noticed that before the program even starts, I am able to type in characters. This is bad, since when I ask for the user's input, the previous characters are included inside of it.

How do I make sure that only the user's input after the program starts, and after I print a question gets in?

Jiff is a new date-time library for Rust that encourages you to jump into the pit of success

Jiff is a new date-time library for Rust that encourages you to jump into the pit of success

Open link in next tab

GitHub - BurntSushi/jiff: A date-time library for Rust that encourages you to jump into the pit of success.

https://github.com/BurntSushi/jiff

A date-time library for Rust that encourages you to jump into the pit of success. - BurntSushi/jiff

GitHub - BurntSushi/jiff: A date-time library for Rust that encourages you to jump into the pit of success.
Anyone looking for a fun small rust project? Create a crate for cleaning urls, based on the ClearUrls project

Anyone looking for a fun small rust project? Create a crate for cleaning urls, based on the ClearUrls project

This would entail:

  • Pulling in the ClearUrls rules as a git submodule.
  • Reading / transforming the json there into Rust structs.
  • Creating a Rust crate that runs a .clean(input_url) -> String

Lemmy issue: https://github.com/LemmyNet/lemmy/issues/4905

Diesel-Async 0.5.0 released, with SQLite support

Diesel-Async 0.5.0 released, with SQLite support

Open link in next tab

Release Diesel-Async 0.5.0 · weiznich/diesel_async

https://github.com/weiznich/diesel_async/releases/tag/v0.5.0

Added type diesel_async::pooled_connection::mobc::PooledConnection MySQL/MariaDB now use CLIENT_FOUND_ROWS capability to allow consistent behaviour with PostgreSQL regarding return value of UPDATe ...

Release Diesel-Async 0.5.0 · weiznich/diesel_async
Linux when? Linux now. - Zed Blog

Linux when? Linux now. - Zed Blog

Open link in next tab

Linux when? Linux now. - Zed Blog

https://zed.dev/blog/zed-on-linux

We've stabilized our Linux build, download it today!

Linux when? Linux now. - Zed Blog