| 1 |
[package] |
| 2 |
name = "quasi-notifs" |
| 3 |
version = "0.109.0" |
| 4 |
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" |
| 5 |
edition.workspace = true |
| 6 |
rust-version.workspace = true |
| 7 |
authors.workspace = true |
| 8 |
repository.workspace = true |
| 9 |
license.workspace = true |
| 10 |
publish = false |
| 11 |
|
| 12 |
[lints] |
| 13 |
workspace = true |
| 14 |
|
| 15 |
[features] |
| 16 |
default = [] |
| 17 |
# Produce a `synckit_config::ConfigSpec` from a registry. Optional because |
| 18 |
# synckit-config carries a bundled SQLite, and an app that only declares kinds |
| 19 |
# should not link one to do it. |
| 20 |
synckit = ["dep:synckit-config"] |
| 21 |
# Produce the described settings pane. Optional for the same shape of reason: |
| 22 |
# the declaration is dep-free by design, and an app delivering notifications |
| 23 |
# without describing a pane for them should not take the description suite. |
| 24 |
describe = ["dep:quasi-router"] |
| 25 |
# Deliver through `tauri-plugin-notification`. The third instance of the same |
| 26 |
# shape: an app that only declares kinds should not link a notification plugin |
| 27 |
# to do it, and one that delivers on a terminal should not link tauri. |
| 28 |
tauri = ["dep:tauri", "dep:tauri-plugin-notification"] |
| 29 |
|
| 30 |
[dependencies] |
| 31 |
quasi-router = { path = "../quasi-router", version = "0.109", optional = true } |
| 32 |
synckit-config = { git = "https://makenot.work/git/max/synckit.git", version = "0.2", optional = true } |
| 33 |
tauri-plugin-notification = { version = "2.3.3", optional = true } |
| 34 |
# Default features off, for `quasi-tauri`'s reason: this takes an `AppHandle` |
| 35 |
# and the plugin extension that hangs off it, and nothing else. An app brings |
| 36 |
# the features it wants, and a delivery adapter should not be what turns on a |
| 37 |
# tray icon or a devtools build. |
| 38 |
tauri = { version = "2.11.5", default-features = false, optional = true } |
| 39 |
|
| 40 |
[dev-dependencies] |
| 41 |
# The `tauri` feature's doctest names a concrete `Runtime`, and `Wry` is behind |
| 42 |
# a default feature this crate does not otherwise ask for. Only the example |
| 43 |
# needs it: nothing in the test module builds a window, which is what keeps the |
| 44 |
# tests runnable with no display. Carried over from `quasi-tauri`, where the |
| 45 |
# adapter used to live. |
| 46 |
tauri = { version = "2.11.5" } |
| 47 |
|