Implement this trait to become SQL table?

Does there exist a crate C, exporting some trait Sql_Table_T where

  1. let S be any rust struct / enum

  2. we do "impl Sql_Table_T for S { ... }"

  3. now we can query / modify S with SQL commands


  1. I'm not looking for MySql / Postgres. I want something in process.

  2. I am not looking for Sqlite. I want Rust, not sqlite, to be the "main source of truth" with regards to the data in the table.

No idea, but the pg_parse crate seems relevant.

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.