cpp_to_rust
cargo install cpp_to_rust

cpp_to_rust

Use C++ libraries from Rust

by rust-qt

0.5.3 (see all)License:MIT
cargo install cpp_to_rust
Readme

ritual

Build Status

ritual allows to use C++ libraries from Rust. It analyzes the C++ API of a library and generates a fully-featured crate that provides convenient (but still unsafe) access to this API.

The main motivation for this project is to provide access to Qt from Rust. Ritual provides large amount of automation, supports incremental runs, and implements compatible API evolution. This is mostly dictated by the huge size of API provided by Qt and significant API differences between Qt versions. However, ritual is designed to be universal and can also be used to easily create bindings for other C++ libraries.

More information is available on rust-qt.github.io:

License

This project is licensed under either of

at your option.

If you use Qt, you should also take into account Qt licensing.

Contributing

Contributions are always welcome! You can contribute in different ways:

  • Submit a bug report, a feature request, or an improvement suggestion at the issue tracker;
  • Write a test or an example for a Qt crate (porting examples from the official Qt documentation is a good option);
  • Pick up an issue with help wanted tag.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

GitHub Stars

915

LAST COMMIT

1yr ago

MAINTAINERS

1

CONTRIBUTORS

7

OPEN ISSUES

31

OPEN PRs

1
VersionTagPublished
0.5.3
6yrs ago
0.5.2
6yrs ago
0.5.1
6yrs ago
0.5.0
6yrs ago
No alternatives found
No tutorials found
Add a tutorial