#ritual #build #c #api #script

ritual_build

Build script implementation for C++ library wrappers

6 releases (breaking)

0.4.0 Feb 17, 2020
0.3.0 Nov 2, 2019
0.2.0 Oct 27, 2019
0.1.1 Sep 12, 2019
0.0.0 Jan 7, 2019

#430 in Development tools

Download history 77/week @ 2021-06-30 71/week @ 2021-07-07 79/week @ 2021-07-14 66/week @ 2021-07-21 130/week @ 2021-07-28 80/week @ 2021-08-04 62/week @ 2021-08-11 44/week @ 2021-08-18 74/week @ 2021-08-25 38/week @ 2021-09-01 78/week @ 2021-09-08 46/week @ 2021-09-15 62/week @ 2021-09-22 98/week @ 2021-09-29 90/week @ 2021-10-06 65/week @ 2021-10-13

296 downloads per month
Used in 15 crates (2 directly)

MIT/Apache

74KB
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.

Dependencies

~3–4MB
~103K SLoC