Bump to 0.18.2. Move starship external. (#2345)

* Bump to 0.18.2. Move starship external.

* Fix failing test
This commit is contained in:
Jonathan Turner 2020-08-14 07:02:45 +12:00 committed by GitHub
parent 22519c9083
commit da4d24d082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 212 additions and 430 deletions

222
Cargo.lock generated
View file

@ -202,21 +202,6 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a" checksum = "065374052e7df7ee4047b1160cca5e1467a12351a40b3da123c870ba0b8eda2a"
[[package]]
name = "attohttpc"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93610ce1c035e8a273fe56a19852e42798f3c019ca2726e52d2971197f116525"
dependencies = [
"http 0.2.1",
"log 0.4.11",
"native-tls",
"openssl",
"serde 1.0.115",
"serde_urlencoded 0.6.1",
"url 2.1.1",
]
[[package]] [[package]]
name = "atty" name = "atty"
version = "0.2.14" version = "0.2.14"
@ -1728,16 +1713,6 @@ dependencies = [
"version_check 0.9.2", "version_check 0.9.2",
] ]
[[package]]
name = "gethostname"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e692e296bfac1d2533ef168d0b60ff5897b8b70a4009276834014dd8924cc028"
dependencies = [
"libc",
"winapi 0.3.9",
]
[[package]] [[package]]
name = "getrandom" name = "getrandom"
version = "0.1.14" version = "0.1.14"
@ -1787,9 +1762,9 @@ dependencies = [
"bitflags", "bitflags",
"libc", "libc",
"libgit2-sys", "libgit2-sys",
"log 0.4.11",
"openssl-probe", "openssl-probe",
"openssl-sys", "openssl-sys",
"log 0.4.11",
"url 2.1.1", "url 2.1.1",
] ]
@ -1822,7 +1797,7 @@ dependencies = [
"bytes 0.4.12", "bytes 0.4.12",
"fnv", "fnv",
"futures 0.1.29", "futures 0.1.29",
"http 0.1.21", "http",
"indexmap", "indexmap",
"log 0.4.11", "log 0.4.11",
"slab 0.4.2", "slab 0.4.2",
@ -2065,17 +2040,6 @@ dependencies = [
"itoa", "itoa",
] ]
[[package]]
name = "http"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9"
dependencies = [
"bytes 0.5.6",
"fnv",
"itoa",
]
[[package]] [[package]]
name = "http-body" name = "http-body"
version = "0.1.0" version = "0.1.0"
@ -2084,7 +2048,7 @@ checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
dependencies = [ dependencies = [
"bytes 0.4.12", "bytes 0.4.12",
"futures 0.1.29", "futures 0.1.29",
"http 0.1.21", "http",
"tokio-buf", "tokio-buf",
] ]
@ -2140,7 +2104,7 @@ dependencies = [
"futures 0.1.29", "futures 0.1.29",
"futures-cpupool", "futures-cpupool",
"h2", "h2",
"http 0.1.21", "http",
"http-body", "http-body",
"httparse", "httparse",
"iovec", "iovec",
@ -2300,7 +2264,7 @@ dependencies = [
"curl-sys", "curl-sys",
"futures-io-preview", "futures-io-preview",
"futures-util-preview", "futures-util-preview",
"http 0.1.21", "http",
"lazy_static 1.4.0", "lazy_static 1.4.0",
"log 0.4.11", "log 0.4.11",
"slab 0.4.2", "slab 0.4.2",
@ -2433,19 +2397,6 @@ version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "lexical-core"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db65c6da02e61f55dae90a0ae427b2a5f6b3e8db09f58d10efab23af92592616"
dependencies = [
"arrayvec 0.5.1",
"bitflags",
"cfg-if",
"ryu",
"static_assertions",
]
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.74" version = "0.2.74"
@ -2951,17 +2902,6 @@ dependencies = [
"version_check 0.1.5", "version_check 0.1.5",
] ]
[[package]]
name = "nom"
version = "5.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffb4262d26ed83a1c0a33a38fe2bb15797329c85770da05e6b828ddb782627af"
dependencies = [
"lexical-core",
"memchr",
"version_check 0.9.2",
]
[[package]] [[package]]
name = "ntapi" name = "ntapi"
version = "0.3.4" version = "0.3.4"
@ -2973,7 +2913,7 @@ dependencies = [
[[package]] [[package]]
name = "nu" name = "nu"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"clap", "clap",
"crossterm", "crossterm",
@ -3008,7 +2948,6 @@ dependencies = [
"quick-xml 0.18.1", "quick-xml 0.18.1",
"semver 0.10.0", "semver 0.10.0",
"serde 1.0.115", "serde 1.0.115",
"starship",
"syntect", "syntect",
"toml 0.5.6", "toml 0.5.6",
"url 2.1.1", "url 2.1.1",
@ -3016,7 +2955,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-cli" name = "nu-cli"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"app_dirs2", "app_dirs2",
@ -3092,7 +3031,6 @@ dependencies = [
"serde_yaml", "serde_yaml",
"sha2 0.9.1", "sha2 0.9.1",
"shellexpand", "shellexpand",
"starship",
"strip-ansi-escapes", "strip-ansi-escapes",
"tempfile", "tempfile",
"term", "term",
@ -3112,7 +3050,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-errors" name = "nu-errors"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"bigdecimal", "bigdecimal",
@ -3131,7 +3069,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-parser" name = "nu-parser"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal",
"codespan-reporting", "codespan-reporting",
@ -3150,7 +3088,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-plugin" name = "nu-plugin"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal",
"indexmap", "indexmap",
@ -3165,7 +3103,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-protocol" name = "nu-protocol"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"bigdecimal", "bigdecimal",
@ -3194,7 +3132,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-source" name = "nu-source"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"codespan-reporting", "codespan-reporting",
"derive-new", "derive-new",
@ -3206,7 +3144,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-table" name = "nu-table"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"unicode-width", "unicode-width",
@ -3214,7 +3152,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-test-support" name = "nu-test-support"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"directories 2.0.2", "directories 2.0.2",
"dunce", "dunce",
@ -3229,7 +3167,7 @@ dependencies = [
[[package]] [[package]]
name = "nu-value-ext" name = "nu-value-ext"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"itertools", "itertools",
@ -3242,7 +3180,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_binaryview" name = "nu_plugin_binaryview"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"crossterm", "crossterm",
@ -3258,7 +3196,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_fetch" name = "nu_plugin_fetch"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"base64 0.12.3", "base64 0.12.3",
"futures 0.3.5", "futures 0.3.5",
@ -3272,7 +3210,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_from_bson" name = "nu_plugin_from_bson"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal",
"bson", "bson",
@ -3286,7 +3224,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_from_sqlite" name = "nu_plugin_from_sqlite"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal",
"nu-errors", "nu-errors",
@ -3301,7 +3239,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_inc" name = "nu_plugin_inc"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"nu-errors", "nu-errors",
"nu-plugin", "nu-plugin",
@ -3313,7 +3251,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_match" name = "nu_plugin_match"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"nu-errors", "nu-errors",
@ -3325,7 +3263,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_post" name = "nu_plugin_post"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"base64 0.12.3", "base64 0.12.3",
"futures 0.3.5", "futures 0.3.5",
@ -3341,7 +3279,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_ps" name = "nu_plugin_ps"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"futures-timer", "futures-timer",
@ -3354,7 +3292,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_s3" name = "nu_plugin_s3"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"futures 0.3.5", "futures 0.3.5",
"nu-errors", "nu-errors",
@ -3366,7 +3304,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_start" name = "nu_plugin_start"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"glob", "glob",
"nu-errors", "nu-errors",
@ -3379,7 +3317,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_sys" name = "nu_plugin_sys"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"battery", "battery",
"futures 0.3.5", "futures 0.3.5",
@ -3394,7 +3332,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_textview" name = "nu_plugin_textview"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"bat", "bat",
@ -3411,7 +3349,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_to_bson" name = "nu_plugin_to_bson"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"bson", "bson",
"nu-errors", "nu-errors",
@ -3424,7 +3362,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_to_sqlite" name = "nu_plugin_to_sqlite"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"hex 0.4.2", "hex 0.4.2",
"nu-errors", "nu-errors",
@ -3439,7 +3377,7 @@ dependencies = [
[[package]] [[package]]
name = "nu_plugin_tree" name = "nu_plugin_tree"
version = "0.18.1" version = "0.18.2"
dependencies = [ dependencies = [
"derive-new", "derive-new",
"nu-errors", "nu-errors",
@ -3711,17 +3649,6 @@ version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a86ed3f5f244b372d6b1a00b72ef7f8876d0bc6a78a4c9985c53614041512063" checksum = "a86ed3f5f244b372d6b1a00b72ef7f8876d0bc6a78a4c9985c53614041512063"
[[package]]
name = "os_info"
version = "2.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2cc1b4330bb29087e791ae2a5cf56be64fb8946a4ff5aec2ba11c6ca51f5d60"
dependencies = [
"log 0.4.11",
"serde 1.0.115",
"winapi 0.3.9",
]
[[package]] [[package]]
name = "parking" name = "parking"
version = "1.0.6" version = "1.0.6"
@ -3813,12 +3740,6 @@ dependencies = [
"regex 1.3.9", "regex 1.3.9",
] ]
[[package]]
name = "path-slash"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff65715a17cba8979903db6294baef56c5d39e05c8b054cffa31e69e61f24c68"
[[package]] [[package]]
name = "path_abs" name = "path_abs"
version = "0.5.0" version = "0.5.0"
@ -4513,7 +4434,7 @@ dependencies = [
"encoding_rs", "encoding_rs",
"flate2", "flate2",
"futures 0.1.29", "futures 0.1.29",
"http 0.1.21", "http",
"hyper 0.12.35", "hyper 0.12.35",
"hyper-tls", "hyper-tls",
"log 0.4.11", "log 0.4.11",
@ -4709,7 +4630,7 @@ dependencies = [
"failure_derive", "failure_derive",
"hmac", "hmac",
"hmac-sha1", "hmac-sha1",
"http 0.1.21", "http",
"hyper 0.11.27", "hyper 0.11.27",
"log 0.4.11", "log 0.4.11",
"md5 0.3.8", "md5 0.3.8",
@ -5123,61 +5044,6 @@ dependencies = [
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]]
name = "starship"
version = "0.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ae08e37c960a62130af61e37bf1f6c4703f277a42dcf0cdeea4955c8d049a6e"
dependencies = [
"ansi_term 0.12.1",
"attohttpc",
"battery",
"byte-unit",
"chrono",
"clap",
"dirs-next",
"gethostname",
"git2",
"log 0.4.11",
"nom 5.1.2",
"once_cell",
"open",
"os_info",
"path-slash",
"pest",
"pest_derive",
"pretty_env_logger",
"rayon",
"regex 1.3.9",
"serde_json",
"starship_module_config_derive",
"sysinfo",
"term_size",
"textwrap",
"toml 0.5.6",
"unicode-segmentation",
"unicode-width",
"urlencoding",
"yaml-rust",
]
[[package]]
name = "starship_module_config_derive"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d1ccdf8467ad115d088ab970010266b27deec41b9d940f154c785b3808bd04e"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]] [[package]]
name = "std_prelude" name = "std_prelude"
version = "0.2.12" version = "0.2.12"
@ -5215,7 +5081,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "741a8008f8a833ef16f47df94a30754478fb2c2bf822b9c2e6f7f09203b97ace" checksum = "741a8008f8a833ef16f47df94a30754478fb2c2bf822b9c2e6f7f09203b97ace"
dependencies = [ dependencies = [
"futures-preview", "futures-preview",
"http 0.1.21", "http",
"isahc", "isahc",
"js-sys", "js-sys",
"log 0.4.11", "log 0.4.11",
@ -5276,21 +5142,6 @@ dependencies = [
"yaml-rust", "yaml-rust",
] ]
[[package]]
name = "sysinfo"
version = "0.14.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2983daff11a197c7c406b130579bc362177aa54cf2cc1f34d6ac88fccaa6a5e1"
dependencies = [
"cfg-if",
"doc-comment",
"libc",
"ntapi",
"once_cell",
"rayon",
"winapi 0.3.9",
]
[[package]] [[package]]
name = "take" name = "take"
version = "0.1.0" version = "0.1.0"
@ -5687,7 +5538,6 @@ version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a" checksum = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a"
dependencies = [ dependencies = [
"indexmap",
"serde 1.0.115", "serde 1.0.115",
] ]
@ -5872,12 +5722,6 @@ dependencies = [
"percent-encoding 2.1.0", "percent-encoding 2.1.0",
] ]
[[package]]
name = "urlencoding"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c9232eb53352b4442e40d7900465dfc534e8cb2dc8f18656fcb2ac16112b5593"
[[package]] [[package]]
name = "user32-sys" name = "user32-sys"
version = "0.2.0" version = "0.2.0"

View file

@ -10,7 +10,7 @@ license = "MIT"
name = "nu" name = "nu"
readme = "README.md" readme = "README.md"
repository = "https://github.com/nushell/nushell" repository = "https://github.com/nushell/nushell"
version = "0.18.1" version = "0.18.2"
[workspace] [workspace]
members = ["crates/*/"] members = ["crates/*/"]
@ -18,29 +18,29 @@ members = ["crates/*/"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
nu-cli = {version = "0.18.1", path = "./crates/nu-cli"} nu-cli = {version = "0.18.2", path = "./crates/nu-cli"}
nu-errors = {version = "0.18.1", path = "./crates/nu-errors"} nu-errors = {version = "0.18.2", path = "./crates/nu-errors"}
nu-parser = {version = "0.18.1", path = "./crates/nu-parser"} nu-parser = {version = "0.18.2", path = "./crates/nu-parser"}
nu-plugin = {version = "0.18.1", path = "./crates/nu-plugin"} nu-plugin = {version = "0.18.2", path = "./crates/nu-plugin"}
nu-protocol = {version = "0.18.1", path = "./crates/nu-protocol"} nu-protocol = {version = "0.18.2", path = "./crates/nu-protocol"}
nu-source = {version = "0.18.1", path = "./crates/nu-source"} nu-source = {version = "0.18.2", path = "./crates/nu-source"}
nu-value-ext = {version = "0.18.1", path = "./crates/nu-value-ext"} nu-value-ext = {version = "0.18.2", path = "./crates/nu-value-ext"}
nu_plugin_binaryview = {version = "0.18.1", path = "./crates/nu_plugin_binaryview", optional = true} nu_plugin_binaryview = {version = "0.18.2", path = "./crates/nu_plugin_binaryview", optional = true}
nu_plugin_fetch = {version = "0.18.1", path = "./crates/nu_plugin_fetch", optional = true} nu_plugin_fetch = {version = "0.18.2", path = "./crates/nu_plugin_fetch", optional = true}
nu_plugin_from_bson = {version = "0.18.1", path = "./crates/nu_plugin_from_bson", optional = true} nu_plugin_from_bson = {version = "0.18.2", path = "./crates/nu_plugin_from_bson", optional = true}
nu_plugin_from_sqlite = {version = "0.18.1", path = "./crates/nu_plugin_from_sqlite", optional = true} nu_plugin_from_sqlite = {version = "0.18.2", path = "./crates/nu_plugin_from_sqlite", optional = true}
nu_plugin_inc = {version = "0.18.1", path = "./crates/nu_plugin_inc", optional = true} nu_plugin_inc = {version = "0.18.2", path = "./crates/nu_plugin_inc", optional = true}
nu_plugin_match = {version = "0.18.1", path = "./crates/nu_plugin_match", optional = true} nu_plugin_match = {version = "0.18.2", path = "./crates/nu_plugin_match", optional = true}
nu_plugin_post = {version = "0.18.1", path = "./crates/nu_plugin_post", optional = true} nu_plugin_post = {version = "0.18.2", path = "./crates/nu_plugin_post", optional = true}
nu_plugin_ps = {version = "0.18.1", path = "./crates/nu_plugin_ps", optional = true} nu_plugin_ps = {version = "0.18.2", path = "./crates/nu_plugin_ps", optional = true}
nu_plugin_start = {version = "0.18.1", path = "./crates/nu_plugin_start", optional = true} nu_plugin_start = {version = "0.18.2", path = "./crates/nu_plugin_start", optional = true}
nu_plugin_sys = {version = "0.18.1", path = "./crates/nu_plugin_sys", optional = true} nu_plugin_sys = {version = "0.18.2", path = "./crates/nu_plugin_sys", optional = true}
nu_plugin_textview = {version = "0.18.1", path = "./crates/nu_plugin_textview", optional = true} nu_plugin_textview = {version = "0.18.2", path = "./crates/nu_plugin_textview", optional = true}
nu_plugin_to_bson = {version = "0.18.1", path = "./crates/nu_plugin_to_bson", optional = true} nu_plugin_to_bson = {version = "0.18.2", path = "./crates/nu_plugin_to_bson", optional = true}
nu_plugin_to_sqlite = {version = "0.18.1", path = "./crates/nu_plugin_to_sqlite", optional = true} nu_plugin_to_sqlite = {version = "0.18.2", path = "./crates/nu_plugin_to_sqlite", optional = true}
nu_plugin_tree = {version = "0.18.1", path = "./crates/nu_plugin_tree", optional = true} nu_plugin_tree = {version = "0.18.2", path = "./crates/nu_plugin_tree", optional = true}
nu_plugin_s3 = { version = "0.18.1", path = "./crates/nu_plugin_s3", optional=true } nu_plugin_s3 = { version = "0.18.2", path = "./crates/nu_plugin_s3", optional=true }
crossterm = {version = "0.17.5", optional = true} crossterm = {version = "0.17.5", optional = true}
semver = {version = "0.10.0", optional = true} semver = {version = "0.10.0", optional = true}
@ -54,10 +54,9 @@ futures = {version = "0.3", features = ["compat", "io-compat"]}
log = "0.4.8" log = "0.4.8"
pretty_env_logger = "0.4.0" pretty_env_logger = "0.4.0"
quick-xml = "0.18.1" quick-xml = "0.18.1"
starship = "0.43.0"
[dev-dependencies] [dev-dependencies]
nu-test-support = {version = "0.18.1", path = "./crates/nu-test-support"} nu-test-support = {version = "0.18.2", path = "./crates/nu-test-support"}
[build-dependencies] [build-dependencies]
serde = {version = "1.0.110", features = ["derive"]} serde = {version = "1.0.110", features = ["derive"]}
@ -77,7 +76,7 @@ default = [
"term-support", "term-support",
"uuid-support", "uuid-support",
] ]
stable = ["default", "binaryview", "match", "tree", "post", "fetch", "clipboard-cli", "trash-support", "start", "starship-prompt", "bson", "sqlite", "s3"] stable = ["default", "binaryview", "match", "tree", "post", "fetch", "clipboard-cli", "trash-support", "start", "bson", "sqlite", "s3"]
# Default # Default
inc = ["semver", "nu_plugin_inc"] inc = ["semver", "nu_plugin_inc"]
@ -102,7 +101,6 @@ ctrlc-support = ["nu-cli/ctrlc"]
directories-support = ["nu-cli/directories", "nu-cli/dirs"] directories-support = ["nu-cli/directories", "nu-cli/dirs"]
git-support = ["nu-cli/git2"] git-support = ["nu-cli/git2"]
ptree-support = ["nu-cli/ptree"] ptree-support = ["nu-cli/ptree"]
starship-prompt = ["nu-cli/starship-prompt"]
term-support = ["nu-cli/term"] term-support = ["nu-cli/term"]
trash-support = ["nu-cli/trash-support"] trash-support = ["nu-cli/trash-support"]
uuid-support = ["nu-cli/uuid_crate"] uuid-support = ["nu-cli/uuid_crate"]

View file

@ -4,20 +4,20 @@ description = "CLI for nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-cli" name = "nu-cli"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-errors = {version = "0.18.1", path = "../nu-errors"} nu-errors = {version = "0.18.2", path = "../nu-errors"}
nu-parser = {version = "0.18.1", path = "../nu-parser"} nu-parser = {version = "0.18.2", path = "../nu-parser"}
nu-plugin = {version = "0.18.1", path = "../nu-plugin"} nu-plugin = {version = "0.18.2", path = "../nu-plugin"}
nu-protocol = {version = "0.18.1", path = "../nu-protocol"} nu-protocol = {version = "0.18.2", path = "../nu-protocol"}
nu-source = {version = "0.18.1", path = "../nu-source"} nu-source = {version = "0.18.2", path = "../nu-source"}
nu-table = {version = "0.18.1", path = "../nu-table"} nu-table = {version = "0.18.2", path = "../nu-table"}
nu-test-support = {version = "0.18.1", path = "../nu-test-support"} nu-test-support = {version = "0.18.2", path = "../nu-test-support"}
nu-value-ext = {version = "0.18.1", path = "../nu-value-ext"} nu-value-ext = {version = "0.18.2", path = "../nu-value-ext"}
ansi_term = "0.12.1" ansi_term = "0.12.1"
app_dirs = {version = "2", package = "app_dirs2"} app_dirs = {version = "2", package = "app_dirs2"}
@ -95,7 +95,6 @@ clipboard = {version = "0.5", optional = true}
encoding_rs = "0.8.23" encoding_rs = "0.8.23"
quick-xml = "0.18.1" quick-xml = "0.18.1"
rayon = "1.3.1" rayon = "1.3.1"
starship = {version = "0.43.0", optional = true}
trash = {version = "1.0.1", optional = true} trash = {version = "1.0.1", optional = true}
url = {version = "2.1.1"} url = {version = "2.1.1"}
@ -124,5 +123,4 @@ quickcheck_macros = "0.9"
[features] [features]
clipboard-cli = ["clipboard"] clipboard-cli = ["clipboard"]
stable = [] stable = []
starship-prompt = ["starship"]
trash-support = ["trash"] trash-support = ["trash"]

View file

@ -228,22 +228,6 @@ impl History {
} }
} }
#[allow(dead_code)]
fn create_default_starship_config() -> Option<toml::Value> {
let mut map = toml::value::Table::new();
map.insert("add_newline".into(), toml::Value::Boolean(false));
let mut git_branch = toml::value::Table::new();
git_branch.insert("symbol".into(), toml::Value::String("📙 ".into()));
map.insert("git_branch".into(), toml::Value::Table(git_branch));
let mut git_status = toml::value::Table::new();
git_status.insert("disabled".into(), toml::Value::Boolean(true));
map.insert("git_status".into(), toml::Value::Table(git_status));
Some(toml::Value::Table(map))
}
pub fn create_default_context( pub fn create_default_context(
syncer: &mut crate::EnvironmentSyncer, syncer: &mut crate::EnvironmentSyncer,
interactive: bool, interactive: bool,
@ -746,11 +730,6 @@ pub async fn cli(
); );
} }
let use_starship = config
.get("use_starship")
.map(|x| x.is_true())
.unwrap_or(false);
#[cfg(windows)] #[cfg(windows)]
{ {
let _ = ansi_term::enable_ansi_support(); let _ = ansi_term::enable_ansi_support();
@ -808,37 +787,7 @@ pub async fn cli(
))); )));
let colored_prompt = { let colored_prompt = {
if use_starship { if let Some(prompt) = config.get("prompt") {
#[cfg(feature = "starship")]
{
std::env::set_var("STARSHIP_SHELL", "");
std::env::set_var("PWD", &cwd);
let mut starship_context =
starship::context::Context::new_with_dir(clap::ArgMatches::default(), cwd);
match starship_context.config.config {
None => {
starship_context.config.config = create_default_starship_config();
}
Some(toml::Value::Table(t)) if t.is_empty() => {
starship_context.config.config = create_default_starship_config();
}
_ => {}
};
starship::print::get_prompt(starship_context)
}
#[cfg(not(feature = "starship"))]
{
format!(
"\x1b[32m{}{}\x1b[m> ",
cwd,
match current_branch() {
Some(s) => format!("({})", s),
None => "".to_string(),
}
)
}
} else if let Some(prompt) = config.get("prompt") {
let prompt_line = prompt.as_string()?; let prompt_line = prompt.as_string()?;
match nu_parser::lite_parse(&prompt_line, 0).map_err(ShellError::from) { match nu_parser::lite_parse(&prompt_line, 0).map_err(ShellError::from) {

View file

@ -79,11 +79,6 @@ fn features_enabled(tag: impl Into<Tag>) -> TaggedListBuilder {
names.push_untagged(UntaggedValue::string("trash")); names.push_untagged(UntaggedValue::string("trash"));
} }
#[cfg(feature = "starship-prompt")]
{
names.push_untagged(UntaggedValue::string("starship"));
}
names names
} }

View file

@ -1,13 +1,4 @@
use crate::prelude::*;
pub fn current_branch() -> Option<String> { pub fn current_branch() -> Option<String> {
if let Ok(config) = crate::data::config::config(Tag::unknown()) {
let use_starship = config
.get("use_starship")
.map(|x| x.is_true())
.unwrap_or(false);
if !use_starship {
#[cfg(feature = "git2")] #[cfg(feature = "git2")]
{ {
use git2::{Repository, RepositoryOpenFlags}; use git2::{Repository, RepositoryOpenFlags};
@ -32,10 +23,4 @@ pub fn current_branch() -> Option<String> {
{ {
None None
} }
} else {
None
}
} else {
None
}
} }

View file

@ -32,16 +32,30 @@ fn figures_out_intelligently_where_to_write_out_with_metadata() {
#[test] #[test]
fn writes_out_csv() { fn writes_out_csv() {
Playground::setup("save_test_2", |dirs, _| { Playground::setup("save_test_2", |dirs, sandbox| {
sandbox.with_files(vec![FileWithContent(
"cargo_sample.json",
r#"
{
"package": {
"name": "nu",
"version": "0.14",
"description": "A new type of shell",
"license": "MIT",
"edition": "2018"
}
}
"#,
)]);
let expected_file = dirs.test().join("cargo_sample.csv"); let expected_file = dirs.test().join("cargo_sample.csv");
nu!( nu!(
cwd: dirs.root(), cwd: dirs.root(),
"open \"{}/cargo_sample.toml\" | get package | save save_test_2/cargo_sample.csv", "open save_test_2/cargo_sample.json | get package | save save_test_2/cargo_sample.csv",
dirs.formats()
); );
let actual = file_contents(expected_file); let actual = file_contents(expected_file);
assert!(actual.contains("nu,0.1.1,[Table],a new type of shell,ISC,2018")); assert!(actual.contains("nu,0.14,A new type of shell,MIT,2018"));
}) })
} }

View file

@ -4,13 +4,13 @@ description = "Core error subsystem for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-errors" name = "nu-errors"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
ansi_term = "0.12.1" ansi_term = "0.12.1"
bigdecimal = {version = "0.1.2", features = ["serde"]} bigdecimal = {version = "0.1.2", features = ["serde"]}

View file

@ -4,7 +4,7 @@ description = "Nushell parser"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-parser" name = "nu-parser"
version = "0.18.1" version = "0.18.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -20,9 +20,9 @@ parking_lot = "0.11.0"
serde = "1.0.114" serde = "1.0.114"
shellexpand = "2.0.0" shellexpand = "2.0.0"
nu-errors = {version = "0.18.1", path = "../nu-errors"} nu-errors = {version = "0.18.2", path = "../nu-errors"}
nu-protocol = {version = "0.18.1", path = "../nu-protocol"} nu-protocol = {version = "0.18.2", path = "../nu-protocol"}
nu-source = {version = "0.18.1", path = "../nu-source"} nu-source = {version = "0.18.2", path = "../nu-source"}
[features] [features]
stable = [] stable = []

View file

@ -4,16 +4,16 @@ description = "Nushell Plugin"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-plugin" name = "nu-plugin"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
nu-value-ext = {path = "../nu-value-ext", version = "0.18.1"} nu-value-ext = {path = "../nu-value-ext", version = "0.18.2"}
bigdecimal = {version = "0.1.2", features = ["serde"]} bigdecimal = {version = "0.1.2", features = ["serde"]}
indexmap = {version = "1.4.0", features = ["serde-1"]} indexmap = {version = "1.4.0", features = ["serde-1"]}

View file

@ -4,7 +4,7 @@ description = "Core values and protocols for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-protocol" name = "nu-protocol"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
@ -21,8 +21,8 @@ indexmap = {version = "1.4.0", features = ["serde-1"]}
itertools = "0.9.0" itertools = "0.9.0"
log = "0.4.8" log = "0.4.8"
natural = "0.5.0" natural = "0.5.0"
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
num-bigint = {version = "0.2.6", features = ["serde"]} num-bigint = {version = "0.2.6", features = ["serde"]}
num-integer = "0.1.42" num-integer = "0.1.42"
num-traits = "0.2.12" num-traits = "0.2.12"

View file

@ -4,7 +4,7 @@ description = "A source string characterizer for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-source" name = "nu-source"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false

View file

@ -4,7 +4,7 @@ description = "Nushell table printing"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-table" name = "nu-table"
version = "0.18.1" version = "0.18.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]] [[bin]]

View file

@ -4,15 +4,15 @@ description = "A source string characterizer for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-test-support" name = "nu-test-support"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-parser = {path = "../nu-parser", version = "0.18.1"} nu-parser = {path = "../nu-parser", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
directories = "2.0.2" directories = "2.0.2"
dunce = "1.0.1" dunce = "1.0.1"

View file

@ -4,16 +4,16 @@ description = "Extension traits for values in Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu-value-ext" name = "nu-value-ext"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-parser = {path = "../nu-parser", version = "0.18.1"} nu-parser = {path = "../nu-parser", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
indexmap = {version = "1.4.0", features = ["serde-1"]} indexmap = {version = "1.4.0", features = ["serde-1"]}
itertools = "0.9.0" itertools = "0.9.0"

View file

@ -4,7 +4,7 @@ description = "A binary viewer plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_binaryview" name = "nu_plugin_binaryview"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
@ -14,10 +14,10 @@ ansi_term = "0.12.1"
crossterm = {version = "0.17.5"} crossterm = {version = "0.17.5"}
image = {version = "0.22.4", default_features = false, features = ["png_codec", "jpeg"]} image = {version = "0.22.4", default_features = false, features = ["png_codec", "jpeg"]}
neso = "0.5.0" neso = "0.5.0"
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
pretty-hex = "0.1.1" pretty-hex = "0.1.1"
rawkey = "0.1.2" rawkey = "0.1.2"

View file

@ -4,7 +4,7 @@ description = "A URL fetch plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_fetch" name = "nu_plugin_fetch"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
@ -12,10 +12,10 @@ doctest = false
[dependencies] [dependencies]
base64 = "0.12.3" base64 = "0.12.3"
futures = {version = "0.3", features = ["compat", "io-compat"]} futures = {version = "0.3", features = ["compat", "io-compat"]}
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
surf = "1.0.3" surf = "1.0.3"
url = "2.1.1" url = "2.1.1"

View file

@ -4,7 +4,7 @@ description = "A converter plugin to the bson format for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_from_bson" name = "nu_plugin_from_bson"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
@ -12,11 +12,11 @@ doctest = false
[dependencies] [dependencies]
bigdecimal = "0.1.2" bigdecimal = "0.1.2"
bson = {version = "0.14.1", features = ["decimal128"]} bson = {version = "0.14.1", features = ["decimal128"]}
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
nu-value-ext = {path = "../nu-value-ext", version = "0.18.1"} nu-value-ext = {path = "../nu-value-ext", version = "0.18.2"}
num-traits = "0.2.12" num-traits = "0.2.12"
[build-dependencies] [build-dependencies]

View file

@ -4,18 +4,18 @@ description = "A converter plugin to the bson format for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_from_sqlite" name = "nu_plugin_from_sqlite"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
bigdecimal = "0.1.2" bigdecimal = "0.1.2"
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
nu-value-ext = {path = "../nu-value-ext", version = "0.18.1"} nu-value-ext = {path = "../nu-value-ext", version = "0.18.2"}
num-traits = "0.2.12" num-traits = "0.2.12"
tempfile = "3.1.0" tempfile = "3.1.0"

View file

@ -4,17 +4,17 @@ description = "A version incrementer plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_inc" name = "nu_plugin_inc"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
nu-value-ext = {path = "../nu-value-ext", version = "0.18.1"} nu-value-ext = {path = "../nu-value-ext", version = "0.18.2"}
semver = "0.10.0" semver = "0.10.0"

View file

@ -4,17 +4,17 @@ description = "A regex match plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_match" name = "nu_plugin_match"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
futures = {version = "0.3", features = ["compat", "io-compat"]} futures = {version = "0.3", features = ["compat", "io-compat"]}
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
regex = "1" regex = "1"
[build-dependencies] [build-dependencies]

View file

@ -4,7 +4,7 @@ description = "An HTTP post plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_post" name = "nu_plugin_post"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
@ -12,10 +12,10 @@ doctest = false
[dependencies] [dependencies]
base64 = "0.12.3" base64 = "0.12.3"
futures = {version = "0.3", features = ["compat", "io-compat"]} futures = {version = "0.3", features = ["compat", "io-compat"]}
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
num-traits = "0.2.12" num-traits = "0.2.12"
serde_json = "1.0.55" serde_json = "1.0.55"
surf = "1.0.3" surf = "1.0.3"

View file

@ -4,16 +4,16 @@ description = "A process list plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_ps" name = "nu_plugin_ps"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
futures = {version = "0.3", features = ["compat", "io-compat"]} futures = {version = "0.3", features = ["compat", "io-compat"]}
futures-timer = "3.0.2" futures-timer = "3.0.2"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "nu_plugin_s3" name = "nu_plugin_s3"
version = "0.18.1" version = "0.18.2"
authors = ["The Nu Project Contributors"] authors = ["The Nu Project Contributors"]
edition = "2018" edition = "2018"
description = "An S3 plugin for Nushell" description = "An S3 plugin for Nushell"
@ -10,10 +10,10 @@ license = "MIT"
doctest = false doctest = false
[dependencies] [dependencies]
nu-plugin = { path = "../nu-plugin", version = "0.18.1" } nu-plugin = { path = "../nu-plugin", version = "0.18.2" }
nu-protocol = { path = "../nu-protocol", version = "0.18.1" } nu-protocol = { path = "../nu-protocol", version = "0.18.2" }
nu-source = { path = "../nu-source", version = "0.18.1" } nu-source = { path = "../nu-source", version = "0.18.2" }
nu-errors = { path = "../nu-errors", version = "0.18.1" } nu-errors = { path = "../nu-errors", version = "0.18.2" }
futures = { version = "0.3", features = ["compat", "io-compat"] } futures = { version = "0.3", features = ["compat", "io-compat"] }
s3handler = "0.5.0" s3handler = "0.5.0"

View file

@ -4,20 +4,20 @@ description = "A plugin to open files/URLs directly from Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_start" name = "nu_plugin_start"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
glob = "0.3.0" glob = "0.3.0"
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
open = "1.4.0" open = "1.4.0"
url = "2.1.1" url = "2.1.1"
[build-dependencies] [build-dependencies]
nu-errors = {version = "0.18.1", path = "../nu-errors"} nu-errors = {version = "0.18.2", path = "../nu-errors"}
nu-source = {version = "0.18.1", path = "../nu-source"} nu-source = {version = "0.18.2", path = "../nu-source"}

View file

@ -4,16 +4,16 @@ description = "A system info plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_sys" name = "nu_plugin_sys"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
battery = "0.7.5" battery = "0.7.5"
futures = {version = "0.3", features = ["compat", "io-compat"]} futures = {version = "0.3", features = ["compat", "io-compat"]}

View file

@ -4,17 +4,17 @@ description = "Text viewer plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_textview" name = "nu_plugin_textview"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
nu-cli = {path = "../nu-cli", version = "0.18.1"} nu-cli = {path = "../nu-cli", version = "0.18.2"}
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
ansi_term = "0.12.1" ansi_term = "0.12.1"
bat = "0.15.4" bat = "0.15.4"

View file

@ -4,18 +4,18 @@ description = "A converter plugin to the bson format for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_to_bson" name = "nu_plugin_to_bson"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
bson = "0.14.1" bson = "0.14.1"
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
nu-value-ext = {path = "../nu-value-ext", version = "0.18.1"} nu-value-ext = {path = "../nu-value-ext", version = "0.18.2"}
num-traits = "0.2.12" num-traits = "0.2.12"
[build-dependencies] [build-dependencies]

View file

@ -4,18 +4,18 @@ description = "A converter plugin to the bson format for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_to_sqlite" name = "nu_plugin_to_sqlite"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
hex = "0.4.2" hex = "0.4.2"
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
nu-value-ext = {path = "../nu-value-ext", version = "0.18.1"} nu-value-ext = {path = "../nu-value-ext", version = "0.18.2"}
num-traits = "0.2.12" num-traits = "0.2.12"
tempfile = "3.1.0" tempfile = "3.1.0"

View file

@ -4,17 +4,17 @@ description = "Tree viewer plugin for Nushell"
edition = "2018" edition = "2018"
license = "MIT" license = "MIT"
name = "nu_plugin_tree" name = "nu_plugin_tree"
version = "0.18.1" version = "0.18.2"
[lib] [lib]
doctest = false doctest = false
[dependencies] [dependencies]
derive-new = "0.5.8" derive-new = "0.5.8"
nu-errors = {path = "../nu-errors", version = "0.18.1"} nu-errors = {path = "../nu-errors", version = "0.18.2"}
nu-plugin = {path = "../nu-plugin", version = "0.18.1"} nu-plugin = {path = "../nu-plugin", version = "0.18.2"}
nu-protocol = {path = "../nu-protocol", version = "0.18.1"} nu-protocol = {path = "../nu-protocol", version = "0.18.2"}
nu-source = {path = "../nu-source", version = "0.18.1"} nu-source = {path = "../nu-source", version = "0.18.2"}
ptree = {version = "0.2"} ptree = {version = "0.2"}
[build-dependencies] [build-dependencies]

View file

@ -88,7 +88,7 @@ version = "0.4.6"
[dependencies.cursive] [dependencies.cursive]
default-features = false default-features = false
features = ["pancurses-backend"] features = ["pancurses-backend"]
version = "0.18.1" version = "0.18.2"
[dependencies.futures-preview] [dependencies.futures-preview]
features = ["compat", "io-compat"] features = ["compat", "io-compat"]

View file

@ -10,7 +10,6 @@ pivot_mode = "auto"
ctrlc_exit = false ctrlc_exit = false
complete_from_path = true complete_from_path = true
rm_always_trash = true rm_always_trash = true
use_starship = false
prompt = "echo [ $(ansi gb) $(pwd) $(ansi reset) \"(\" $(ansi cb) $(do -i { git rev-parse --abbrev-ref HEAD | trim }) $(ansi reset) \")\" $(char newline) $(ansi yb) $(date --format \"%m/%d/%Y %I:%M:%S%.3f %p\" --raw) $(ansi reset) \"> \" ] | str collect" prompt = "echo [ $(ansi gb) $(pwd) $(ansi reset) \"(\" $(ansi cb) $(do -i { git rev-parse --abbrev-ref HEAD | trim }) $(ansi reset) \")\" $(char newline) $(ansi yb) $(date --format \"%m/%d/%Y %I:%M:%S%.3f %p\" --raw) $(ansi reset) \"> \" ] | str collect"
[line_editor] [line_editor]