Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to tokio::process #1654

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ uuid = { version = "1.0", features = ["v4"] }
pin-project = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-process = "2.0"
tokio = { version = "1", features = ["process"] }

[target.'cfg(unix)'.dependencies]
tz-rs = { version = "0.6", optional = true }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::token_credentials::cache::TokenCache;
use async_process::Command;
use azure_core::{
auth::{AccessToken, Secret, TokenCredential},
error::{Error, ErrorKind, ResultExt},
Expand All @@ -8,6 +7,7 @@ use azure_core::{
use serde::Deserialize;
use std::str;
use time::OffsetDateTime;
use tokio::process::Command;
use tracing::trace;

#[cfg(feature = "old_azure_cli")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::token_credentials::cache::TokenCache;
use async_process::Command;
use azure_core::{
auth::{AccessToken, Secret, TokenCredential},
error::{Error, ErrorKind, ResultExt},
Expand All @@ -9,6 +8,7 @@ use oauth2::ClientId;
use serde::Deserialize;
use std::str;
use time::OffsetDateTime;
use tokio::process::Command;

mod unix_date_string {
use azure_core::error::{Error, ErrorKind};
Expand Down