-
Notifications
You must be signed in to change notification settings - Fork 40
/
Cargo.toml
62 lines (53 loc) · 1.77 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
description = "Bindings to LLVM's C API"
repository = "https://gitlab.com/taricorp/llvm-sys.rs"
readme = "README.md"
license = "MIT"
keywords = ["bindings", "llvm"]
categories = ["external-ffi-bindings"]
links = "llvm-19"
name = "llvm-sys"
version = "191.0.0"
authors = ["Peter Marheine <[email protected]>"]
build = "build.rs"
rust-version = "1.65.0"
edition = "2015"
[badges]
gitlab = { repository = "taricorp/llvm-sys.rs" }
maintenance = { status = "passively-maintained" }
[features]
# Require that the used version of LLVM exactly match that expected by this
# crate.
strict-versioning = []
# Do not attempt to link against LLVM libraries (useful if a different crate
# in your dependency tree provides them instead).
no-llvm-linking = []
# Do not attempt to build the LLVM_InitializeAllTarget* functions. Useful if
# the build host doesn't have a copy of LLVM to compile/link against and you do
# not use any of those functions.
disable-alltargets-init = []
# Linking preference.
# If none of these is selected, it defaults to force static linking to match
# the behaviour before this feature is introduced.
# Prefer dynamic linking to LLVM library if possible.
prefer-dynamic = []
# Force dynamic linking.
force-dynamic = []
# Prefer static linking to LLVM library if possible.
prefer-static = []
# Force static linking
force-static = []
[dependencies]
libc = "0.2"
clang-sys = { version = "1.2.2", optional = true }
tempfile = { version = "3.2.0", optional = true }
[build-dependencies]
anyhow = "1.0"
cc = "1.0"
lazy_static = "1.0"
regex-lite = "0.1.5"
semver = "1.0.7"
[lints.rust]
# LLVM_SYS_NOT_FOUND is set by build.rs if no LLVM library is located, which
# fails builds but still allows docs to be built.
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(LLVM_SYS_NOT_FOUND)"] }