Code Review - OpenFIGI Http Client
โ Rust ๐ 2025-07-19 ๐ค surdeus ๐๏ธ 19Hey 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
๐ท๏ธ rust_feed