nushell/crates/nu-protocol/src/lib.rs
Stefan Holderbach c5aa15c7f6
Add top-level crate documentation/READMEs (#12907)
# Description
Add `README.md` files to each crate in our workspace (-plugins) and also
include it in the `lib.rs` documentation for <docs.rs> (if there is no
existing `lib.rs` crate documentation)

In all new README I added the defensive comment that the crates are not
considered stable for public consumption. If necessary we can adjust
this if we deem a crate useful for plugin authors.
2024-07-14 10:10:41 +02:00

47 lines
872 B
Rust

#![doc = include_str!("../README.md")]
mod alias;
pub mod ast;
pub mod config;
pub mod debugger;
mod did_you_mean;
pub mod engine;
mod errors;
pub mod eval_base;
pub mod eval_const;
mod example;
mod id;
pub mod ir;
mod lev_distance;
mod module;
pub mod parser_path;
mod pipeline;
#[cfg(feature = "plugin")]
mod plugin;
pub mod process;
mod signature;
pub mod span;
mod syntax_shape;
mod ty;
mod value;
pub use alias::*;
pub use ast::Unit;
pub use config::*;
pub use did_you_mean::did_you_mean;
pub use engine::{ENV_VARIABLE_ID, IN_VARIABLE_ID, NU_VARIABLE_ID};
pub use errors::*;
pub use example::*;
pub use id::*;
pub use lev_distance::levenshtein_distance;
pub use module::*;
pub use pipeline::*;
#[cfg(feature = "plugin")]
pub use plugin::*;
pub use signature::*;
pub use span::*;
pub use syntax_shape::*;
pub use ty::*;
pub use value::*;
pub use nu_derive_value::*;