7 unstable releases

0.3.0 Sep 9, 2019
0.2.1 Jan 7, 2019
0.2.0 May 21, 2017
0.1.2 Dec 2, 2016
0.0.0 Sep 9, 2016

#1213 in Algorithms

Download history 315/week @ 2023-11-20 69/week @ 2023-11-27 72/week @ 2023-12-04 76/week @ 2023-12-11 91/week @ 2023-12-18 174/week @ 2023-12-25 111/week @ 2024-01-01 166/week @ 2024-01-08 87/week @ 2024-01-15 80/week @ 2024-01-22 140/week @ 2024-01-29 89/week @ 2024-02-05 198/week @ 2024-02-12 111/week @ 2024-02-19 115/week @ 2024-02-26 84/week @ 2024-03-04

535 downloads per month
Used in libphonenumber-sys

MIT/Apache

84KB
1.5K SLoC

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.

No runtime deps