{"repo":"corrosion-rs/corrosion","free":true,"listed":false,"github":"https://github.com/corrosion-rs/corrosion","clone":"git clone https://github.com/corrosion-rs/corrosion.git","description":"Marrying Rust and CMake - Easy Rust and C/C++ Integration!","language":"CMake","stars":1482,"topics":["cmake-cargo","cmake","cargo","rust","cplusplus","cpp","c","build-tool","build-systems","build-system"],"license":"MIT","category":"dev-tools","readme_excerpt":"Corrosion Corrosion, formerly known as cmake-cargo, is a tool for integrating Rust into an existing CMake project. Corrosion can automatically import executables, static libraries, and dynamic libraries from a workspace or package manifest ( Cargo.toml file). Features - Automatic Import of Executable, Static, and Shared Libraries from Rust Crate - Easy Installation of Rust Executables - Trivially Link Rust Executables to C/C++ Libraries in Tree - Multi-Config Generator Support - Simple Cross-Compilation Sample Usage with FetchContent Using the CMake FetchContent module allows you to easily integrate corrosion into your build. Other methods including installing corrosion or adding it as a subdirectory are covered in the setup chapter of the corrosion documentation. Requirements v0.6 Release - CMake 3.22 or newer v0.5 Release (Critical backports only) - CMake 3.15 or newer. Some features may only be available on more recent CMake versions - Rust 1.46 or newer. Some platforms / features may require more recent Rust versions","default_branch":null,"files":null,"tree":[],"storefront":"/r/corrosion-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/corrosion-rs/corrosion/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}