-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (70 loc) · 1.98 KB
/
Cargo.toml
File metadata and controls
77 lines (70 loc) · 1.98 KB
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
69
70
71
72
73
74
75
76
77
[package]
name = "busd"
version = "0.5.0"
authors = ["Zeeshan Ali Khan <zeeshanak@gnome.org>"]
description = "A D-Bus bus (broker) implementation"
edition = "2021"
license = "MIT"
readme = "README.md"
rust-version = "1.74"
repository = "https://github.com/z-galaxy/busd"
keywords = ["D-Bus", "DBus", "IPC"]
categories = ["network-programming"]
exclude = ["LICENSE"]
[lib]
name = "busd"
path = "src/lib.rs"
[[bin]]
name = "busd"
path = "src/bin/busd.rs"
[dependencies]
# TODO: Switch back to a crates-io version once zbus releases a version with
# `Builder::build_message_stream`. See https://github.com/z-galaxy/zbus/pull/1760.
zbus = { git = "https://github.com/z-galaxy/zbus", features = [
"tokio",
"bus-impl",
], default-features = false }
tokio = { version = "1.37.0", features = [
"macros",
"rt-multi-thread",
"signal",
"tracing",
] }
clap = { version = "4.5.4", features = [
"derive",
"std",
"help",
], default-features = false }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = [
"env-filter",
"fmt",
"ansi",
], default-features = false, optional = true }
anyhow = "1.0.82"
# Explicitly depend on serde to enable `rc` feature.
serde = { version = "1.0.200", features = ["rc"] }
futures-util = { version = "0.3.30", default-features = false }
enumflags2 = "0.7.9"
console-subscriber = { version = "0.5.0", optional = true }
xdg-home = "1.1.0"
event-listener = "5.3.0"
fastrand = "2.2.0"
quick-xml = { version = "0.39.0", features = ["serialize"] }
rustix = { version = "1.1.2", default-features = false, features = ["process"] }
[features]
default = ["tracing-subscriber"]
[dev-dependencies]
ntest = "0.9.2"
rand = "0.10.0"
futures-util = { version = "0.3.30", default-features = true }
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = "s"
panic = "abort"
# generates a separate *.dwp/*.dSYM so the binary can get stripped
split-debuginfo = "packed"
strip = "symbols"
# No one needs an undebuggable release binary
debug = "full"