[go: up one dir, main page]

cfg-expr 0.20.4

A parser and evaluator for Rust `cfg()` expressions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("../README.md")]

/// Types related to parse errors
pub mod error;
/// Types related to cfg expressions
pub mod expr;
/// Types related to rustc targets
pub mod targets;

pub use error::ParseError;
pub use expr::{Expression, Predicate, TargetPredicate};

#[cfg(feature = "targets")]
pub use target_lexicon;