Code Review - OpenFIGI Http Client

โš“ Rust    ๐Ÿ“… 2025-07-19    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 4      

surdeus

Hey everyone,

I'm currently learning Rust and not a professional developer โ€” this crate is part of my journey to level up in idiomatic Rust and API design. I started out with Python and stumbled into Rust last year, and after building a few small tools, Iโ€™ve completely fallen for the language.

This time around, I put together a wrapper for the OpenFIGI API to simplify the process of mapping instrument identifiers like FIGI, ISIN, and CUSIP. I built the client semi-manually using reqwest and serde. Link: NotAProfDev/openfigi-rs: A modern, strongly-typed Rust client for the OpenFIGI API

I know this is a pretty general request, but Iโ€™d really appreciate a code review and any feedback youโ€™re willing to share to help me improve โ€” especially around:

  • Whether I'm writing Rust idiomatically
  • Struct and error handling design
  • Usability and ergonomics of the API
  • CI setup and testing best practices
  • Anything that could be cleaner, more robust, or more maintainable

Thanks so much in advance!

1 post - 1 participant

Read full topic

๐Ÿท๏ธ rust_feed