Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KyleMayes/clang-rs
A somewhat idiomatic Rust wrapper for libclang.
https://github.com/KyleMayes/clang-rs
rust
Last synced: 2 months ago
JSON representation
A somewhat idiomatic Rust wrapper for libclang.
- Host: GitHub
- URL: https://github.com/KyleMayes/clang-rs
- Owner: KyleMayes
- License: apache-2.0
- Created: 2015-11-13T21:09:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T19:52:56.000Z (7 months ago)
- Last Synced: 2024-10-13T02:21:16.219Z (3 months ago)
- Topics: rust
- Language: Rust
- Homepage:
- Size: 473 KB
- Stars: 175
- Watchers: 7
- Forks: 43
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# clang-rs
[![Crate](https://img.shields.io/crates/v/clang.svg)](https://crates.io/crates/clang)
[![Documentation](https://docs.rs/clang/badge.svg)](https://docs.rs/clang)
[![CI](https://github.com/KyleMayes/clang-rs/workflows/CI/badge.svg?branch=master)](https://github.com/KyleMayes/clang-rs/actions?query=workflow%3ACI)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 laterIf you do not enable one of these features, the API provided by `libclang` 3.5 will be available by
default.## Dependencies
See [here](https://github.com/KyleMayes/clang-sys#dependencies) for information on this crate's
dependencies.