Connecting Rust to IBM Informix Database

Hi. Rust newbie here.

I'm building a REST API in Rust and is using IBM Informix database.

I wonder if anyone has experience connecting Rust to Informix?

I found a way to use ODBC, but it may not be a good approach. Found an open db driver in Github but only for nodejs, python, perl, php, ruby. Another way is using ibm_db but it's only for IBM DB2. I read that DB2 is not same as Informix.

Appreciate if anyone can help.

Rust can use ODBC, so it may be a good approach actually.

https://crates.io/crates/odbc

why would odbc not a good way?

it is the most common way (read: quick & dirty) of connecting to a db server.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.