This diff introduces CMake file with functions to integrate Rust library code into CMake project using Corrosion and CXX.
Inspired by the https://github.com/trondhe/rusty_cmake but with the following modifications:
- Windows-related code was removed.
- Using of the get_filename_component to get stem instead of _get_stem_name_of_path function.
- Check for an empty Rust_CARGO_TARGET.
- Code fixes according to our code standard.
The purposes of functions:
- add_library_rust: Running corrosion and integrating CXX headers and bindings.
Related Linear task: ENG-1438