this post was submitted on 16 Jun 2024
14 points (93.8% liked)

Rust

6025 readers
1 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
 

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 5 months ago (1 children)

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 5 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.)