XAMPPRocky / fluent-templates

Easily add Fluent to your Rust project.
Apache License 2.0
137 stars 29 forks source link

Fix compile error with flume 0.7.2 #18

Closed technic closed 4 years ago

technic commented 4 years ago

The Sender should be first cloned and then moved to the worker thread. Otherwise the Sender requires to be Sync, which is not needed for mpsc.

I am not sure whether I should bump version in Cargo.toml. On my local machine it didn't want to update.

XAMPPRocky commented 4 years ago

Thank you for your PR!