upgrading dependencies (#4135)

* upgrade dependencies
num-bigint 0.3.1 -> 0.4.3
bigdecimal-rs 0.2.1 -> bigdecimal 0.3.0
s3hander 0.7 -> 0.7.5
bat 0.18 -> 0.18, default-features = false

* upgrade arboard 1.1.0 -> 2.0.1

* in polars use comfy-table instead of prettytable-rs
the last release of prettytable-rs was `0.8.0 Sep 27, 2018`
and it uses `term 0.5` as a dependency

* upgrade dependencies

* upgrade trash -> 2.0.1

Co-authored-by: ahkrr <alexhk@protonmail.com>
This commit is contained in:
ahkrr 2021-11-20 14:11:11 +01:00 committed by GitHub
parent 2590fcbe5c
commit e06df124ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 36 additions and 34 deletions

View File

@ -29,13 +29,13 @@ pretty_env_logger = "0.4.0"
strip-ansi-escapes = "0.1.0"
rustyline = { version="9.0.0", optional=true }
ctrlc = { version="3.1.7", optional=true }
shadow-rs = { version="0.6", default-features=false, optional=true }
shadow-rs = { version = "0.8.1", default-features = false, optional = true }
serde = { version="1.0.123", features=["derive"] }
serde_yaml = "0.8.16"
lazy_static = "1.4.0"
[build-dependencies]
shadow-rs = "0.6"
shadow-rs = "0.8.1"
[features]
default = ["shadow-rs"]

View File

@ -31,9 +31,9 @@ nu-pretty-hex = { version = "0.40.0", path="../nu-pretty-hex" }
url = "2.2.1"
mime = "0.3.16"
Inflector = "0.11"
arboard = { version="1.1.0", optional=true }
arboard = { version = "2.0.1", optional = true }
base64 = "0.13.0"
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { version = "0.3.0", features = ["serde"] }
calamine = "0.18.0"
chrono = { version="0.4.19", features=["serde"] }
chrono-tz = "0.5.3"
@ -56,7 +56,7 @@ lazy_static = "1.*"
log = "0.4.14"
md-5 = "0.9.1"
meval = "0.2.0"
num-bigint = { version="0.3.1", features=["serde"] }
num-bigint = { version="0.4.3", features=["serde"] }
num-format = { version="0.4.0", features=["with-num-bigint"] }
num-traits = "0.2.14"
parking_lot = "0.11.1"
@ -74,14 +74,14 @@ serde_urlencoded = "0.7.0"
serde_yaml = "0.8.16"
sha2 = "0.9.3"
strip-ansi-escapes = "0.1.0"
sysinfo = { version = "0.20.2", optional = true }
sysinfo = { version = "0.21.1", optional = true }
thiserror = "1.0.26"
term = { version="0.7.0", optional=true }
term_size = "0.3.2"
titlecase = "1.1.0"
tokio = { version = "1", features = ["rt-multi-thread"], optional = true }
toml = "0.5.8"
trash = { version="1.3.0", optional=true }
trash = { version = "2.0.2", optional = true }
unicode-segmentation = "1.8"
uuid_crate = { package="uuid", version="0.8.2", features=["v4"], optional=true }
which = { version="4.1.0", optional=true }
@ -91,7 +91,8 @@ digest = "0.9.0"
[dependencies.polars]
version = "0.17.0"
optional = true
features = ["parquet", "json", "random", "pivot", "strings", "is_in", "temporal", "cum_agg", "rolling_window"]
default-features = false
features = ["docs", "zip_with", "csv-file", "temporal", "performant", "pretty_fmt", "dtype-slim", "parquet", "json", "random", "pivot", "strings", "is_in", "cum_agg", "rolling_window"]
[target.'cfg(unix)'.dependencies]
umask = "1.0.0"
@ -104,7 +105,7 @@ users = "0.11.0"
# num-format = { version = "0.4", features = ["with-system-locale"] }
[build-dependencies]
shadow-rs = "0.6"
shadow-rs = "0.8.1"
[dev-dependencies]
quickcheck = "1.0.3"

View File

@ -10,7 +10,7 @@ version = "0.40.0"
doctest = false
[dependencies]
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
byte-unit = "4.0.9"
chrono = "0.4.19"
common-path = "1.0.0"
@ -19,7 +19,7 @@ directories-next = "2.0.0"
getset = "0.1.1"
indexmap = { version="1.6.1", features=["serde-1"] }
log = "0.4.14"
num-bigint = { version="0.3.1", features=["serde"] }
num-bigint = { version="0.4.3", features=["serde"] }
num-format = "0.4.0"
num-traits = "0.2.14"
serde = { version="1.0.123", features=["derive"] }

View File

@ -19,10 +19,10 @@ nu-ansi-term = { version = "0.40.0", path="../nu-ansi-term" }
nu-test-support = { version = "0.40.0", path="../nu-test-support" }
nu-path = { version = "0.40.0", path="../nu-path" }
trash = { version="1.3.0", optional=true }
trash = { version = "2.0.2", optional = true }
which = { version="4.0.2", optional=true }
codespan-reporting = "0.11.0"
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
bytes = "1.1.0"
chrono = { version="0.4.19", features=["serde"] }
derive-new = "0.5.8"
@ -36,7 +36,7 @@ indexmap = { version="1.6.1", features=["serde-1"] }
itertools = "0.10.0"
lazy_static = "1.*"
log = "0.4.14"
num-bigint = { version="0.3.1", features=["serde"] }
num-bigint = { version="0.4.3", features=["serde"] }
parking_lot = "0.11.1"
rayon = "1.5.0"
serde = { version="1.0.123", features=["derive"] }

View File

@ -13,11 +13,11 @@ doctest = false
nu-source = { path="../nu-source", version = "0.40.0" }
nu-ansi-term = { version = "0.40.0", path="../nu-ansi-term" }
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
codespan-reporting = { version="0.11.0", features=["serialization"] }
derive-new = "0.5.8"
getset = "0.1.1"
num-bigint = { version="0.3.1", features=["serde"] }
num-bigint = { version="0.4.3", features=["serde"] }
num-traits = "0.2.14"
serde = { version="1.0.123", features=["derive"] }

View File

@ -7,11 +7,11 @@ name = "nu-parser"
version = "0.40.0"
[dependencies]
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
derive-new = "0.5.8"
indexmap = { version="1.6.1", features=["serde-1"] }
log = "0.4"
num-bigint = { version="0.3.1", features=["serde"] }
num-bigint = { version="0.4.3", features=["serde"] }
itertools = "0.10.0"
smart-default = "0.6.0"

View File

@ -10,7 +10,7 @@ version = "0.40.0"
doctest = false
[dependencies]
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
byte-unit = "4.0.9"
chrono = { version="0.4.19", features=["serde"] }
chrono-humanize = "0.2.1"
@ -20,7 +20,7 @@ indexmap = { version="1.6.1", features=["serde-1"] }
log = "0.4.14"
nu-errors = { path="../nu-errors", version = "0.40.0" }
nu-source = { path="../nu-source", version = "0.40.0" }
num-bigint = { version="0.3.1", features=["serde"] }
num-bigint = { version = "0.4.3", features = ["serde"] }
num-integer = "0.1.44"
num-traits = "0.2.14"
serde = { version="1.0", features=["derive"] }
@ -29,7 +29,8 @@ serde_bytes = "0.11.5"
[dependencies.polars]
version = "0.17.0"
optional = true
features = ["default", "serde", "rows", "strings", "checked_arithmetic", "object", "dtype-date", "dtype-datetime", "dtype-time"]
default-features = false
features = ["docs", "zip_with", "csv-file", "temporal", "performant", "pretty_fmt", "dtype-slim", "serde", "rows", "strings", "checked_arithmetic", "object", "dtype-date", "dtype-datetime", "dtype-time"]
[features]
dataframe = ["polars"]

View File

@ -9,7 +9,7 @@ repository = "https://github.com/nushell/nushell"
documentation = "https://docs.rs/nu-serde"
[dependencies]
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
nu-protocol = { version = "0.40.0", path = "../nu-protocol" }
nu-source = { version = "0.40.0", path = "../nu-source" }
serde = "1"

View File

@ -15,11 +15,11 @@ nu-path = { version = "0.40.0", path="../nu-path" }
nu-protocol = { path="../nu-protocol", version = "0.40.0" }
nu-source = { path="../nu-source", version = "0.40.0" }
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
chrono = "0.4.19"
getset = "0.1.1"
glob = "0.3.0"
indexmap = { version="1.6.1", features=["serde-1"] }
num-bigint = { version="0.3.1", features=["serde"] }
num-bigint = { version="0.4.3", features=["serde"] }
tempfile = "3.2.0"
hamcrest2 = "0.3.0"

View File

@ -10,7 +10,7 @@ version = "0.40.0"
doctest = false
[dependencies]
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
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.40.0" }
nu-plugin = { path="../nu-plugin", version = "0.40.0" }

View File

@ -10,7 +10,7 @@ version = "0.40.0"
doctest = false
[dependencies]
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
nu-errors = { path="../nu-errors", version = "0.40.0" }
nu-plugin = { path="../nu-plugin", version = "0.40.0" }
nu-protocol = { path="../nu-protocol", version = "0.40.0" }
@ -19,6 +19,6 @@ tempfile = "3.2.0"
[dependencies.rusqlite]
features = ["bundled", "blob"]
version = "0.25.3"
version = "0.26.1"
[build-dependencies]

View File

@ -61,7 +61,7 @@ pub fn convert_sqlite_file_to_nu_value(
fn convert_sqlite_row_to_nu_value(row: &Row, tag: impl Into<Tag> + Clone) -> Value {
let mut collected = TaggedDictBuilder::new(tag.clone());
for (i, c) in row.column_names().iter().enumerate() {
for (i, c) in row.as_ref().column_names().iter().enumerate() {
collected.insert_value(
c.to_string(),
convert_sqlite_value_to_nu_value(row.get_ref_unwrap(i), tag.clone()),

View File

@ -10,7 +10,7 @@ version = "0.40.0"
doctest = false
[dependencies]
gjson = "0.7.1"
gjson = "0.8.0"
nu-errors = { version = "0.40.0", path="../nu-errors" }
nu-plugin = { version = "0.40.0", path="../nu-plugin" }
nu-protocol = { version = "0.40.0", path="../nu-protocol" }

View File

@ -15,6 +15,6 @@ nu-errors = { path="../nu-errors", version = "0.40.0" }
nu-plugin = { path="../nu-plugin", version = "0.40.0" }
nu-protocol = { path="../nu-protocol", version = "0.40.0" }
nu-source = { path="../nu-source", version = "0.40.0" }
s3handler = "0.7"
s3handler = "0.7.5"
[build-dependencies]

View File

@ -16,7 +16,7 @@ nu-plugin = { path="../nu-plugin", version = "0.40.0" }
nu-protocol = { path="../nu-protocol", version = "0.40.0" }
nu-source = { path="../nu-source", version = "0.40.0" }
bat = { version="0.18", features=["regex-fancy", "paging", "git"] }
bat = { version="0.18", default-features = false, features=["regex-fancy", "paging", "git"] }
term_size = "0.3.2"
url = "2.2.0"

View File

@ -19,6 +19,6 @@ tempfile = "3.2.0"
[dependencies.rusqlite]
features = ["bundled", "blob"]
version = "0.25.3"
version = "0.26.1"
[build-dependencies]

View File

@ -14,7 +14,7 @@ derive-new = "0.5.8"
nu-errors = { path="../nu-errors", version = "0.40.0" }
nu-plugin = { path="../nu-plugin", version = "0.40.0" }
nu-protocol = { path="../nu-protocol", version = "0.40.0" }
ptree = { version = "0.3.1", default-features = false }
ptree = { version = "0.4.0", default-features = false }
[build-dependencies]

View File

@ -15,7 +15,7 @@ nu-plugin = { path="../nu-plugin", version = "0.40.0" }
nu-protocol = { version = "0.40.0", path="../nu-protocol" }
nu-source = { version = "0.40.0", path="../nu-source" }
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bigdecimal = { package = "bigdecimal", version = "0.3.0", features = ["serde"] }
indexmap = { version="1.6.1", features=["serde-1"] }
sxd-document = "0.3.2"
sxd-xpath = "0.4.2"