clang-rs
A somewhat idiomatic Rust wrapper for libclang
.
Supported on the stable, beta, and nightly Rust channels.
Released under the Apache License 2.0.
See CONTRIBUTING.md for guidelines on contributing to this repository.
Supported Versions
To target a version of libclang
, enable one of the following Cargo features:
clang_3_5
- requireslibclang
3.5 or later (Documentation)clang_3_6
- requireslibclang
3.6 or later (Documentation)clang_3_7
- requireslibclang
3.7 or later (Documentation)clang_3_8
- requireslibclang
3.8 or later (Documentation)clang_3_9
- requireslibclang
3.9 or later (Documentation)clang_4_0
- requireslibclang
4.0 or later (Documentation)clang_5_0
- requireslibclang
5.0 or later (Documentation)clang_6_0
- requireslibclang
6.0 or later (Documentation)
If you do not enable one of these features, the API provided by libclang
3.5 will be available by
default.
Dependencies
See here for information on this crate's dependencies.