Skip to content

Commit

Permalink
removed unnecessary features from zenoh-plugin-trait to avoid unexpec…
Browse files Browse the repository at this point in the history
…ted compatibilty errors
  • Loading branch information
milyin committed Jan 13, 2025
1 parent 573409f commit 0a55afe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 0 additions & 3 deletions plugins/zenoh-plugin-trait/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ license = { workspace = true }
categories = { workspace = true }
description = { workspace = true }

[features]
default = []

[lib]
name = "zenoh_plugin_trait"

Expand Down
4 changes: 0 additions & 4 deletions plugins/zenoh-plugin-trait/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ pub use plugin::{
PluginStartArgs, PluginState, PluginStatus, PluginStatusRec,
};
pub use vtable::{PluginLoaderVersion, PluginVTable, PLUGIN_LOADER_VERSION};
use zenoh_util::concat_enabled_features;

pub const FEATURES: &str =
concat_enabled_features!(prefix = "zenoh-plugin-trait", features = ["default"]);

#[doc(hidden)]
pub mod export {
Expand Down
4 changes: 2 additions & 2 deletions plugins/zenoh-plugin-trait/src/vtable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
use zenoh_result::ZResult;

use crate::{Plugin, StructVersion, FEATURES};
use crate::{Plugin, StructVersion};

pub type PluginLoaderVersion = u64;
pub const PLUGIN_LOADER_VERSION: PluginLoaderVersion = 1;
Expand All @@ -31,7 +31,7 @@ impl<StartArgs, Instance> StructVersion for PluginVTable<StartArgs, Instance> {
1
}
fn struct_features() -> &'static str {
FEATURES
""
}
}

Expand Down

0 comments on commit 0a55afe

Please sign in to comment.