#![cfg_attr(feature = "fail-on-warnings", deny(warnings))]
#![warn(clippy::all, clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]
pub mod envelope;
pub mod offline_snapshot;
use std::path::PathBuf;
bmux_plugin_schema_macros::schema! {
source: "bpdl/snapshot-plugin.bpdl",
}
#[derive(Debug, Clone)]
pub struct SnapshotPluginConfig {
pub snapshot_path: PathBuf,
pub debounce_ms: u64,
}
impl SnapshotPluginConfig {
#[must_use]
pub const fn new(snapshot_path: PathBuf, debounce_ms: u64) -> Self {
Self {
snapshot_path,
debounce_ms,
}
}
}