15

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

you are viewing a single comment's thread
view the rest of the comments
[-] PushButton@lemmy.world 3 points 4 months ago

I am reinventing everything in crates that requires zero dependencies, no unsafe code and the strict minimum of macro usage.

Like I did a simple date/time library last week, I started an error management crate this week, which pushed me to start a logging crate.

I am using the "log facade" crate for the logging, for compatibility you know, but that's it.

The goal is to minimize the dependencies and create straightforward crates.

Most of the time, we really just need a car instead of the 18 wheeler.

[-] burntsushi@programming.dev 2 points 4 months ago

How are you doing a date/time library without platform dependencies like libc or windows-sys? Are you rolling your own bindings in order to get the local time zone? (Or perhaps you aren't doing that at all.)

this post was submitted on 16 Jun 2024
15 points (94.1% liked)

Rust

5980 readers
92 users here now

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)

founded 1 year ago
MODERATORS