Show HN: Xcom-rs – a Rust client library for the x.com API (github.com)

1 points by tumf ↗ HN
xcom-rs is an async Rust client for the x.com API.

Design principles: - Zero unnecessary abstraction - Strong typing over dynamic JSON - Clear separation between transport and domain logic - Composable request builders

Looking for feedback on: - Error handling patterns - Versioning strategy - Public API surface design

Happy to answer questions.

1 comment

[ 2.7 ms ] story [ 15.5 ms ] thread
You didn't specify branding, but I reckon its name is part of the "public API surface design," so: wouldn't `twitter-rs` be a more effective choice? If not for the fact that, despite Mr. Musk's names, people are far more likely to immediately associate `twitter` than `x` with the social network, but also because you'd be less likely to get bug reports for OpenXcom. [0]

[0] https://openxcom.org/