pub struct Config {
pub manifest_url: Option<String>,
pub pubkeys: Vec<String>,
pub enabled: bool,
}Expand description
plugins.hot-update in tauri.conf.json.
Fields§
§manifest_url: Option<String>URL of manifest.json. The detached signature is fetched from
{manifestUrl}.minisig, so this must be a plain file URL with no
query string. Required when enabled is true.
pubkeys: Vec<String>Trusted minisign public keys — raw base64 (RW…) or full
minisign.pub file contents. A manifest verifying under ANY key is
trusted (ship old + new keys during a rotation). At least one is
required when enabled is true.
enabled: boolDark-ship switch: register the plugin but keep it inert. When false, no update is ever checked or served — the app runs on its embedded assets exactly as if the plugin were absent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more