1 | [package] |
2 | name = "cfg-expr" |
3 | description = "A parser and evaluator for Rust `cfg()` expressions." |
4 | repository = "https://github.com/EmbarkStudios/cfg-expr" |
5 | version = "0.15.7" |
6 | authors = [ |
7 | "Embark <opensource@embark-studios.com>" , |
8 | "Jake Shadle <jake.shadle@embark-studios.com>" , |
9 | ] |
10 | edition = "2021" |
11 | license = "MIT OR Apache-2.0" |
12 | readme = "README.md" |
13 | rust-version = "1.70.0" |
14 | documentation = "https://docs.rs/cfg-expr" |
15 | homepage = "https://github.com/EmbarkStudios/cfg-expr" |
16 | keywords = ["cargo" , "rustc" , "cfg" ] |
17 | categories = ["parser-implementations" ] |
18 | |
19 | [features] |
20 | default = [] |
21 | # Allows parsing and handling of arbitrary target triples, including ones that |
22 | # are not builtin to rustc |
23 | targets = ["target-lexicon" ] |
24 | |
25 | [dependencies] |
26 | smallvec = "1.8" |
27 | target-lexicon = { version = "0.12.11" , optional = true } |
28 | |
29 | [dev-dependencies] |
30 | similar-asserts = "1.1" |
31 | |