Attribute Macro export_source

Source
#[export_source]
Expand description

Expose the symbols Zenoh-Flow needs to instantiate and start a Source.

In addition to exposing a specific symbol that will not be mangled by the compiler, this macro records the version of the rust compiler used as well as the version of Zenoh-Flow. These additional information are here to (try) limit possible surprises due to the lack of stable ABI in Rust.

ยงExample

#[export_source]
pub struct MySource {
    // Your logic goes here.
}