mirror of
https://github.com/nushell/nushell
synced 2025-01-13 21:55:07 +00:00
Merge pull request #951 from jonathandturner/bump_deps
Bump dep versions
This commit is contained in:
commit
cdec0254ec
3 changed files with 202 additions and 192 deletions
348
Cargo.lock
generated
348
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
44
Cargo.toml
44
Cargo.toml
|
@ -18,61 +18,61 @@ rustyline = "5.0.4"
|
||||||
chrono = { version = "0.4.9", features = ["serde"] }
|
chrono = { version = "0.4.9", features = ["serde"] }
|
||||||
derive-new = "0.5.8"
|
derive-new = "0.5.8"
|
||||||
prettytable-rs = "0.8.0"
|
prettytable-rs = "0.8.0"
|
||||||
itertools = "0.8.0"
|
itertools = "0.8.1"
|
||||||
ansi_term = "0.12.1"
|
ansi_term = "0.12.1"
|
||||||
nom = "5.0.0"
|
nom = "5.0.1"
|
||||||
dunce = "1.0.0"
|
dunce = "1.0.0"
|
||||||
indexmap = { version = "1.2.0", features = ["serde-1"] }
|
indexmap = { version = "1.3.0", features = ["serde-1"] }
|
||||||
chrono-humanize = "0.0.11"
|
chrono-humanize = "0.0.11"
|
||||||
byte-unit = "3.0.1"
|
byte-unit = "3.0.3"
|
||||||
base64 = "0.10.1"
|
base64 = "0.11"
|
||||||
futures-preview = { version = "=0.3.0-alpha.18", features = ["compat", "io-compat"] }
|
futures-preview = { version = "=0.3.0-alpha.19", features = ["compat", "io-compat"] }
|
||||||
async-stream = "0.1.1"
|
async-stream = "0.1.2"
|
||||||
futures_codec = "0.2.5"
|
futures_codec = "=0.3.0"
|
||||||
num-traits = "0.2.8"
|
num-traits = "0.2.8"
|
||||||
term = "0.5.2"
|
term = "0.5.2"
|
||||||
bytes = "0.4.12"
|
bytes = "0.4.12"
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
pretty_env_logger = "0.3.1"
|
pretty_env_logger = "0.3.1"
|
||||||
serde = { version = "1.0.100", features = ["derive"] }
|
serde = { version = "1.0.102", features = ["derive"] }
|
||||||
bson = { version = "0.14.0", features = ["decimal128"] }
|
bson = { version = "0.14.0", features = ["decimal128"] }
|
||||||
serde_json = "1.0.40"
|
serde_json = "1.0.41"
|
||||||
serde-hjson = "0.9.1"
|
serde-hjson = "0.9.1"
|
||||||
serde_yaml = "0.8"
|
serde_yaml = "0.8"
|
||||||
serde_bytes = "0.11.2"
|
serde_bytes = "0.11.2"
|
||||||
getset = "0.0.8"
|
getset = "0.0.9"
|
||||||
language-reporting = "0.4.0"
|
language-reporting = "0.4.0"
|
||||||
app_dirs = "1.2.1"
|
app_dirs = "1.2.1"
|
||||||
csv = "1.1"
|
csv = "1.1"
|
||||||
toml = "0.5.3"
|
toml = "0.5.5"
|
||||||
clap = "2.33.0"
|
clap = "2.33.0"
|
||||||
git2 = { version = "0.10.1", default_features = false }
|
git2 = { version = "0.10.1", default_features = false }
|
||||||
dirs = "2.0.2"
|
dirs = "2.0.2"
|
||||||
glob = "0.3.0"
|
glob = "0.3.0"
|
||||||
ctrlc = "3.1.3"
|
ctrlc = "3.1.3"
|
||||||
surf = "1.0.2"
|
surf = "1.0.3"
|
||||||
url = "2.1.0"
|
url = "2.1.0"
|
||||||
roxmltree = "0.7.0"
|
roxmltree = "0.7.2"
|
||||||
nom_locate = "1.0.0"
|
nom_locate = "1.0.0"
|
||||||
nom-tracable = "0.4.0"
|
nom-tracable = "0.4.1"
|
||||||
unicode-xid = "0.2.0"
|
unicode-xid = "0.2.0"
|
||||||
serde_ini = "0.2.0"
|
serde_ini = "0.2.0"
|
||||||
subprocess = "0.1.18"
|
subprocess = "0.1.18"
|
||||||
mime = "0.3.14"
|
mime = "0.3.14"
|
||||||
pretty-hex = "0.1.0"
|
pretty-hex = "0.1.1"
|
||||||
hex = "0.3.2"
|
hex = "0.4"
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
semver = "0.9.0"
|
semver = "0.9.0"
|
||||||
which = "2.0.1"
|
which = "3.1"
|
||||||
textwrap = {version = "0.11.0", features = ["term_size"]}
|
textwrap = {version = "0.11.0", features = ["term_size"]}
|
||||||
shellexpand = "1.0.0"
|
shellexpand = "1.0.0"
|
||||||
futures-timer = "0.4.0"
|
futures-timer = "2.0.0"
|
||||||
pin-utils = "0.1.0-alpha.4"
|
pin-utils = "0.1.0-alpha.4"
|
||||||
num-bigint = { version = "0.2.3", features = ["serde"] }
|
num-bigint = { version = "0.2.3", features = ["serde"] }
|
||||||
bigdecimal = { version = "0.1.0", features = ["serde"] }
|
bigdecimal = { version = "0.1.0", features = ["serde"] }
|
||||||
natural = "0.3.0"
|
natural = "0.3.0"
|
||||||
serde_urlencoded = "0.6.1"
|
serde_urlencoded = "0.6.1"
|
||||||
sublime_fuzzy = "0.5"
|
sublime_fuzzy = "0.6"
|
||||||
trash = "1.0.0"
|
trash = "1.0.0"
|
||||||
regex = "1"
|
regex = "1"
|
||||||
cfg-if = "0.1"
|
cfg-if = "0.1"
|
||||||
|
@ -106,8 +106,8 @@ features = ["bundled", "blob"]
|
||||||
pretty_assertions = "0.6.1"
|
pretty_assertions = "0.6.1"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
toml = "0.5.3"
|
toml = "0.5.5"
|
||||||
serde = { version = "1.0.101", features = ["derive"] }
|
serde = { version = "1.0.102", features = ["derive"] }
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "nu"
|
name = "nu"
|
||||||
|
|
|
@ -20,7 +20,7 @@ impl Ps {
|
||||||
|
|
||||||
async fn usage(process: Process) -> ProcessResult<(process::Process, Ratio)> {
|
async fn usage(process: Process) -> ProcessResult<(process::Process, Ratio)> {
|
||||||
let usage_1 = process.cpu_usage().await?;
|
let usage_1 = process.cpu_usage().await?;
|
||||||
futures_timer::Delay::new(Duration::from_millis(100)).await?;
|
futures_timer::Delay::new(Duration::from_millis(100)).await;
|
||||||
let usage_2 = process.cpu_usage().await?;
|
let usage_2 = process.cpu_usage().await?;
|
||||||
|
|
||||||
Ok((process, usage_2 - usage_1))
|
Ok((process, usage_2 - usage_1))
|
||||||
|
|
Loading…
Reference in a new issue