Skip to content

Commit

Permalink
Fix no default features build
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Sep 13, 2024
1 parent 3910422 commit 36acfa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commons/zenoh-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ fn config_keys() {
/// are currently supported, please use the proper extension for your format as the deserializer
/// will be picked according to it).
#[derive(Default)]
#[cfg_attr(feature = "internal", allow(dead_code))]
pub struct Config(InternalConfig);

impl Config {
Expand All @@ -255,7 +256,7 @@ impl Config {
}

#[zenoh_macros::internal]
impl Deref for Config {
impl std::ops::Deref for Config {
type Target = InternalConfig;

fn deref(&self) -> &Self::Target {
Expand Down

0 comments on commit 36acfa3

Please sign in to comment.