rucc/lib.rs
1//! rucc, an optimizing C compiler.
2//!
3//! Design: `spec/00-README.md`. Layer rank 13, see `spec/18-package-layout.md`.
4//!
5//! This crate is the entry point, both for the `rucc` binary and for anyone embedding the
6//! compiler. It re-exports the driver and nothing else: the pipeline crates are tier 3 in
7//! `spec/18-package-layout.md` section 18.5 and are published so the workspace can be
8//! published, not because their APIs are stable.
9//!
10//! The stable surface is the binary's command line behaviour, per section 18.5 tier 1.
11
12#![doc(html_root_url = "https://docs.rs/rucc/0.1.0")]
13
14pub use rucc_driver::{Action, CliError, USAGE, VERSION, parse_args, print_config, run};