-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
68 lines (61 loc) · 1.62 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "ksni"
version = "0.3.1"
authors = ["iovxw <[email protected]>"]
edition = "2021"
rust-version = "1.80"
description = """
A Rust implementation of the KDE/freedesktop StatusNotifierItem specification
"""
repository = "https://github.com/iovxw/ksni"
keywords = ["systray", "linux", "gui"]
categories = ["api-bindings"]
license = "Unlicense"
[features]
default = ["tokio"]
blocking = ["dep:once_cell"]
tokio = ["dep:tokio", "zbus/tokio"]
async-io = [
"dep:async-io",
"dep:async-lock",
"dep:async-executor",
"dep:futures-lite",
"dep:futures-channel",
"dep:once_cell",
"zbus/async-io",
]
[dependencies]
paste = "1"
futures-util = "0.3"
zbus = { version = "5", default-features = false }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["rt", "macros"], optional = true }
async-io = { version = "2", optional = true }
async-lock = { version = "3", optional = true }
async-executor = { version = "1", optional = true }
futures-lite = { version = "2", optional = true }
futures-channel = { version = "0.3", optional = true }
once_cell = { version = "1", optional = true }
[dev-dependencies]
smol = "2"
smol-macros = "0.1"
macro_rules_attribute = "0.2"
image = "0.25"
[[example]]
name = "async"
required-features = ["tokio"]
doc-scrape-examples = true
[[example]]
name = "async_smol"
required-features = ["async-io"]
doc-scrape-examples = false
[[example]]
name = "blocking"
required-features = ["blocking"]
doc-scrape-examples = true
[[example]]
name = "custom_icon"
required-features = ["tokio"]
doc-scrape-examples = true
[package.metadata.docs.rs]
features = ["blocking"]