Entradas

Practical Rust Web Development – Authentication

https://dev.to/werner/practical-rust-web-development-authentication-3ppg

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