diff --git a/examples/examples/z_pub.rs b/examples/examples/z_pub.rs index 56584f53c4..9f84ba118f 100644 --- a/examples/examples/z_pub.rs +++ b/examples/examples/z_pub.rs @@ -14,7 +14,7 @@ use std::time::Duration; use clap::Parser; -use zenoh::{encoding::Encoding, key_expr::KeyExpr, prelude::*, Config}; +use zenoh::{bytes::Encoding, key_expr::KeyExpr, prelude::*, Config}; use zenoh_examples::CommonArgs; #[tokio::main]