mirror of
https://github.com/chatmail/core.git
synced 2026-04-23 00:16:34 +03:00
Update for new toml API
This commit is contained in:
@@ -640,7 +640,8 @@ impl Context {
|
||||
}
|
||||
|
||||
fn parse_webxdc_manifest(bytes: &[u8]) -> Result<WebxdcManifest> {
|
||||
let manifest: WebxdcManifest = toml::from_slice(bytes)?;
|
||||
let s = std::str::from_utf8(bytes)?;
|
||||
let manifest: WebxdcManifest = toml::from_str(s)?;
|
||||
Ok(manifest)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user