| 1 | [package] |
| 2 | name = "cpp_macros" |
| 3 | version = "0.5.10" |
| 4 | authors = ["Nika Layzell <nika@thelayzells.com>" , "Olivier Goffart <olivier.goffart@slint-ui.com>" ] |
| 5 | edition = "2018" |
| 6 | description = "Procedural macro implementation for the `cpp` crate" |
| 7 | readme = "../README.md" |
| 8 | license = "MIT/Apache-2.0" |
| 9 | keywords = ["c" , "cxx" , "ffi" , "compiler" ] |
| 10 | categories = ["development-tools::ffi" ] |
| 11 | repository = "https://github.com/mystor/rust-cpp" |
| 12 | documentation = "https://docs.rs/cpp_macros" |
| 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 | |
| 19 | [lib] |
| 20 | proc-macro = true |
| 21 | |
| 22 | [dependencies] |
| 23 | lazy_static = "1.0" |
| 24 | cpp_common = { path = "../cpp_common" , version = "=0.5.10" } |
| 25 | syn = { version = "2.0" , features=["full" , "visit" ] } |
| 26 | quote = "1.0" |
| 27 | proc-macro2 = "1.0" |
| 28 | aho-corasick = "1.0" |
| 29 | byteorder = "1.0" |
| 30 | |
| 31 | [package.metadata.docs.rs] |
| 32 | features = [ "docs-only" ] |
| 33 | |