blob: e04a103b4ecfa2639533e621a125c706f7dc1c6d [file] [log] [blame]
Chih-Hung Hsiehfab43802020-04-07 14:24:01 -07001[package]
2
3name = "clang-sys"
4authors = ["Kyle Mayes <kyle@mayeses.com>"]
5
Joel Galensoneabe8352021-09-22 10:52:39 -07006version = "1.2.2"
Chih-Hung Hsiehfab43802020-04-07 14:24:01 -07007
8readme = "README.md"
9license = "Apache-2.0"
10
11description = "Rust bindings for libclang."
12
Chih-Hung Hsieh97132dc2020-10-26 17:21:51 -070013documentation = "https://docs.rs/clang-sys"
Chih-Hung Hsiehfab43802020-04-07 14:24:01 -070014repository = "https://github.com/KyleMayes/clang-sys"
15
16links = "clang"
17build = "build.rs"
18
19[features]
20
21clang_3_5 = []
Haibo Huang8b9513e2020-07-13 22:05:39 -070022clang_3_6 = ["clang_3_5"]
23clang_3_7 = ["clang_3_6"]
24clang_3_8 = ["clang_3_7"]
25clang_3_9 = ["clang_3_8"]
26clang_4_0 = ["clang_3_9"]
27clang_5_0 = ["clang_4_0"]
28clang_6_0 = ["clang_5_0"]
29clang_7_0 = ["clang_6_0"]
30clang_8_0 = ["clang_7_0"]
31clang_9_0 = ["clang_8_0"]
32clang_10_0 = ["clang_9_0"]
Haibo Huang2e1e83e2021-02-09 23:57:34 -080033clang_11_0 = ["clang_10_0"]
Chih-Hung Hsiehfab43802020-04-07 14:24:01 -070034
35runtime = ["libloading"]
36static = []
37
38[dependencies]
39
40glob = "0.3"
41libc = { version = "0.2.39", default-features = false }
Jeff Vander Stoep4737f5c2021-02-22 13:06:28 +010042libloading = { version = "0.7", optional = true }
Chih-Hung Hsiehfab43802020-04-07 14:24:01 -070043
44[build-dependencies]
45
46glob = "0.3"
47
48[package.metadata.docs.rs]
49
Joel Galenson83337ed2021-05-19 14:55:23 -070050features = ["clang_11_0", "runtime"]