#![doc = include_str!("../README.md")]
#![cfg_attr(
feature = "docs",
cfg_attr(doc, doc = ::document_features::document_features!(feature_label = r#"<span class="stab portability"><code>{feature}</code></span>"#))
)]
#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
#![warn(rust_2018_idioms, unreachable_pub)]
#![deny(missing_docs)]
#[cfg(all(not(feature = "runtime-c"), not(feature = "runtime-c2rust")))]
compile_error!("Either `runtime-c` or `runtime-c2rust` must be enabled!");
#[cfg(feature = "runtime-c")]
#[doc(hidden)]
pub use tree_sitter as ts_runtime;
#[cfg(all(
feature = "runtime-c2rust",
not(feature = "runtime-c"), ))]
#[doc(hidden)]
pub use tree_sitter_c2rust as ts_runtime;
mod error;
pub mod language_set;
pub mod style;
pub mod theme;
pub use error::*;