nushell/src/lib.rs

41 lines
1.1 KiB
Rust
Raw Normal View History

#![recursion_limit = "1024"]
#[cfg(test)]
#[macro_use]
extern crate indexmap;
#[macro_use]
mod prelude;
2019-06-27 04:56:48 +00:00
mod cli;
mod commands;
mod context;
mod data;
2019-06-27 04:56:48 +00:00
mod env;
mod errors;
mod evaluate;
mod format;
mod git;
mod parser;
2019-07-02 07:56:20 +00:00
mod plugin;
2019-06-27 04:56:48 +00:00
mod shell;
mod stream;
2019-07-23 22:22:11 +00:00
mod traits;
2019-07-24 04:10:48 +00:00
mod utils;
2019-06-27 04:56:48 +00:00
pub use crate::commands::command::{CallInfo, ReturnSuccess, ReturnValue};
2019-07-04 05:11:56 +00:00
pub use crate::env::host::BasicHost;
pub use crate::parser::hir::path::{ColumnPath, PathMember, UnspannedPathMember};
pub use crate::parser::hir::SyntaxShape;
2019-09-02 06:11:05 +00:00
pub use crate::parser::parse::token_tree_builder::TokenTreeBuilder;
2019-07-02 07:56:20 +00:00
pub use crate::plugin::{serve_plugin, Plugin};
pub use crate::traits::{ShellTypeName, SpannedTypeName};
pub use crate::utils::{did_you_mean, AbsoluteFile, AbsolutePath, RelativePath};
2019-06-27 04:56:48 +00:00
pub use cli::cli;
pub use data::base::{Primitive, UntaggedValue, Value};
2019-09-11 14:36:50 +00:00
pub use data::config::{config_path, APP_INFO};
pub use data::dict::{Dictionary, TaggedDictBuilder, TaggedListBuilder};
pub use errors::{CoerceInto, ShellError};
pub use num_traits::cast::ToPrimitive;
2019-08-02 19:15:07 +00:00
pub use parser::registry::{EvaluatedArgs, NamedType, PositionalType, Signature};