Are the README examples outdated? #857
-
I ask because the line from README here: use zbus::{connection, interface}; immediatelly gives me error like: error[E0603]: module `connection` is private
--> /home/user/sandbox/rust/05_sandbox/dbus/custom_dbus_polkitd/src/main.rs:3:12
|
3 | use zbus::{connection, interface};
| ^^^^^^^^^^ private module
|
note: the module `connection` is defined here
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-3.15.2/src/lib.rs:69:1
|
69 | mod connection;
| ^^^^^^^^^^^^^^
error[E0603]: module `interface` is private
--> /home/user/sandbox/rust/05_sandbox/dbus/custom_dbus_polkitd/src/main.rs:3:24
|
3 | use zbus::{connection, interface};
| ^^^^^^^^^ private module
|
note: the module `interface` is defined here
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-3.15.2/src/lib.rs:83:1
|
83 | mod interface;
| ^^^^^^^^^^^^^ |
Beta Was this translation helpful? Give feedback.
Answered by
zeenix
Jun 22, 2024
Replies: 1 comment 4 replies
-
They are current and they're even checked as part of our |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Perhaps you're using an old version of zbus which happens to have
interface
internally for something? 🤔 Latest is 4.