This diff updates CMakeLists file to use `corrosion-cxx.cmake` and it's function `add_library_rust ` to use Corrosion and CXX to build and link Rust library to the C++ app. To use CXX bridge the `build.rs` file was also added.
Related Linear task: [[ https://linear.app/comm/issue/ENG-1438/consider-using-cxx-instead-of-unsafe-in-rust | ENG-1438 ]]