Use bigdecimal-rs patch (#3905)

* Use bigdecimal-rs patch

* fix nu-serde's bigdecimal dependency
This commit is contained in:
soumil-07 2021-08-07 02:57:19 +05:30 committed by GitHub
parent 6646daab45
commit cd814851da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 27 additions and 27 deletions

30
Cargo.lock generated
View File

@ -448,10 +448,10 @@ dependencies = [
] ]
[[package]] [[package]]
name = "bigdecimal" name = "bigdecimal-rs"
version = "0.2.0" version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cc403c26e6b03005522e6e8053384c4e881dfe5b2bf041c0c2c49be33d64a539" checksum = "85375a908d633fa70ab5b8a217d3d0b6e5c4a9b03786f0c3c969e77f4016b10c"
dependencies = [ dependencies = [
"num-bigint 0.3.2", "num-bigint 0.3.2",
"num-integer", "num-integer",
@ -3236,7 +3236,7 @@ dependencies = [
"Inflector", "Inflector",
"arboard", "arboard",
"base64", "base64",
"bigdecimal", "bigdecimal-rs",
"byte-unit", "byte-unit",
"bytes 1.0.1", "bytes 1.0.1",
"calamine", "calamine",
@ -3352,7 +3352,7 @@ dependencies = [
name = "nu-data" name = "nu-data"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"byte-unit", "byte-unit",
"chrono", "chrono",
"common-path", "common-path",
@ -3387,7 +3387,7 @@ dependencies = [
"ansi_term 0.12.1", "ansi_term 0.12.1",
"async-recursion", "async-recursion",
"async-trait", "async-trait",
"bigdecimal", "bigdecimal-rs",
"bytes 0.5.6", "bytes 0.5.6",
"chrono", "chrono",
"codespan-reporting", "codespan-reporting",
@ -3439,7 +3439,7 @@ dependencies = [
name = "nu-errors" name = "nu-errors"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"codespan-reporting", "codespan-reporting",
"derive-new", "derive-new",
"getset", "getset",
@ -3472,7 +3472,7 @@ dependencies = [
name = "nu-parser" name = "nu-parser"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"codespan-reporting", "codespan-reporting",
"derive-new", "derive-new",
"derive_is_enum_variant", "derive_is_enum_variant",
@ -3503,7 +3503,7 @@ dependencies = [
name = "nu-plugin" name = "nu-plugin"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"indexmap", "indexmap",
"nu-errors", "nu-errors",
"nu-protocol", "nu-protocol",
@ -3528,7 +3528,7 @@ dependencies = [
name = "nu-protocol" name = "nu-protocol"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"byte-unit", "byte-unit",
"chrono", "chrono",
"chrono-humanize", "chrono-humanize",
@ -3553,7 +3553,7 @@ dependencies = [
name = "nu-serde" name = "nu-serde"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"insta", "insta",
"nu-protocol", "nu-protocol",
"nu-source", "nu-source",
@ -3595,7 +3595,7 @@ dependencies = [
name = "nu-test-support" name = "nu-test-support"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"chrono", "chrono",
"dunce", "dunce",
"getset", "getset",
@ -3671,7 +3671,7 @@ dependencies = [
name = "nu_plugin_from_bson" name = "nu_plugin_from_bson"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"bson", "bson",
"nu-errors", "nu-errors",
"nu-plugin", "nu-plugin",
@ -3697,7 +3697,7 @@ dependencies = [
name = "nu_plugin_from_sqlite" name = "nu_plugin_from_sqlite"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"nu-errors", "nu-errors",
"nu-plugin", "nu-plugin",
"nu-protocol", "nu-protocol",
@ -3886,7 +3886,7 @@ dependencies = [
name = "nu_plugin_xpath" name = "nu_plugin_xpath"
version = "0.35.0" version = "0.35.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal-rs",
"indexmap", "indexmap",
"nu-errors", "nu-errors",
"nu-plugin", "nu-plugin",

View File

@ -31,7 +31,7 @@ nu-pretty-hex = { version = "0.35.0", path="../nu-pretty-hex" }
Inflector = "0.11" Inflector = "0.11"
arboard = { version="1.1.0", optional=true } arboard = { version="1.1.0", optional=true }
base64 = "0.13.0" base64 = "0.13.0"
bigdecimal = { version="0.2.0", features=["serde"] } bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
byte-unit = "4.0.9" byte-unit = "4.0.9"
bytes = "1.0.1" bytes = "1.0.1"
calamine = "0.18.0" calamine = "0.18.0"

View File

@ -10,7 +10,7 @@ version = "0.35.0"
doctest = false doctest = false
[dependencies] [dependencies]
bigdecimal = "0.2.0" bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
byte-unit = "4.0.9" byte-unit = "4.0.9"
chrono = "0.4.19" chrono = "0.4.19"
common-path = "1.0.0" common-path = "1.0.0"

View File

@ -26,7 +26,7 @@ dyn-clone = "1.0.4"
ansi_term = "0.12.1" ansi_term = "0.12.1"
async-recursion = "0.3.2" async-recursion = "0.3.2"
async-trait = "0.1.42" async-trait = "0.1.42"
bigdecimal = "0.2.0" bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bytes = "0.5.6" bytes = "0.5.6"
chrono = { version="0.4.19", features=["serde"] } chrono = { version="0.4.19", features=["serde"] }
derive-new = "0.5.8" derive-new = "0.5.8"

View File

@ -13,7 +13,7 @@ doctest = false
nu-source = { path="../nu-source", version = "0.35.0" } nu-source = { path="../nu-source", version = "0.35.0" }
nu-ansi-term = { version = "0.35.0", path="../nu-ansi-term" } nu-ansi-term = { version = "0.35.0", path="../nu-ansi-term" }
bigdecimal = { version="0.2.0", features=["serde"] } bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
codespan-reporting = { version="0.11.0", features=["serialization"] } codespan-reporting = { version="0.11.0", features=["serialization"] }
derive-new = "0.5.8" derive-new = "0.5.8"
getset = "0.1.1" getset = "0.1.1"

View File

@ -7,7 +7,7 @@ name = "nu-parser"
version = "0.35.0" version = "0.35.0"
[dependencies] [dependencies]
bigdecimal = { version="0.2.0", features=["serde"] } bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
codespan-reporting = "0.11.0" codespan-reporting = "0.11.0"
derive-new = "0.5.8" derive-new = "0.5.8"
derive_is_enum_variant = "0.1.1" derive_is_enum_variant = "0.1.1"

View File

@ -16,7 +16,7 @@ nu-source = { path="../nu-source", version = "0.35.0" }
nu-test-support = { path="../nu-test-support", version = "0.35.0" } nu-test-support = { path="../nu-test-support", version = "0.35.0" }
nu-value-ext = { path="../nu-value-ext", version = "0.35.0" } nu-value-ext = { path="../nu-value-ext", version = "0.35.0" }
bigdecimal = { version="0.2.0", features=["serde"] } bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
indexmap = { version="1.6.1", features=["serde-1"] } indexmap = { version="1.6.1", features=["serde-1"] }
num-bigint = { version="0.3.1", features=["serde"] } num-bigint = { version="0.3.1", features=["serde"] }
serde = { version="1.0", features=["derive"] } serde = { version="1.0", features=["derive"] }

View File

@ -10,7 +10,7 @@ version = "0.35.0"
doctest = false doctest = false
[dependencies] [dependencies]
bigdecimal = { version="0.2.0", features=["serde"] } bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
byte-unit = "4.0.9" byte-unit = "4.0.9"
chrono = { version="0.4.19", features=["serde"] } chrono = { version="0.4.19", features=["serde"] }
chrono-humanize = "0.2.1" chrono-humanize = "0.2.1"

View File

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

View File

@ -15,7 +15,7 @@ nu-protocol = { path="../nu-protocol", version = "0.35.0" }
nu-source = { path="../nu-source", version = "0.35.0" } nu-source = { path="../nu-source", version = "0.35.0" }
nu-value-ext = { version = "0.35.0", path="../nu-value-ext" } nu-value-ext = { version = "0.35.0", path="../nu-value-ext" }
bigdecimal = { version="0.2.0", features=["serde"] } bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
chrono = "0.4.19" chrono = "0.4.19"
dunce = "1.0.1" dunce = "1.0.1"
getset = "0.1.1" getset = "0.1.1"

View File

@ -10,7 +10,7 @@ version = "0.35.0"
doctest = false doctest = false
[dependencies] [dependencies]
bigdecimal = "0.2.0" bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bson = { version="0.14.1", features=["decimal128"] } bson = { version="0.14.1", features=["decimal128"] }
nu-errors = { path="../nu-errors", version = "0.35.0" } nu-errors = { path="../nu-errors", version = "0.35.0" }
nu-plugin = { path="../nu-plugin", version = "0.35.0" } nu-plugin = { path="../nu-plugin", version = "0.35.0" }

View File

@ -10,7 +10,7 @@ version = "0.35.0"
doctest = false doctest = false
[dependencies] [dependencies]
bigdecimal = "0.2.0" bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
nu-errors = { path="../nu-errors", version = "0.35.0" } nu-errors = { path="../nu-errors", version = "0.35.0" }
nu-plugin = { path="../nu-plugin", version = "0.35.0" } nu-plugin = { path="../nu-plugin", version = "0.35.0" }
nu-protocol = { path="../nu-protocol", version = "0.35.0" } nu-protocol = { path="../nu-protocol", version = "0.35.0" }

View File

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