.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH CBINDGEN "1" "September 2024" "cbindgen 0.27.0" "User Commands" .SH NAME cbindgen \- manual page for cbindgen 0.27.0 .SH SYNOPSIS .B cbindgen [\fI\,OPTIONS\/\fR] [\fI\,INPUT\/\fR] .SH DESCRIPTION Generate C bindings for a Rust library .SS "Arguments:" .TP [INPUT] A crate directory or source file to generate bindings for. In general this is the folder where the Cargo.toml file of source Rust library resides. .SH OPTIONS .TP \fB\-v\fR... Enable verbose logging .TP \fB\-\-verify\fR Generate bindings and compare it to the existing bindings file and error if they are different .TP \fB\-c\fR, \fB\-\-config\fR Specify path to a `cbindgen.toml` config to use .TP \fB\-l\fR, \fB\-\-lang\fR Specify the language to output bindings in [possible values: c++, C++, c, C, cython, Cython] .TP \fB\-\-package\-version\fR Include the package version in the header comment .TP \fB\-\-cpp\-compat\fR Whether to add C++ compatibility to generated C bindings .TP \fB\-\-only\-target\-dependencies\fR Only fetch dependencies needed by the target platform. The target platform defaults to the host platform; set TARGET to override. .TP \fB\-s\fR, \fB\-\-style\fR