From 1645d7ee16b62cecfd32a95ce15500d9275925b5 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Wed, 14 Feb 2024 20:51:37 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A9=B9=20book:=20Fix=20a=20404=20link?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- book/src/connection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/connection.md b/book/src/connection.md index 8fcc29945..defa79c49 100644 --- a/book/src/connection.md +++ b/book/src/connection.md @@ -75,7 +75,7 @@ cargo feature of `zbus` is enabled. [PID1]: https://www.freedesktop.org/wiki/Software/systemd/dbus/ [`futures::stream::Stream`]: https://docs.rs/futures/latest/futures/stream/trait.Stream.html [`MessageStream`]: https://docs.rs/zbus/latest/zbus/struct.MessageStream.html -[`connection::Builder::address`]: https://docs.rs/zbus/latest/zbus/connection/struct.ConnectionBuilder.html#method.address +[`connection::Builder::address`]: https://docs.rs/zbus/latest/zbus/connection/struct.Builder.html#method.address [dspec]: https://dbus.freedesktop.org/doc/dbus-specification.html#addresses [^bus-less] Unless you implemented them, none of the bus methods will exist. From 66c4a67d32c91933ebf7a53db990f6cc4a1a7db8 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Wed, 14 Feb 2024 20:55:25 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20book:=20Link=20to=20version?= =?UTF-8?q?=204=20of=20zbus=20&=20zvariant=20docs.rs=20URLs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- book/src/blocking.md | 10 +++++----- book/src/client.md | 6 +++--- book/src/connection.md | 6 +++--- book/src/faq.md | 16 ++++++++-------- book/src/server.md | 2 +- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/book/src/blocking.md b/book/src/blocking.md index 328b27991..a6e2392ef 100644 --- a/book/src/blocking.md +++ b/book/src/blocking.md @@ -197,12 +197,12 @@ fn main() -> Result<(), Box> { } ``` -[asynchronous `Connection` API]: https://docs.rs/zbus/latest/zbus/connection/struct.Connection.html -[`blocking::Connection`]: https://docs.rs/zbus/latest/zbus/blocking/connection/struct.Connection.html +[asynchronous `Connection` API]: https://docs.rs/zbus/4/zbus/connection/struct.Connection.html +[`blocking::Connection`]: https://docs.rs/zbus/4/zbus/blocking/connection/struct.Connection.html [`std::iter::Iterator`]: https://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html -[blocking module]: https://docs.rs/zbus/latest/zbus/blocking/index.html +[blocking module]: https://docs.rs/zbus/4/zbus/blocking/index.html [wkgp]: https://rust-lang.github.io/wg-async-foundations/vision/shiny_future/users_manual.html#caveat-beware-the-async-sandwich [`blocking` crate]: https://docs.rs/blocking/ -[assb]: https://docs.rs/async-std/latest/async_std/task/fn.spawn_blocking.html -[tsb]: https://docs.rs/tokio/latest/tokio/task/fn.spawn_blocking.html +[assb]: https://docs.rs/async-std/4/async_std/task/fn.spawn_blocking.html +[tsb]: https://docs.rs/tokio/4/tokio/task/fn.spawn_blocking.html [`futures::stream::Stream`]: https://docs.rs/futures/0.3.17/futures/stream/trait.Stream.html diff --git a/book/src/client.md b/book/src/client.md index 2df4a39f0..2fc591f2f 100644 --- a/book/src/client.md +++ b/book/src/client.md @@ -615,8 +615,8 @@ There you have it, a Rust-friendly binding for your D-Bus service! [`gdbus-codegen`]: https://docs.gtk.org/gio/migrating-gdbus.html#generating-code-and-docs [`pkg-config`]: https://www.freedesktop.org/wiki/Software/pkg-config/ [cob]: blocking.html -[`Stream`]: https://docs.rs/futures/latest/futures/stream/trait.Stream.html -[`Value`]: https://docs.rs/zvariant/latest/zvariant/derive.Value.html -[`OwnedValue`]: https://docs.rs/zvariant/latest/zvariant/derive.OwnedValue.html +[`Stream`]: https://docs.rs/futures/4/futures/stream/trait.Stream.html +[`Value`]: https://docs.rs/zvariant/4/zvariant/derive.Value.html +[`OwnedValue`]: https://docs.rs/zvariant/4/zvariant/derive.OwnedValue.html [^busctl]: `busctl` is part of [`systemd`](https://www.freedesktop.org/wiki/Software/systemd/). diff --git a/book/src/connection.md b/book/src/connection.md index defa79c49..879275873 100644 --- a/book/src/connection.md +++ b/book/src/connection.md @@ -73,9 +73,9 @@ cargo feature of `zbus` is enabled. [NetworkManager]: https://developer.gnome.org/NetworkManager/stable/spec.html [BlueZ]: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc [PID1]: https://www.freedesktop.org/wiki/Software/systemd/dbus/ -[`futures::stream::Stream`]: https://docs.rs/futures/latest/futures/stream/trait.Stream.html -[`MessageStream`]: https://docs.rs/zbus/latest/zbus/struct.MessageStream.html -[`connection::Builder::address`]: https://docs.rs/zbus/latest/zbus/connection/struct.Builder.html#method.address +[`futures::stream::Stream`]: https://docs.rs/futures/4/futures/stream/trait.Stream.html +[`MessageStream`]: https://docs.rs/zbus/4/zbus/struct.MessageStream.html +[`connection::Builder::address`]: https://docs.rs/zbus/4/zbus/connection/struct.Builder.html#method.address [dspec]: https://dbus.freedesktop.org/doc/dbus-specification.html#addresses [^bus-less] Unless you implemented them, none of the bus methods will exist. diff --git a/book/src/faq.md b/book/src/faq.md index 94a75e247..82fbb790a 100644 --- a/book/src/faq.md +++ b/book/src/faq.md @@ -147,16 +147,16 @@ enabled. **Note**: We hope to be able to remove #2 and #4, once [specialization] lands in stable Rust. -[`proxy::Builder::uncached_properties`]: https://docs.rs/zbus/latest/zbus/proxy/struct.Builder.html#method.uncached_properties -[`proxy::Builder::cache_properites`]: https://docs.rs/zbus/latest/zbus/proxy/struct.Builder.html#method.cache_properties -[`proxy`]: https://docs.rs/zbus/latest/zbus/attr.proxy.html +[`proxy::Builder::uncached_properties`]: https://docs.rs/zbus/4/zbus/proxy/struct.Builder.html#method.uncached_properties +[`proxy::Builder::cache_properites`]: https://docs.rs/zbus/4/zbus/proxy/struct.Builder.html#method.cache_properties +[`proxy`]: https://docs.rs/zbus/4/zbus/attr.proxy.html [tctiog]: https://github.com/tokio-rs/tokio/issues/2201 -[`Type`]: https://docs.rs/zvariant/latest/zvariant/derive.Type.html -[`SerializeDict`]: https://docs.rs/zvariant/latest/zvariant/derive.SerializeDict.html -[`DeserializeDict`]: https://docs.rs/zvariant/latest/zvariant/derive.DeserializeDict.html -[`MessageStream`]: https://docs.rs/zbus/latest/zbus/struct.MessageStream.html +[`Type`]: https://docs.rs/zvariant/4/zvariant/derive.Type.html +[`SerializeDict`]: https://docs.rs/zvariant/4/zvariant/derive.SerializeDict.html +[`DeserializeDict`]: https://docs.rs/zvariant/4/zvariant/derive.DeserializeDict.html +[`MessageStream`]: https://docs.rs/zbus/4/zbus/struct.MessageStream.html [nonull]: https://gitlab.freedesktop.org/dbus/dbus/-/issues/25 [dsi]: http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces -[`Optional`]: https://docs.rs/zvariant/latest/zvariant/struct.Optional.html +[`Optional`]: https://docs.rs/zvariant/4/zvariant/struct.Optional.html [`d-feet`]: https://wiki.gnome.org/Apps/DFeet [specialization]: https://rust-lang.github.io/rfcs/1210-impl-specialization.html diff --git a/book/src/server.md b/book/src/server.md index 51dc4e1fb..ebe5aedd6 100644 --- a/book/src/server.md +++ b/book/src/server.md @@ -354,4 +354,4 @@ iface.greeter_name_changed(iface_ref.signal_context()).await?; ``` [D-Bus concepts]: concepts.html#bus-name--service-name -[didoc]: https://docs.rs/zbus/latest/zbus/attr.interface.html +[didoc]: https://docs.rs/zbus/4/zbus/attr.interface.html