| 1 | [package] |
| 2 | name = "cpp_build" |
| 3 | version = "0.5.10" |
| 4 | authors = ["Nika Layzell <nika@thelayzells.com>" , "Olivier Goffart <olivier.goffart@slint-ui.com>" ] |
| 5 | edition = "2018" |
| 6 | description = "Cargo build script for the `cpp` crate" |
| 7 | readme = "../README.md" |
| 8 | license = "MIT/Apache-2.0" |
| 9 | keywords = ["c" , "cxx" , "ffi" , "compiler" , "build-dependencies" ] |
| 10 | categories = ["development-tools::ffi" ] |
| 11 | repository = "https://github.com/mystor/rust-cpp" |
| 12 | documentation = "https://docs.rs/cpp_build" |
| 13 | |
| 14 | [features] |
| 15 | # Ignore compilations error of the C++ code when building the documentation, as the docs.rs server |
| 16 | # might not have the required libraries |
| 17 | docs-only = [] |
| 18 | parallel = ["cc/parallel" ] |
| 19 | |
| 20 | [dependencies] |
| 21 | lazy_static = "1.0" |
| 22 | cc = "1.0.38" |
| 23 | cpp_common = { path = "../cpp_common" , version = "=0.5.10" } |
| 24 | syn = { version = "2.0" , features=["full" , "visit" ] } |
| 25 | proc-macro2 = "1.0" |
| 26 | regex = "1" |
| 27 | unicode-xid = "0.2" |
| 28 | |
| 29 | [package.metadata.docs.rs] |
| 30 | features = [ "docs-only" ] |
| 31 | |