Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed unnecessary feature from zenoh-plugin-trait to avoid false compatibility errors #1709

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading