#![cfg_attr(
docsrs,
feature(doc_cfg, doc_auto_cfg, doc_cfg_hide),
doc(cfg_hide(doc))
)]
mod ext_mod_impl;
pub mod tauri_runtime;
pub mod utils;
use pyo3::prelude::*;
#[pymodule(submodule, gil_used = false, name = "pytauri")]
pub mod ext_mod {
use super::*;
#[pymodule_export]
pub use ext_mod_impl::{App, AppHandle, Context, Event, Listener, Manager, RunEvent};
pub use ext_mod_impl::{
EventId, ImplListener, ImplManager, PyAppHandleExt, PyAppHandleStateError,
PyAppHandleStateResult,
};
#[pymodule]
pub mod ipc {
use super::*;
#[pymodule_export]
pub use ext_mod_impl::ipc::{Channel, Invoke, InvokeResolver, JavaScriptChannelId};
}
#[pymodule]
pub mod webview {
use super::*;
#[pymodule_export]
pub use ext_mod_impl::webview::{Webview, WebviewWindow};
}
}