Port to matrix-rust-sdk-crypto#820
Conversation
2bf6831 to
f01f524
Compare
0796120 to
c76e066
Compare
a07274a to
8c33951
Compare
453f6cc to
8e4ad29
Compare
214ccab to
d3814ed
Compare
0c7f343 to
b300831
Compare
0f8fc8b to
fea61b9
Compare
c43999c to
dd68852
Compare
b31e9ba to
5e9f114
Compare
85ec3d8 to
0a6f2e8
Compare
c16795f to
812256d
Compare
redstrate
left a comment
There was a problem hiding this comment.
Initial review drop, will do more when I'm feeling better
| impl BackupRequest { | ||
| pub(crate) fn transaction_id(&self) -> String { | ||
| self.transaction_id | ||
| .clone() |
There was a problem hiding this comment.
nit: Do these functions (and ditto) need to use clone? Clippy would tell you I guess.
|
Do we want #863 in before this or can they be merged unrelated to each other? |
I guess that doesn't matter too much, whichever goes in later must be adapted |
|
So currently when I try to verify my session with NeoChat it all starts fine but no emojis appear once both sides have started |
|
I've been using this for months and haven't noticed which in this case is great. It's worlds better than where we are now. I think we ship this. |
KitsuneRal
left a comment
There was a problem hiding this comment.
Functionally, this looks very reasonable overall by now. Thanks for the huge work done! The only thing I discovered is actually in the build configuration. There's something off with the path to lib.rs.h because my initial attempt to build the PR failed because the compiler couldn't find the header (despite it having been generated obviously). Also, the fact that it relies on a very new Corrosion version that has to be manually installed is a bit unfortunate; but I really don't know if we should wait for it to land in distro repos or just commit the generated files instead... which might solve the lib.rs.h path problem along the way, too?
|
Ugh, thought the header generation thing was fixed. Weird that it works fine on the CI, then... I'll have a look tomorrow. WRT corrosion, i think we should just ship it like it is now. The best way to make a distro update a dependency is to just enforce it. |
|
I really don't know what's up with lib.rs.h... It works completely fine here. Is there anything you can say about when it is (and isn't) failing for you? |
|
Right; I really should've given more than just a "doesn't build here" note. Buut, now that I tried to build it from clean slate, one more thing surfaced:
|
|
Without testing, IIRC you can specify a "*" and Cargo should be smart enough to pick the version used by the other crates. |
|
Fixed by not depending on vodozemac directly. |
|
Hm, that seemed to work although when I tried the same locally before it was complaining about not finding the crate. Whatever works. |
|
I don't want to hold it off for another month while I'm away; so I guess that's it. |
No description provided.