LDN.RS Learning and Hacking #2 Looking for questions to add to the Rust FAQ

Diesel 0.16 released

Important changes/new features:

  • A call to joinable! is needed to indicate two tables can be joined. It is added automatically by infer_schema! and is now part of the output of diesel print-schema
  • You can alias column names, e.g. to make them valid Rust identifiers (again, schema inference does this automatically for you by appending an underscore)
  • Schema inference will now generate doc comments. You can get the same with output with diesel print-schema --with-docs
  • New type support: Decimal, Blob, and Datetime for MySQL, Range types for Postgres

More details in the changelog.