| 1 |
.. |
| 2 |
SPDX-License-Identifier: CC-BY-SA-4.0 |
| 3 |
SPDX-FileCopyrightText: 2024-2025 Bartosz Golaszewski <[email protected]> |
| 4 |
|
| 5 |
.. |
| 6 |
This file is part of libgpiod. |
| 7 |
|
| 8 |
Where are the Rust bindings? |
| 9 |
============================= |
| 10 |
|
| 11 |
.. warning:: |
| 12 |
There's currently no good way of integrating rust documentation with sphinx. |
| 13 |
Rust bindings should be documented on https://docs.rs/ but due to a yet |
| 14 |
unsolved build problem, this is currently not the case. Please refer to the |
| 15 |
in-source comments for now. |
| 16 |
|
| 17 |
Rust bindings are available on https://crates.io/ as the ``libgpiod`` package. |
| 18 |
|
| 19 |
.. note:: |
| 20 |
When building the Rust bindings along the C library using make, they will |
| 21 |
be automatically configured to build against the build results of the |
| 22 |
C library. Building rust bindings requires cargo to be available on the |
| 23 |
system. |