this post was submitted on 16 Jun 2024
15 points (94.1% liked)
Rust
5981 readers
42 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
How are you doing a date/time library without platform dependencies like
libc
orwindows-sys
? Are you rolling your own bindings in order to get the local time zone? (Or perhaps you aren't doing that at all.)