An idiomatic Rust wrapper for libclang.
Supported on the stable, beta, and nightly Rust channels.
Warning: the API of this library is subject to change.
Released under the MIT license.
This crate depends on libclang.dll
(Windows), libclang.so
(Linux), or libclang.dylib
(OS X).
These binaries can be either be installed as a part of clang or downloaded
here.
On Windows, libclang.dll
should be placed in <rust>\lib\rustlib\*-pc-windows-*\lib
where
<rust>
is your Rust installation directory.
If you do not select a specific version, a common subset API will be availabile. The documentation for this API is here.