| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.85.0" |
| 15 |
name = "cfg-expr" |
| 16 |
version = "0.20.6" |
| 17 |
authors = [ |
| 18 |
"Embark <[email protected]>", |
| 19 |
"Jake Shadle <[email protected]>", |
| 20 |
] |
| 21 |
build = false |
| 22 |
autolib = false |
| 23 |
autobins = false |
| 24 |
autoexamples = false |
| 25 |
autotests = false |
| 26 |
autobenches = false |
| 27 |
description = "A parser and evaluator for Rust `cfg()` expressions." |
| 28 |
homepage = "https://github.com/EmbarkStudios/cfg-expr" |
| 29 |
documentation = "https://docs.rs/cfg-expr" |
| 30 |
readme = "README.md" |
| 31 |
keywords = [ |
| 32 |
"cargo", |
| 33 |
"rustc", |
| 34 |
"cfg", |
| 35 |
] |
| 36 |
categories = ["parser-implementations"] |
| 37 |
license = "MIT OR Apache-2.0" |
| 38 |
repository = "https://github.com/EmbarkStudios/cfg-expr" |
| 39 |
|
| 40 |
[features] |
| 41 |
default = [] |
| 42 |
targets = ["target-lexicon"] |
| 43 |
|
| 44 |
[lib] |
| 45 |
name = "cfg_expr" |
| 46 |
path = "src/lib.rs" |
| 47 |
|
| 48 |
[[example]] |
| 49 |
name = "eval" |
| 50 |
path = "examples/eval.rs" |
| 51 |
|
| 52 |
[[test]] |
| 53 |
name = "eval" |
| 54 |
path = "tests/eval.rs" |
| 55 |
|
| 56 |
[[test]] |
| 57 |
name = "lexer" |
| 58 |
path = "tests/lexer.rs" |
| 59 |
|
| 60 |
[[test]] |
| 61 |
name = "parser" |
| 62 |
path = "tests/parser.rs" |
| 63 |
|
| 64 |
[dependencies.smallvec] |
| 65 |
version = "1.15" |
| 66 |
|
| 67 |
[dependencies.target-lexicon] |
| 68 |
version = "=0.13.3" |
| 69 |
optional = true |
| 70 |
|
| 71 |
[dev-dependencies.similar-asserts] |
| 72 |
version = "1.7" |