Provided by: cbindgen_0.12.1-1build1_amd64
NAME
cbindgen - manual page for cbindgen 0.12.1
DESCRIPTION
cbindgen 0.12.1 Generate C bindings for a Rust library USAGE: cbindgen [FLAGS] [OPTIONS] [INPUT] FLAGS: --clean Whether to use a new temporary directory for expanding macros. Affects performance, but might be required in certain build processes. --cpp-compat Whether to add C++ compatibility to generated C bindings -d, --parse-dependencies Whether to parse dependencies when generating bindings -h, --help Prints help information -q, --quiet Report errors only (overrides verbosity options). -v Enable verbose logging -V, --version Prints version information --verify Generate bindings and compare it to the existing bindings file and error if they are different OPTIONS: -c, --config <PATH> Specify path to a `cbindgen.toml` config to use --crate <CRATE_NAME> If generating bindings for a crate, the specific crate to generate bindings for -l, --lang <LANGUAGE> Specify the language to output bindings in [possible values: c++, C++, c, C] --lockfile <PATH> Specify the path to the Cargo.lock file explicitly. If this is not specified, the Cargo.lock file is searched for in the same folder as the Cargo.toml file. This option is useful for projects that use workspaces. -o, --output <PATH> The file to output the bindings to -s, --style <STYLE> Specify the declaration style to use for bindings [possible values: Both, both, Tag, tag, Type, type] ARGS: <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.
SEE ALSO
The full documentation for cbindgen is maintained as a Texinfo manual. If the info and cbindgen programs are properly installed at your site, the command info cbindgen should give you access to the complete manual.