#clang #wrapper #libclang

clang

A somewhat idiomatic Rust wrapper for libclang

47 releases (4 stable)

Uses old Rust 2015

1.0.3 Nov 29, 2020
1.0.1 Aug 16, 2020
0.24.0 Jul 1, 2020
0.23.0 Sep 7, 2019
0.3.0 Dec 28, 2015
Download history 2218/week @ 2021-02-26 1973/week @ 2021-03-05 2860/week @ 2021-03-12 2440/week @ 2021-03-19 2750/week @ 2021-03-26 3306/week @ 2021-04-02 3281/week @ 2021-04-09 3950/week @ 2021-04-16 4129/week @ 2021-04-23 3426/week @ 2021-04-30 3727/week @ 2021-05-07 3789/week @ 2021-05-14 5270/week @ 2021-05-21 4649/week @ 2021-05-28 4405/week @ 2021-06-04 4974/week @ 2021-06-11

12,803 downloads per month
Used in 30 crates (16 directly)

Apache-2.0

225KB
3.5K SLoC

clang-rs

Crate Documentation CI

A somewhat idiomatic Rust wrapper for libclang.

Supported on the stable, beta, and nightly Rust channels.
Minimum supported Rust version: 1.40.0

Released under the Apache License 2.0.

Supported Versions

To target a version of libclang, enable one of the following Cargo features:

  • clang_3_5 - requires libclang 3.5 or later
  • clang_3_6 - requires libclang 3.6 or later
  • clang_3_7 - requires libclang 3.7 or later
  • clang_3_8 - requires libclang 3.8 or later
  • clang_3_9 - requires libclang 3.9 or later
  • clang_4_0 - requires libclang 4.0 or later
  • clang_5_0 - requires libclang 5.0 or later
  • clang_6_0 - requires libclang 6.0 or later
  • clang_7_0 - requires libclang 7.0 or later
  • clang_8_0 - requires libclang 8.0 or later
  • clang_9_0 - requires libclang 9.0 or later
  • clang_10_0 - requires libclang 10.0 or later

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.

Dependencies

~190–255KB