(&self)
| 87 | } |
| 88 | |
| 89 | pub fn version(&self) { |
| 90 | let version = GuiResponse::Version { |
| 91 | date: env!("VERGEN_BUILD_DATE").to_string(), |
| 92 | version: format!("{}-{}", env!("CARGO_PKG_VERSION"), env!("VERGEN_SHA_SHORT")), |
| 93 | }; |
| 94 | self.send(&version); |
| 95 | } |
| 96 | |
| 97 | pub fn config(&self) { |
| 98 | let s = config().read().unwrap().current(); |