der: introduce OwnedtoRef/RefToOwned traits#797
Conversation
|
Guess I'll need to gate those to v1.65 since I'm making use of GAT (didn't even realize that) |
|
MSRV bump to 1.65 seems aggressive but probably fine as 1.66 will be out momentarily and it will still be several months before these crates are released |
|
I think I like the rustversion macro (https://github.com/dtolnay/rustversion) a lot for that. |
|
I like the situation though: The syntax moved from (1.60) to (at least 1.65) and it's now a warning. |
3c3d3a6 to
ae22f5f
Compare
|
I’m fine with bumping the MSRV outright. I’d prefer to avoid additional complexity just to preserve an arbitrary MSRV. |
85bc205 to
316036c
Compare
|
@baloo can you rebase? |
efe08f5 to
8334d10
Compare
|
D'oh, got the MSRV wrong in the commit message. Mea culpa. |
This introduces the two new traits to go from a ref object to an owned object as discussed in #796
closes #796