mdbook_core/lib.rs
1//! The base support library for mdbook, intended for internal use only.
2
3/// The current version of `mdbook`.
4///
5/// This is provided as a way for custom preprocessors and renderers to do
6/// compatibility checks.
7pub const MDBOOK_VERSION: &str = env!("CARGO_PKG_VERSION");
8
9pub mod book;
10pub mod config;
11pub mod utils;
12
13/// The error types used in mdbook.
14pub mod errors {
15 pub use anyhow::{Error, Result};
16}