1[package]
2
3name = "clang-sys"
4authors = ["Kyle Mayes <kyle@mayeses.com>"]
5
6version = "1.7.0"
7
8readme = "README.md"
9license = "Apache-2.0"
10
11description = "Rust bindings for libclang."
12
13documentation = "https://docs.rs/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 = ["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"]
33clang_11_0 = ["clang_10_0"]
34clang_12_0 = ["clang_11_0"]
35clang_13_0 = ["clang_12_0"]
36clang_14_0 = ["clang_13_0"]
37clang_15_0 = ["clang_14_0"]
38clang_16_0 = ["clang_15_0"]
39clang_17_0 = ["clang_16_0"]
40
41runtime = ["libloading"]
42static = []
43
44[dependencies]
45
46glob = "0.3"
47libc = { version = "0.2.39", default-features = false }
48libloading = { version = "0.8", optional = true }
49
50[build-dependencies]
51
52glob = "0.3"
53
54[dev-dependencies]
55
56glob = "0.3"
57serial_test = "1"
58tempfile = "3"
59
60[package.metadata.docs.rs]
61
62features = ["clang_17_0", "runtime"]
63