//! CSS selector parsing, normalization, and serialization.
//!
//! This layer turns a selector string into a syntax tree, rewrites it into a
//! canonical form, and can print it back. The decision tree builds on top of
//! these pieces.

pub mod ast;
mod lexer;
pub mod normalize;
mod parser;
pub mod serialize;
pub mod spec;
mod unescape;

pub use normalize::{normalize, NormalizeOptions};
pub use parser::parse1;
pub use serialize::serialize_compound;
pub use spec::compare_specificity;
