eclipse-iceoryx / iceoryx-rs

Rust wrapper for Eclipse iceoryx™ - true zero-copy inter-process-communication
Apache License 2.0
89 stars 16 forks source link

Share common files with examples #32

Closed elBoberido closed 2 years ago

elBoberido commented 2 years ago

Brief feature description

The examples duplicate the struct with the data transmitted via shared memory. This is error prone when the struct is changed in one example but not in another one. The struct should be shared with all examples.

Check if this can be done by a static lib like

[[example]]
name = "shm-data"
crate-type = ["staticlib"]