Is it possible to use Diesel schema macros with Rust 2018?

Diesel seems to be the only real database abstraction layer that is in a real state of completion. The problem is, though, following their guide (even when using new package import style) just results in missing macro errors for the generated schema file. After adding the «public» macro use statements, I just get more missing errors for «private» macros.

Is there any practical way of using Diesel with (stable) Rust 2018, or do I just have to wait for their next major release to be able to use Diesel?

Is it possible to use Diesel schema macros with Rust 2018? from rust

Otras citas
  • Si se me diera la oportunidad de hacer un regalo a la siguiente generación, sería la capacidad de reírse cada cual de sí mismo.

  • La televisión es un nuevo medio. Se le llama medio porque no está terminado del todo.

  • Si quieres tener paz, no hables con tus amigos. Habla con tus enemigos.

  • Cada cosa tiene su belleza, pero no todos pueden verla.

  • Es desgracia habitual de los ineptos la de engañarse al elegir profesión, al elegir amigos y al elegir casa.

0 comentarios

Dejar un comentario

¿Quieres unirte a la conversación?
Siéntete libre de contribuir!

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *