Skip to content

Commit

Permalink
Merge pull request #171 from zeenix/fdo-no-docs-in-introspection
Browse files Browse the repository at this point in the history
⚡️ Drop docs generation in fdo interfaces
  • Loading branch information
zeenix authored Nov 12, 2024
2 parents aa3acbc + 9ff643c commit cc1f211
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
28 changes: 12 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ name = "busd"
path = "src/bin/busd.rs"

[dependencies]
#zbus = { git = "https://github.com/dbus2/zbus/", features = [
zbus = { version = "5.0", features = [
zbus = { git = "https://github.com/dbus2/zbus/", features = [
#zbus = { version = "5.0", features = [
"tokio",
"bus-impl",
], default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/fdo/dbus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl DBus {
}
}

#[interface(interface = "org.freedesktop.DBus")]
#[interface(interface = "org.freedesktop.DBus", introspection_docs = false)]
impl DBus {
/// This is already called & handled and we only need to handle it once.
async fn hello(
Expand Down
5 changes: 4 additions & 1 deletion src/fdo/monitoring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ impl Monitoring {
}
}

#[interface(interface = "org.freedesktop.DBus.Monitoring")]
#[interface(
interface = "org.freedesktop.DBus.Monitoring",
introspection_docs = false
)]
impl Monitoring {
async fn become_monitor(
&self,
Expand Down

0 comments on commit cc1f211

Please sign in to comment.