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

  • PushButton@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    6 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
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 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.)