Commit 3c75741c89
Unsigned
Layout: unified · split
src/config.rs +1
| @@ -14,6 +14,7 @@ | ||
| 14 | 14 | //! The config options created here will be alive as long as the plugin is |
| 15 | 15 | //! loaded so they don't need to be freed manually. The drop implementation of |
| 16 | 16 | //! the section will do so. |
| 17 | ||
| 17 | 18 | use crate::{MatrixServer, Servers}; |
| 18 | 19 | use weechat::config::{ |
| 19 | 20 | Conf, ConfigOption, ConfigSection, ConfigSectionSettings, OptionChanged, |
src/server.rs +1
| @@ -50,6 +50,7 @@ | ||
| 50 | 50 | //! The response receiver forwards events to the correct room. The response |
| 51 | 51 | //! receiver fetches events individually from a mpsc channel. This makes sure |
| 52 | 52 | //! that processing events will not block the Weechat mainloop for too long. |
| 53 | ||
| 53 | 54 | use async_std::sync::channel as async_channel; |
| 54 | 55 | use async_std::sync::{Receiver, Sender}; |
| 55 | 56 | use std::cell::{Ref, RefCell}; |