48 releases (5 stable)

Uses old Rust 2015

2.0.0 May 18, 2022
1.0.3 Nov 29, 2020
1.0.2 Oct 2, 2020
0.24.0 Jul 1, 2020
0.3.0 Dec 28, 2015

#26 in Programming languages

Download history 15630/week @ 2024-07-23 15462/week @ 2024-07-30 16387/week @ 2024-08-06 17096/week @ 2024-08-13 16747/week @ 2024-08-20 15138/week @ 2024-08-27 16670/week @ 2024-09-03 17075/week @ 2024-09-10 17506/week @ 2024-09-17 21850/week @ 2024-09-24 63401/week @ 2024-10-01 145430/week @ 2024-10-08 80382/week @ 2024-10-15 22882/week @ 2024-10-22 128262/week @ 2024-10-29 97973/week @ 2024-11-05

348,250 downloads per month
Used in 349 crates (24 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

~0.2–4.5MB