blob: 5a35957446074454e076a6856250ddb89565c50e [file] [log] [blame]
Chih-Hung Hsiehfab43802020-04-07 14:24:01 -07001[package]
2
3name = "clang-sys"
4authors = ["Kyle Mayes <kyle@mayeses.com>"]
5
6version = "0.29.3"
7
8readme = "README.md"
9license = "Apache-2.0"
10
11description = "Rust bindings for libclang."
12
13documentation = "https://kylemayes.github.io/clang-sys/runtime/clang_sys"
14repository = "https://github.com/KyleMayes/clang-sys"
15
16links = "clang"
17build = "build.rs"
18
19[features]
20
21clang_3_5 = []
22clang_3_6 = ["gte_clang_3_6"]
23clang_3_7 = ["gte_clang_3_6", "gte_clang_3_7"]
24clang_3_8 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8"]
25clang_3_9 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9"]
26clang_4_0 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9", "gte_clang_4_0"]
27clang_5_0 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9", "gte_clang_4_0", "gte_clang_5_0"]
28clang_6_0 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9", "gte_clang_4_0", "gte_clang_5_0", "gte_clang_6_0"]
29clang_7_0 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9", "gte_clang_4_0", "gte_clang_5_0", "gte_clang_6_0", "gte_clang_7_0"]
30clang_8_0 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9", "gte_clang_4_0", "gte_clang_5_0", "gte_clang_6_0", "gte_clang_7_0", "gte_clang_8_0"]
31clang_9_0 = ["gte_clang_3_6", "gte_clang_3_7", "gte_clang_3_8", "gte_clang_3_9", "gte_clang_4_0", "gte_clang_5_0", "gte_clang_6_0", "gte_clang_7_0", "gte_clang_8_0", "gte_clang_9_0"]
32
33gte_clang_3_6 = []
34gte_clang_3_7 = []
35gte_clang_3_8 = []
36gte_clang_3_9 = []
37gte_clang_4_0 = []
38gte_clang_5_0 = []
39gte_clang_6_0 = []
40gte_clang_7_0 = []
41gte_clang_8_0 = []
42gte_clang_9_0 = []
43
44runtime = ["libloading"]
45static = []
46
47[dependencies]
48
49glob = "0.3"
50libc = { version = "0.2.39", default-features = false }
51libloading = { version = "0.5", optional = true }
52
53[build-dependencies]
54
55glob = "0.3"
56
57[package.metadata.docs.rs]
58
59features = ["clang_9_0", "runtime"]