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

Add option to use pre-build iceoryx libraries #8

Open elBoberido opened 3 years ago

elBoberido commented 3 years ago

Currently iceoryx is build together with iceoryx-rs. There might be cases where it is desired to use pre-build iceoryx libraries to guarantee binary compatibility with the static libs.

This could be done by an environment variable which can be checked in build.rs. In this case It should also be possible to use dynamic libraries.

This should be done after #7

elBoberido commented 3 years ago

@ZhenshengLee I might borrow some stuff from your build.rs from iceoryx-rs-c :)

AlexanderEkdahl commented 2 years ago

I would suggest separating this into a *-sys crate for better interoperability with non-cargo systems. Detailed documentation of this pattern https://kornel.ski/rust-sys-crate