| Crates.io | everything-plugin |
| lib.rs | everything-plugin |
| version | 0.3.0 |
| created_at | 2025-06-10 09:20:21.534197+00 |
| updated_at | 2025-09-02 22:03:28.693957+00 |
| description | Rust binding for Everything's plugin SDK |
| homepage | https://github.com/Chaoses-Ib/IbEverythingLib |
| repository | https://github.com/Chaoses-Ib/IbEverythingLib |
| max_upload_size | |
| id | 1706884 |
| size | 205,338 |
Rust binding for Everything's plugin SDK.
Features:
Example:
mod options;
#[derive(Serialize, Deserialize, Debug, Default)]
pub struct Config {
s: String,
}
pub struct App {
config: Config,
}
impl PluginApp for App {
type Config = Config;
fn new(config: Option<Self::Config>) -> Self {
Self {
config: config.unwrap_or_default(),
}
}
fn config(&self) -> &Self::Config {
&self.config
}
fn into_config(self) -> Self::Config {
self.config
}
}
plugin_main!(App, {
PluginHandler::builder()
.name("Test Plugin")
.description("A test plugin for Everything")
.author("Chaoses-Ib")
.version("0.1.0")
.link("https://github.com/Chaoses-Ib/IbEverythingLib")
.options_pages(vec![
OptionsPage::builder()
.name("Test Plugin")
.load(ui::winio::spawn::<options::MainModel>)
.build(),
])
.build()
});
.cargo/config.toml:
[target.'cfg(all(target_os = "windows", target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]
Increase build size by ~100 KiB.
.\Everything64.exe -debug
Unlike -debug, -debug-log doesn't work with stdout/stderr outputs.