# rust-qt/ritual

Use C++ libraries from Rust

Repository: https://github.com/rust-qt/ritual
Canonical: https://ross.abutalabs.com/products/ritual
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: qt, rust, rust-crate, rust-generator, cpp-bindings, rust-bindings, rituals, crates, qt-generator, qt-crate, cpp
Last push: 2023-04-12T22:58:33+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3779, "days_push": 1239, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1279, forks 57 (observed 2026-08-28T04:04:13.519633+00:00)

## What it is
A Rust tool that analyzes C++ library APIs and generates fully-featured Rust crates providing access to them. Its primary motivation is enabling Qt usage from Rust, but it works for other C++ libraries too.

## Use cases
- use qt from rust
- generate rust bindings for a c++ library
- call c++ code from rust
- create rust crate for cpp api
- bind qt gui library to rust

## When to choose
- you need Rust access to a large C++ library API, especially Qt
- you want automated, incremental binding generation with API evolution support

## When to avoid
- you need a small one-off FFI binding where hand-written bindgen/cxx is simpler
- you need fully safe Rust APIs - generated access is still unsafe
- you need actively maintained Qt bindings - development has stalled

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools
- domain: cross-platform, developer-tools, desktop-applications
- platform: rust, cpp, cross-platform, windows
- tags: cpp-bindings, qt, ffi, code-generation, rust-bindings, linux, macos

## Member repositories
- rust-qt/ritual (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.519633+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:02:42.533682+00:00, confidence not recorded.
  - readme: https://github.com/rust-qt/ritual (fetched 2026-08-28T04:04:13.519633+00:00, sha bf963e32a011)
- Data as of 2026-08-30T08:39:29.467469+00:00.
