rethinkdb / rethinkdb-rs

A native RethinkDB driver written in Rust
Apache License 2.0
210 stars 27 forks source link

0.0.15 cannot compile on stable. #26

Closed ghost closed 6 years ago

rushmorem commented 6 years ago

Yes, I'm aware of this. Unfortunately, from 0.0.15 onwards, compiling on stable will no longer be supported until proc_macro and proc_macro_non_items are stabilised. I was using the proc-macro-hack crate to make it work on stable, which no longer works due to https://github.com/dtolnay/proc-macro-hack/issues/15 which was caused by https://github.com/rust-lang/rust/issues/46478. This only affects the args macro.

At the moment, 0.0.15 itself is not yet released. I will move the args macro out to a new reql-macros crate, so if you don't need to use that macro, the reql itself should continue to work on stable.

rushmorem commented 6 years ago

The latest version on crates.io is now 0.0.16. Both 0.0.15 and 0.0.16 compile on stable just fine. However, if you need to use the args macro you will also need reql-macros which only works on the latest nightlies. Here are some examples of the macro in use.