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

#59 in Programming languages

Download history 7760/week @ 2023-11-20 10460/week @ 2023-11-27 8315/week @ 2023-12-04 13230/week @ 2023-12-11 12729/week @ 2023-12-18 4278/week @ 2023-12-25 6883/week @ 2024-01-01 8027/week @ 2024-01-08 8796/week @ 2024-01-15 9642/week @ 2024-01-22 10535/week @ 2024-01-29 8770/week @ 2024-02-05 10385/week @ 2024-02-12 10116/week @ 2024-02-19 10993/week @ 2024-02-26 10357/week @ 2024-03-04

42,250 downloads per month
Used in 329 crates (22 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–6MB