[package] name = "quasi-notifs" version = "0.109.0" description = "Declared notification kinds and the registry that holds them: what a notification says and what it is for, apart from how it reaches a person" edition.workspace = true rust-version.workspace = true authors.workspace = true repository.workspace = true license.workspace = true publish = false [lints] workspace = true [features] default = [] # Produce a `synckit_config::ConfigSpec` from a registry. Optional because # synckit-config carries a bundled SQLite, and an app that only declares kinds # should not link one to do it. synckit = ["dep:synckit-config"] # Produce the described settings pane. Optional for the same shape of reason: # the declaration is dep-free by design, and an app delivering notifications # without describing a pane for them should not take the description suite. describe = ["dep:quasi-router"] # Deliver through `tauri-plugin-notification`. The third instance of the same # shape: an app that only declares kinds should not link a notification plugin # to do it, and one that delivers on a terminal should not link tauri. tauri = ["dep:tauri", "dep:tauri-plugin-notification"] [dependencies] quasi-router = { path = "../quasi-router", version = "0.109", optional = true } synckit-config = { git = "https://makenot.work/git/max/synckit.git", version = "0.2", optional = true } tauri-plugin-notification = { version = "2.3.3", optional = true } # Default features off, for `quasi-tauri`'s reason: this takes an `AppHandle` # and the plugin extension that hangs off it, and nothing else. An app brings # the features it wants, and a delivery adapter should not be what turns on a # tray icon or a devtools build. tauri = { version = "2.11.5", default-features = false, optional = true } [dev-dependencies] # The `tauri` feature's doctest names a concrete `Runtime`, and `Wry` is behind # a default feature this crate does not otherwise ask for. Only the example # needs it: nothing in the test module builds a window, which is what keeps the # tests runnable with no display. Carried over from `quasi-tauri`, where the # adapter used to live. tauri = { version = "2.11.5" }