Login
You're viewing the ocw.social public feed.
  • Smallssmalls
    Oct 9, 2026, 2:39 AM

    Note to self: Don't use anyhow in your Rust library code. Yeah it makes it easy to prototype, but it makes it a bitch to go back and properly add error types.

    💬 1🔄 0⭐ 0

Replies

  • Smallssmalls
    Oct 9, 2026, 2:41 AM

    I normally don't do this. I just happened to completely YOLO error handling for this one project.

    💬 1🔄 0⭐ 0
  • Smallssmalls
    Oct 9, 2026, 2:48 AM

    What could go wrong? You won't have one large PR covering all of that later on... For one crate in the workspace.

    A code repository change summary showing that 29 files were changed with 878 lines added in green and 327 lines removed in red, represented alongside a horizontal bar chart with a larger green section indicating more additions than deletions on a dark background.
    💬 0🔄 0⭐ 0