Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugin API rework, plugin status support (#583)
* made runtime state fields private * RuntimeState private * removing ValidationFunction unfinished * make validator function * removed validation function * removed cyclic reference * format fix * clippy fix * unfinished * zenoh-plugin-trait corrected * version control unfinished * loader compatibility version * string version with features * concat_enabled_features * example storage plugin * config corrected for example storage plugin * example storage plugin works as memory one * support load api from example stroage plugin * unifying plugn loading unfinished * replaced volumes map to plugin_manager * static memory unfinihed * plugin manager refactor * plugin manager api update * running plugin index added * safer plugin load api, unfinished * compiles * static memory plugin fix * compare version improved * moved feature list to crate level * linter fix * unfinished * unfinished * send + sync problem * unfinished * unfinished * compilation errors fixed * compiles * memory plugin loading fix * startargs and instance traits * plruings method cow * plugin trait sources reorganised * get plugin names list recursively * pligins method unifinshed * strip_prefix * adminspace * renamed loading to manager * log prints, recurse info * adminspace works * fixed compilation of example-plugin * debug error removed * unfinished * plugin version in compatibility api * version in plugin status unfinished * version works * status method removed from trait * removed tuple * format fix * commented out plugins section in config sample * doc test fixed * no-mangled feature added to test * test for default zenohd features * tests added, leaking through zenoh-ext fixed * no feature test added * cargo fmt * removed global Arc import as it's under features * cargo fmt * removed incorrect test, right one in zenohd * duplicated import fix * compilation fix * compilation fix * compilation fix * compilation errors fixed * nom_mangle in lib removed * no full failure due to one storage * config for testing plugins, error s logging * no_mangle in example * compile fixes * dds plugin tested * cargo fmt * removed reexport of ZResult and Runtime types from plugin mod * doc comments updated * renaming, removed unused type * constant version string * macro simplified * doc updated, version macro added * version simplified, cargo fmt * unused use removed * long_version field added * default impls for RunningPluginTrait, doc comments * todos added * cargo fmt * diagnostic improved, test config partially made, path renamings * diagnostic improved, test config partially made, path renamings * incorrect warn replaced to debug * no_mangle into plugin's code * all plugins covered in test config * comments update * cargo fmt * restored cargo.lock * undo changes in DEFAULT_CONFIG * compatibility code in separate .rs, minor changes * comments to declare_plugin * renamings, removed unnecessary sample configs * cargo fmt * debug code removed * log::info changed to log::debug
- Loading branch information