nushell/src/lib.rs

42 lines
1 KiB
Rust
Raw Normal View History

2019-06-27 04:56:48 +00:00
#![feature(crate_visibility_modifier)]
#![feature(in_band_lifetimes)]
2019-08-02 19:15:07 +00:00
#![feature(generators)]
2019-06-27 04:56:48 +00:00
#![feature(try_trait)]
#![feature(bind_by_move_pattern_guards)]
#![feature(option_flattening)]
2019-08-02 19:15:07 +00:00
#![feature(specialization)]
#![feature(proc_macro_hygiene)]
#[macro_use]
mod prelude;
2019-06-27 04:56:48 +00:00
mod cli;
mod commands;
mod context;
mod env;
mod errors;
mod evaluate;
mod format;
mod git;
mod object;
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-24 17:14:30 +00:00
pub use crate::context::{SourceMap, SpanSource};
2019-07-04 05:11:56 +00:00
pub use crate::env::host::BasicHost;
2019-07-28 02:02:42 +00:00
pub use crate::object::base::OF64;
2019-07-02 07:56:20 +00:00
pub use crate::plugin::{serve_plugin, Plugin};
2019-07-24 04:10:48 +00:00
pub use crate::utils::{AbsolutePath, RelativePath};
2019-06-27 04:56:48 +00:00
pub use cli::cli;
pub use errors::ShellError;
pub use object::base::{Primitive, Value};
2019-08-01 01:58:42 +00:00
pub use object::dict::{Dictionary, TaggedDictBuilder};
pub use object::meta::{Span, Tag, Tagged, TaggedItem};
2019-06-27 04:56:48 +00:00
pub use parser::parse::text::Text;
2019-08-02 19:15:07 +00:00
pub use parser::registry::{EvaluatedArgs, NamedType, PositionalType, Signature};