Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sbmueller/rust-conan-template

Proof of concept how to use a Rust library as Conan dependency in a C++ program
https://github.com/sbmueller/rust-conan-template

conan cpp rust

Last synced: 4 days ago
JSON representation

Proof of concept how to use a Rust library as Conan dependency in a C++ program

Awesome Lists containing this project

README

        

# Rust Conan Template

This repository is a proof of concept (PoC) on

1. How to write a library in Rust and offer an interface to C/C++
2. How to wrap a Rust library in a Conan package
3. How to use a Conan wrapped Rust library from a C++ application

The repository consists of two Conan packages.

- `add_rs` is a library written in Rust, that offers adding two integers via
its public interface
- `add_cpp` is a C++ application that adds two numbers, making use of `add_rs`