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

View File

@ -31,7 +31,7 @@ nu-pretty-hex = { version = "0.35.0", path="../nu-pretty-hex" }
Inflector = "0.11"
arboard = { version="1.1.0", optional=true }
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"
bytes = "1.0.1"
calamine = "0.18.0"

View File

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

View File

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

View File

@ -13,7 +13,7 @@ doctest = false
nu-source = { path="../nu-source", version = "0.35.0" }
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"] }
derive-new = "0.5.8"
getset = "0.1.1"

View File

@ -7,7 +7,7 @@ name = "nu-parser"
version = "0.35.0"
[dependencies]
bigdecimal = { version="0.2.0", features=["serde"] }
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
codespan-reporting = "0.11.0"
derive-new = "0.5.8"
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-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"] }
num-bigint = { version="0.3.1", features=["serde"] }
serde = { version="1.0", features=["derive"] }

View File

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

View File

@ -9,7 +9,7 @@ repository = "https://github.com/nushell/nushell"
documentation = "https://docs.rs/nu-serde"
[dependencies]
bigdecimal = "0.2"
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
nu-protocol = { version = "0.35.0", path = "../nu-protocol" }
nu-source = { version = "0.35.0", path = "../nu-source" }
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-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"
dunce = "1.0.1"
getset = "0.1.1"

View File

@ -10,7 +10,7 @@ version = "0.35.0"
doctest = false
[dependencies]
bigdecimal = "0.2.0"
bigdecimal = { package = "bigdecimal-rs", version = "0.2.1", features = ["serde"] }
bson = { version="0.14.1", features=["decimal128"] }
nu-errors = { path="../nu-errors", 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
[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-plugin = { path="../nu-plugin", 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-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"] }
sxd-document = "0.3.2"
sxd-xpath = "0.4.2"