diesel
Attempting to update ruma-identifiers as of commit 78b0d1e to Rust 2018 and warnings related to Diesel's custom derives make me think it might not be compatible.
No warnings.
The same error for many similar types deriving FromSqlRow
:
warning: cannot find type `EventId` in this scope
--> src/lib.rs:85:39
|
85 | #[cfg_attr(feature = "diesel", derive(FromSqlRow))]
| ^^^^^^^^^^ names from parent modules are not accessible without an explicit import
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #50504 <https://github.com/rust-lang/rust/issues/50504>
cargo fix --features diesel --edition
.^ A nightly Rust is required because of the library's use of try_from
but the issue being reported is not specific to nightly.
Here's a link to the Rust issue reported in the warning: https://github.com/rust-lang/rust/issues/50504. It seems the Diesel team (or at least Sean) was already aware of this issue. Maybe now the circumstances have changed since Rust 2018 has shipped and this is now a hard error under the edition.
https://github.com/diesel-rs/diesel/issues/1785 also seems related.
That warning is already fixed on master. Release is blocked on getting a review of a few open PR's.
Most helpful comment
That warning is already fixed on master. Release is blocked on getting a review of a few open PR's.