diff --git a/Cargo.lock b/Cargo.lock index 3d6b30c..85a8c93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -95,6 +95,24 @@ dependencies = [ "event-listener", ] +[[package]] +name = "async-process" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9d28b1d97e08915212e2e45310d47854eafa69600756fc735fb788f75199c9" +dependencies = [ + "async-io", + "async-lock", + "autocfg", + "blocking", + "cfg-if", + "event-listener", + "futures-lite", + "rustix", + "signal-hook", + "windows-sys 0.48.0", +] + [[package]] name = "async-std" version = "1.12.0" @@ -106,6 +124,7 @@ dependencies = [ "async-global-executor", "async-io", "async-lock", + "async-process", "crossbeam-utils", "futures-channel", "futures-core", @@ -1087,6 +1106,25 @@ dependencies = [ "serde", ] +[[package]] +name = "signal-hook" +version = "0.3.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" +dependencies = [ + "libc", + "signal-hook-registry", +] + +[[package]] +name = "signal-hook-registry" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +dependencies = [ + "libc", +] + [[package]] name = "slab" version = "0.4.6" diff --git a/Cargo.toml b/Cargo.toml index 0ae30cc..572455b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,4 @@ version = "0.1.0" chrono = { version = "0.4", features = ["serde"] } clap = {version = "3.1.8", features = ["derive"]} yahoo_finance_api = "1.1" -async-std = { version = "1.6", features = ["attributes", "tokio1"] } +async-std = { version = "1.6", features = ["attributes", "tokio1", "unstable"] }