Our great sponsors
-
err-as-you-go
Discontinued Generate enum variants inline [Moved to: https://github.com/aatifsyed/errgo]
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
- https://github.com/aatifsyed/err-as-you-go
I strongly recommend that anybody creating new error types for public APIs read Study of std::io::Error by u/matklad to see some ways that error types can [need to] be future-proofed. I don't know if cargo-semver-checks can catch these issues when they're generated by a macro, but it'd be something people using this crate should carefully look into.
Which I think is very fair. What do you think of this change: https://github.com/aatifsyed/errgo/commit/0ac37ecb9f98d45c9fd2c51a5b8e66c0e537e6e2
Related posts
- Ask HN: What have you built with ESPHome, ESP8266 or similar hardware
- Show HN: Is_ready – Wait for many services to become available – 0 Dependencies
- Exploring Rust and SDL2 and Emscripten: A Showcase of SDL2 Extensions
- 3 years of fulltime Rust game development, and why we're leaving Rust behind
- Interaction Calculus