forked from extern/nushell
93e8f6c05e
We split off the evaluation engine part of nu-cli into its own crate. This helps improve build times for nu-cli by 17% in my tests. It also helps us see a bit better what's the core engine portion vs the part specific to the interactive CLI piece. There's more than can be done here, but I think it's a good start in the right direction.
8 lines
150 B
Rust
8 lines
150 B
Rust
use nu_protocol::Value;
|
|
|
|
pub struct Example {
|
|
pub example: &'static str,
|
|
pub description: &'static str,
|
|
pub result: Option<Vec<Value>>,
|
|
}
|