forked from extern/nushell
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
370639d7d7 | |||
d326f6def6 | |||
d42cfab6ef | |||
2b7c811402 |
42
Cargo.lock
generated
42
Cargo.lock
generated
@ -2465,7 +2465,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"assert_cmd",
|
||||
"chrono",
|
||||
@ -2516,7 +2516,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-cli"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"crossterm",
|
||||
@ -2543,7 +2543,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-color-config"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"nu-ansi-term",
|
||||
"nu-json",
|
||||
@ -2554,7 +2554,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-command"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"Inflector",
|
||||
"alphanumeric-sort",
|
||||
@ -2645,7 +2645,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-engine"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"nu-glob",
|
||||
@ -2657,7 +2657,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-glob"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"doc-comment",
|
||||
"tempdir",
|
||||
@ -2665,7 +2665,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-json"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"lazy_static",
|
||||
"linked-hash-map",
|
||||
@ -2678,7 +2678,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-parser"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"itertools",
|
||||
@ -2693,7 +2693,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-path"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"dirs-next",
|
||||
"dunce",
|
||||
@ -2702,7 +2702,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-plugin"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"bincode",
|
||||
"capnp",
|
||||
@ -2714,7 +2714,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-pretty-hex"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"heapless",
|
||||
"nu-ansi-term",
|
||||
@ -2723,7 +2723,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-protocol"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"byte-unit",
|
||||
"chrono",
|
||||
@ -2743,7 +2743,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-system"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"errno",
|
||||
@ -2757,7 +2757,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-table"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"nu-ansi-term",
|
||||
@ -2768,7 +2768,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-term-grid"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"strip-ansi-escapes",
|
||||
"unicode-width",
|
||||
@ -2776,7 +2776,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-test-support"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"getset",
|
||||
"hamcrest2",
|
||||
@ -2788,7 +2788,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-utils"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"crossterm_winapi",
|
||||
"lscolors",
|
||||
@ -2806,7 +2806,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu_plugin_example"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"nu-plugin",
|
||||
"nu-protocol",
|
||||
@ -2814,7 +2814,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu_plugin_gstat"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"git2",
|
||||
"nu-engine",
|
||||
@ -2824,7 +2824,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu_plugin_inc"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"nu-plugin",
|
||||
"nu-protocol",
|
||||
@ -2833,7 +2833,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu_plugin_query"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"gjson",
|
||||
"nu-engine",
|
||||
|
32
Cargo.toml
32
Cargo.toml
@ -11,7 +11,7 @@ name = "nu"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/nushell/nushell"
|
||||
rust-version = "1.60"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
@ -39,20 +39,20 @@ ctrlc = "3.2.1"
|
||||
log = "0.4"
|
||||
miette = "5.1.0"
|
||||
nu-ansi-term = "0.46.0"
|
||||
nu-cli = { path="./crates/nu-cli", version = "0.66.0" }
|
||||
nu-color-config = { path = "./crates/nu-color-config", version = "0.66.0" }
|
||||
nu-command = { path="./crates/nu-command", version = "0.66.0" }
|
||||
nu-engine = { path="./crates/nu-engine", version = "0.66.0" }
|
||||
nu-json = { path="./crates/nu-json", version = "0.66.0" }
|
||||
nu-parser = { path="./crates/nu-parser", version = "0.66.0" }
|
||||
nu-path = { path="./crates/nu-path", version = "0.66.0" }
|
||||
nu-plugin = { path = "./crates/nu-plugin", optional = true, version = "0.66.0" }
|
||||
nu-pretty-hex = { path = "./crates/nu-pretty-hex", version = "0.66.0" }
|
||||
nu-protocol = { path = "./crates/nu-protocol", version = "0.66.0" }
|
||||
nu-system = { path = "./crates/nu-system", version = "0.66.0" }
|
||||
nu-table = { path = "./crates/nu-table", version = "0.66.0" }
|
||||
nu-term-grid = { path = "./crates/nu-term-grid", version = "0.66.0" }
|
||||
nu-utils = { path = "./crates/nu-utils", version = "0.66.0" }
|
||||
nu-cli = { path="./crates/nu-cli", version = "0.66.1" }
|
||||
nu-color-config = { path = "./crates/nu-color-config", version = "0.66.1" }
|
||||
nu-command = { path="./crates/nu-command", version = "0.66.1" }
|
||||
nu-engine = { path="./crates/nu-engine", version = "0.66.1" }
|
||||
nu-json = { path="./crates/nu-json", version = "0.66.1" }
|
||||
nu-parser = { path="./crates/nu-parser", version = "0.66.1" }
|
||||
nu-path = { path="./crates/nu-path", version = "0.66.1" }
|
||||
nu-plugin = { path = "./crates/nu-plugin", optional = true, version = "0.66.1" }
|
||||
nu-pretty-hex = { path = "./crates/nu-pretty-hex", version = "0.66.1" }
|
||||
nu-protocol = { path = "./crates/nu-protocol", version = "0.66.1" }
|
||||
nu-system = { path = "./crates/nu-system", version = "0.66.1" }
|
||||
nu-table = { path = "./crates/nu-table", version = "0.66.1" }
|
||||
nu-term-grid = { path = "./crates/nu-term-grid", version = "0.66.1" }
|
||||
nu-utils = { path = "./crates/nu-utils", version = "0.66.1" }
|
||||
reedline = { version = "0.9.0", features = ["bashisms", "sqlite"]}
|
||||
pretty_env_logger = "0.4.0"
|
||||
rayon = "1.5.1"
|
||||
@ -64,7 +64,7 @@ openssl = { version = "0.10.38", features = ["vendored"], optional = true }
|
||||
signal-hook = { version = "0.3.14", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
nu-test-support = { path="./crates/nu-test-support", version = "0.66.0" }
|
||||
nu-test-support = { path="./crates/nu-test-support", version = "0.66.1" }
|
||||
tempfile = "3.2.0"
|
||||
assert_cmd = "2.0.2"
|
||||
pretty_assertions = "1.0.0"
|
||||
|
@ -4,21 +4,21 @@ description = "CLI-related functionality for Nushell"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-cli"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[dev-dependencies]
|
||||
nu-test-support = { path="../nu-test-support", version = "0.66.0" }
|
||||
nu-command = { path = "../nu-command", version = "0.66.0" }
|
||||
nu-test-support = { path="../nu-test-support", version = "0.66.1" }
|
||||
nu-command = { path = "../nu-command", version = "0.66.1" }
|
||||
rstest = "0.15.0"
|
||||
|
||||
[dependencies]
|
||||
nu-engine = { path = "../nu-engine", version = "0.66.0" }
|
||||
nu-path = { path = "../nu-path", version = "0.66.0" }
|
||||
nu-parser = { path = "../nu-parser", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.0" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.0" }
|
||||
nu-engine = { path = "../nu-engine", version = "0.66.1" }
|
||||
nu-path = { path = "../nu-path", version = "0.66.1" }
|
||||
nu-parser = { path = "../nu-parser", version = "0.66.1" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.1" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.1" }
|
||||
nu-ansi-term = "0.46.0"
|
||||
nu-color-config = { path = "../nu-color-config", version = "0.66.0" }
|
||||
nu-color-config = { path = "../nu-color-config", version = "0.66.1" }
|
||||
reedline = { version = "0.9.0", features = ["bashisms", "sqlite"]}
|
||||
crossterm = "0.23.0"
|
||||
miette = { version = "5.1.0", features = ["fancy"] }
|
||||
|
@ -4,11 +4,11 @@ description = "Color configuration code used by Nushell"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-color-config"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[dependencies]
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.1" }
|
||||
nu-ansi-term = "0.46.0"
|
||||
nu-json = { path = "../nu-json", version = "0.66.0" }
|
||||
nu-table = { path = "../nu-table", version = "0.66.0" }
|
||||
nu-json = { path = "../nu-json", version = "0.66.1" }
|
||||
nu-table = { path = "../nu-table", version = "0.66.1" }
|
||||
serde = { version="1.0.123", features=["derive"] }
|
||||
|
@ -4,25 +4,25 @@ description = "Nushell's built-in commands"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-command"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
build = "build.rs"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
nu-color-config = { path = "../nu-color-config", version = "0.66.0" }
|
||||
nu-engine = { path = "../nu-engine", version = "0.66.0" }
|
||||
nu-glob = { path = "../nu-glob", version = "0.66.0" }
|
||||
nu-json = { path = "../nu-json", version = "0.66.0" }
|
||||
nu-parser = { path = "../nu-parser", version = "0.66.0" }
|
||||
nu-path = { path = "../nu-path", version = "0.66.0" }
|
||||
nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.0" }
|
||||
nu-system = { path = "../nu-system", version = "0.66.0" }
|
||||
nu-table = { path = "../nu-table", version = "0.66.0" }
|
||||
nu-term-grid = { path = "../nu-term-grid", version = "0.66.0" }
|
||||
nu-test-support = { path = "../nu-test-support", version = "0.66.0" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.0" }
|
||||
nu-color-config = { path = "../nu-color-config", version = "0.66.1" }
|
||||
nu-engine = { path = "../nu-engine", version = "0.66.1" }
|
||||
nu-glob = { path = "../nu-glob", version = "0.66.1" }
|
||||
nu-json = { path = "../nu-json", version = "0.66.1" }
|
||||
nu-parser = { path = "../nu-parser", version = "0.66.1" }
|
||||
nu-path = { path = "../nu-path", version = "0.66.1" }
|
||||
nu-pretty-hex = { path = "../nu-pretty-hex", version = "0.66.1" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.1" }
|
||||
nu-system = { path = "../nu-system", version = "0.66.1" }
|
||||
nu-table = { path = "../nu-table", version = "0.66.1" }
|
||||
nu-term-grid = { path = "../nu-term-grid", version = "0.66.1" }
|
||||
nu-test-support = { path = "../nu-test-support", version = "0.66.1" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.1" }
|
||||
nu-ansi-term = "0.46.0"
|
||||
|
||||
# Potential dependencies for extras
|
||||
|
@ -342,7 +342,6 @@ pub fn create_default_context() -> EngineState {
|
||||
WithEnv,
|
||||
ConfigNu,
|
||||
ConfigEnv,
|
||||
ConfigReset,
|
||||
ConfigMeta,
|
||||
};
|
||||
|
||||
|
112
crates/nu-command/src/env/config/config_reset.rs
vendored
112
crates/nu-command/src/env/config/config_reset.rs
vendored
@ -1,112 +0,0 @@
|
||||
use chrono::Local;
|
||||
use nu_protocol::{
|
||||
ast::Call,
|
||||
engine::{Command, EngineState, Stack},
|
||||
Category, Example, PipelineData, ShellError, Signature,
|
||||
};
|
||||
use std::io::Write;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct ConfigReset;
|
||||
|
||||
impl Command for ConfigReset {
|
||||
fn name(&self) -> &str {
|
||||
"config reset"
|
||||
}
|
||||
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build(self.name())
|
||||
.switch("nu", "reset only nu config, config.nu", Some('n'))
|
||||
.switch("env", "reset only env config, env.nu", Some('e'))
|
||||
.switch("without-backup", "do not make a backup", Some('w'))
|
||||
.category(Category::Env)
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"Reset nushell environment configurations to default, and saves old config files in the config location as oldconfig.nu and oldenv.nu"
|
||||
}
|
||||
|
||||
fn examples(&self) -> Vec<Example> {
|
||||
vec![Example {
|
||||
description: "reset nushell configuration files",
|
||||
example: "config reset",
|
||||
result: None,
|
||||
}]
|
||||
}
|
||||
|
||||
fn run(
|
||||
&self,
|
||||
_engine_state: &EngineState,
|
||||
_stack: &mut Stack,
|
||||
call: &Call,
|
||||
_input: PipelineData,
|
||||
) -> Result<nu_protocol::PipelineData, nu_protocol::ShellError> {
|
||||
let only_nu = call.has_flag("nu");
|
||||
let only_env = call.has_flag("env");
|
||||
let no_backup = call.has_flag("without-backup");
|
||||
let span = call.head;
|
||||
let mut config_path = match nu_path::config_dir() {
|
||||
Some(path) => path,
|
||||
None => {
|
||||
return Err(ShellError::GenericError(
|
||||
"Could not find config path".to_string(),
|
||||
"Could not find config path".to_string(),
|
||||
None,
|
||||
None,
|
||||
Vec::new(),
|
||||
));
|
||||
}
|
||||
};
|
||||
config_path.push("nushell");
|
||||
if !only_env {
|
||||
let mut nu_config = config_path.clone();
|
||||
nu_config.push("config.nu");
|
||||
let config_file = include_str!("../../../../../docs/sample_config/default_config.nu");
|
||||
if !no_backup {
|
||||
let mut backup_path = config_path.clone();
|
||||
backup_path.push(format!(
|
||||
"oldconfig-{}.nu",
|
||||
Local::now().format("%F-%H-%M-%S"),
|
||||
));
|
||||
if std::fs::rename(nu_config.clone(), backup_path).is_err() {
|
||||
return Err(ShellError::FileNotFoundCustom(
|
||||
"config.nu could not be backed up".into(),
|
||||
span,
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Ok(mut file) = std::fs::File::create(nu_config) {
|
||||
if writeln!(&mut file, "{}", config_file).is_err() {
|
||||
return Err(ShellError::FileNotFoundCustom(
|
||||
"config.nu could not be written to".into(),
|
||||
span,
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
if !only_nu {
|
||||
let mut env_config = config_path.clone();
|
||||
env_config.push("env.nu");
|
||||
let config_file = include_str!("../../../../../docs/sample_config/default_env.nu");
|
||||
if !no_backup {
|
||||
let mut backup_path = config_path.clone();
|
||||
backup_path.push(format!("oldenv-{}.nu", Local::now().format("%F-%H-%M-%S"),));
|
||||
if std::fs::rename(env_config.clone(), backup_path).is_err() {
|
||||
return Err(ShellError::FileNotFoundCustom(
|
||||
"env.nu could not be backed up".into(),
|
||||
span,
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Ok(mut file) = std::fs::File::create(env_config) {
|
||||
if writeln!(&mut file, "{}", config_file).is_err() {
|
||||
return Err(ShellError::FileNotFoundCustom(
|
||||
"env.nu could not be written to".into(),
|
||||
span,
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
Ok(PipelineData::new(span))
|
||||
}
|
||||
}
|
2
crates/nu-command/src/env/config/mod.rs
vendored
2
crates/nu-command/src/env/config/mod.rs
vendored
@ -1,9 +1,7 @@
|
||||
mod config_;
|
||||
mod config_env;
|
||||
mod config_nu;
|
||||
mod config_reset;
|
||||
mod utils;
|
||||
pub use config_::ConfigMeta;
|
||||
pub use config_env::ConfigEnv;
|
||||
pub use config_nu::ConfigNu;
|
||||
pub use config_reset::ConfigReset;
|
||||
|
1
crates/nu-command/src/env/mod.rs
vendored
1
crates/nu-command/src/env/mod.rs
vendored
@ -7,7 +7,6 @@ mod with_env;
|
||||
pub use config::ConfigEnv;
|
||||
pub use config::ConfigMeta;
|
||||
pub use config::ConfigNu;
|
||||
pub use config::ConfigReset;
|
||||
pub use env_command::Env;
|
||||
pub use let_env::LetEnv;
|
||||
pub use load_env::LoadEnv;
|
||||
|
@ -147,9 +147,13 @@ impl Command for Ls {
|
||||
Some(glob_options)
|
||||
};
|
||||
let (prefix, paths) =
|
||||
nu_engine::glob_from(&glob_path, &cwd, call_span, glob_options)
|
||||
.expect("glob failure");
|
||||
|
||||
match nu_engine::glob_from(&glob_path, &cwd, call_span, glob_options) {
|
||||
Ok((prefix, paths)) => (prefix, paths),
|
||||
Err(e) => {
|
||||
shell_errors.push(e);
|
||||
return Vec::from([Value::nothing(call_span)]).into_iter();
|
||||
}
|
||||
};
|
||||
let mut paths_peek = paths.peekable();
|
||||
if paths_peek.peek().is_none() {
|
||||
shell_errors.push(ShellError::GenericError(
|
||||
|
@ -527,3 +527,11 @@ fn can_list_system_folder() {
|
||||
));
|
||||
assert_eq!(ls_with_filter.err, "");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_a_directory_not_exists() {
|
||||
Playground::setup("ls_test_directory_not_exists", |dirs, _sandbox| {
|
||||
let actual = nu!(cwd: dirs.test(), "ls a_directory_not_exists");
|
||||
assert!(actual.err.contains("directory not found"));
|
||||
})
|
||||
}
|
||||
|
@ -4,13 +4,13 @@ description = "Nushell's evaluation engine"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-engine"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[dependencies]
|
||||
nu-protocol = { path = "../nu-protocol", features = ["plugin"], version = "0.66.0" }
|
||||
nu-path = { path = "../nu-path", version = "0.66.0" }
|
||||
nu-glob = { path = "../nu-glob", version = "0.66.0" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", features = ["plugin"], version = "0.66.1" }
|
||||
nu-path = { path = "../nu-path", version = "0.66.1" }
|
||||
nu-glob = { path = "../nu-glob", version = "0.66.1" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.1" }
|
||||
|
||||
chrono = { version="0.4.19", features=["serde"] }
|
||||
sysinfo = "0.24.6"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "nu-glob"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
authors = ["The Nushell Project Developers", "The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
description = """
|
||||
|
@ -4,7 +4,7 @@ description = "Fork of serde-hjson"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-json"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
@ -20,5 +20,5 @@ lazy_static = "1"
|
||||
linked-hash-map = { version="0.5", optional=true }
|
||||
|
||||
[dev-dependencies]
|
||||
nu-path = { path="../nu-path", version = "0.66.0" }
|
||||
nu-path = { path="../nu-path", version = "0.66.1" }
|
||||
serde_json = "1.0"
|
||||
|
@ -4,7 +4,7 @@ description = "Nushell's parser"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-parser"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.4.19"
|
||||
@ -12,9 +12,9 @@ itertools = "0.10"
|
||||
miette = "5.1.0"
|
||||
thiserror = "1.0.31"
|
||||
serde_json = "1.0"
|
||||
nu-path = {path = "../nu-path", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.0" }
|
||||
nu-plugin = { path = "../nu-plugin", optional = true, version = "0.66.0" }
|
||||
nu-path = {path = "../nu-path", version = "0.66.1" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.1" }
|
||||
nu-plugin = { path = "../nu-plugin", optional = true, version = "0.66.1" }
|
||||
log = "0.4"
|
||||
|
||||
[features]
|
||||
|
@ -4,7 +4,7 @@ description = "Path handling library for Nushell"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-path"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[dependencies]
|
||||
dirs-next = "2.0.0"
|
||||
|
@ -4,12 +4,12 @@ description = "Functionality for building Nushell plugins"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-plugin"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[dependencies]
|
||||
bincode = "1.3.3"
|
||||
capnp = "0.14.3"
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.0" }
|
||||
nu-engine = { path = "../nu-engine", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.1" }
|
||||
nu-engine = { path = "../nu-engine", version = "0.66.1" }
|
||||
serde = {version = "1.0.130", features = ["derive"]}
|
||||
serde_json = { version = "1.0"}
|
||||
|
@ -4,7 +4,7 @@ description = "Pretty hex dump of bytes slice in the common style."
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-pretty-hex"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
@ -4,12 +4,12 @@ description = "Nushell's internal protocols, including its abstract syntax tree"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-protocol"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.0" }
|
||||
nu-utils = { path = "../nu-utils", version = "0.66.1" }
|
||||
thiserror = "1.0.31"
|
||||
miette = { version = "5.1.0", features = ["fancy"] }
|
||||
serde = {version = "1.0.130", features = ["derive"]}
|
||||
@ -18,7 +18,7 @@ indexmap = { version="1.7", features=["serde-1"] }
|
||||
chrono-humanize = "0.2.1"
|
||||
byte-unit = "4.0.9"
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
nu-json = { path = "../nu-json", version = "0.66.0" }
|
||||
nu-json = { path = "../nu-json", version = "0.66.1" }
|
||||
typetag = "0.1.8"
|
||||
num-format = "0.4.0"
|
||||
sys-locale = "0.2.0"
|
||||
|
2
crates/nu-system/Cargo.lock
generated
2
crates/nu-system/Cargo.lock
generated
@ -148,7 +148,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nu-system"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
dependencies = [
|
||||
"errno",
|
||||
"libproc",
|
||||
|
@ -2,7 +2,7 @@
|
||||
authors = ["The Nushell Project Developers", "procs creators"]
|
||||
description = "Nushell system querying"
|
||||
name = "nu-system"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
|
@ -4,7 +4,7 @@ description = "Nushell table printing"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-table"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[[bin]]
|
||||
@ -13,7 +13,7 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
nu-ansi-term = "0.46.0"
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.1" }
|
||||
strip-ansi-escapes = "0.1.1"
|
||||
atty = "0.2.14"
|
||||
tabled = { version = "0.8.0", features = ["color"] }
|
||||
|
@ -4,7 +4,7 @@ description = "Nushell grid printing"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-term-grid"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[[bin]]
|
||||
|
@ -4,14 +4,14 @@ description = "Support for writing Nushell tests"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu-test-support"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
nu-path = { path="../nu-path", version = "0.66.0" }
|
||||
nu-glob = { path = "../nu-glob", version = "0.66.0" }
|
||||
nu-path = { path="../nu-path", version = "0.66.1" }
|
||||
nu-glob = { path = "../nu-glob", version = "0.66.1" }
|
||||
|
||||
getset = "0.1.1"
|
||||
num-bigint = { version="0.4.3", features=["serde"] }
|
||||
|
@ -4,7 +4,7 @@ description = "Nushell utility functions"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu-utils"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[[bin]]
|
||||
|
@ -6,7 +6,7 @@ edition = "2021"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
nu-plugin = { path = "../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.0", features = ["plugin"] }
|
||||
nu-plugin = { path = "../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.66.1", features = ["plugin"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
typetag = "0.1.8"
|
||||
|
@ -4,8 +4,8 @@ description = "A version incrementer plugin for Nushell"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_example"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[dependencies]
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0", features = ["plugin"]}
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1", features = ["plugin"]}
|
||||
|
@ -4,14 +4,14 @@ description = "A git status plugin for Nushell"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_gstat"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-engine = { path="../nu-engine", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-engine = { path="../nu-engine", version = "0.66.1" }
|
||||
|
||||
git2 = "0.14.2"
|
||||
|
@ -4,13 +4,13 @@ description = "A version incrementer plugin for Nushell"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_inc"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0", features = ["plugin"]}
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1", features = ["plugin"]}
|
||||
|
||||
semver = "0.11.0"
|
||||
|
@ -4,15 +4,15 @@ description = "A Nushell plugin to query JSON, XML, and various web data"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_query"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-engine = { path="../nu-engine", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-engine = { path="../nu-engine", version = "0.66.1" }
|
||||
gjson = "0.8.0"
|
||||
scraper = "0.13.0"
|
||||
sxd-document = "0.3.2"
|
||||
|
@ -4,18 +4,18 @@ description = "A plugin to display charts"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_chart"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
nu-data = { path="../nu-data", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-value-ext = { path="../nu-value-ext", version = "0.66.0" }
|
||||
nu-data = { path="../nu-data", version = "0.66.1" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
nu-value-ext = { path="../nu-value-ext", version = "0.66.1" }
|
||||
|
||||
crossterm = "0.19.0"
|
||||
tui = { version="0.15.0", default-features=false, features=["crossterm"] }
|
||||
|
@ -4,7 +4,7 @@ description = "A converter plugin to the bson format for Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_from_bson"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
@ -12,9 +12,9 @@ doctest = false
|
||||
[dependencies]
|
||||
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
|
||||
bson = { version = "2.0.1", features = [ "chrono-0_4" ] }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -4,16 +4,16 @@ description = "A converter plugin to the mp4 format for Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_from_mp4"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
tempfile = "3.2.0"
|
||||
mp4 = "0.9.0"
|
||||
|
||||
|
@ -4,17 +4,17 @@ description = "A converter plugin to the bson format for Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_from_sqlite"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
tempfile = "3.2.0"
|
||||
|
||||
[dependencies.rusqlite]
|
||||
|
@ -4,17 +4,17 @@ description = "An S3 plugin for Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_s3"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
futures = { version="0.3.12", features=["compat", "io-compat"] }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
s3handler = "0.7.5"
|
||||
|
||||
[build-dependencies]
|
||||
|
@ -4,17 +4,17 @@ description = "A plugin to open files/URLs directly from Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_start"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
glob = "0.3.0"
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
url = "2.2.0"
|
||||
webbrowser = "0.5.5"
|
||||
|
||||
@ -22,5 +22,5 @@ webbrowser = "0.5.5"
|
||||
open = "1.4.0"
|
||||
|
||||
[build-dependencies]
|
||||
nu-errors = { version = "0.66.0", path="../nu-errors" }
|
||||
nu-source = { version = "0.66.0", path="../nu-source" }
|
||||
nu-errors = { version = "0.66.1", path="../nu-errors" }
|
||||
nu-source = { version = "0.66.1", path="../nu-source" }
|
||||
|
@ -4,17 +4,17 @@ description = "A converter plugin to the bson format for Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_to_bson"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
bson = { version = "2.0.1", features = [ "chrono-0_4" ] }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
num-traits = "0.2.14"
|
||||
|
||||
[features]
|
||||
|
@ -4,17 +4,17 @@ description = "A converter plugin to the SQLite format for Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_to_sqlite"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
hex = "0.4.2"
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-source = { path="../nu-source", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
nu-source = { path="../nu-source", version = "0.66.1" }
|
||||
tempfile = "3.2.0"
|
||||
|
||||
[dependencies.rusqlite]
|
||||
|
@ -4,16 +4,16 @@ description = "Tree viewer plugin for Nushell"
|
||||
edition = "2018"
|
||||
license = "MIT"
|
||||
name = "nu_plugin_tree"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
derive-new = "0.5.8"
|
||||
nu-errors = { path="../nu-errors", version = "0.66.0" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.0" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.0" }
|
||||
nu-errors = { path="../nu-errors", version = "0.66.1" }
|
||||
nu-plugin = { path="../nu-plugin", version = "0.66.1" }
|
||||
nu-protocol = { path="../nu-protocol", version = "0.66.1" }
|
||||
ptree = { version = "0.4.0", default-features = false }
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
authors = ["Nu authors"]
|
||||
edition = "2018"
|
||||
name = "wasm"
|
||||
version = "0.66.0"
|
||||
version = "0.66.1"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
BIN
wix/License.rtf
BIN
wix/License.rtf
Binary file not shown.
Reference in New Issue
Block a user