diff options
Diffstat (limited to 'cli')
-rw-r--r-- | cli/Cargo.toml | 2 | ||||
-rw-r--r-- | cli/tools/registry/mod.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 8f3b5098e..5c79b85e3 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -107,6 +107,7 @@ lsp-types.workspace = true monch.workspace = true notify.workspace = true once_cell.workspace = true +open = "5.0.1" os_pipe.workspace = true percent-encoding.workspace = true pin-project.workspace = true @@ -133,7 +134,6 @@ typed-arena = "=2.0.1" unicode-width = "0.1" uuid = { workspace = true, features = ["serde"] } walkdir = "=2.3.2" -webbrowser = "0.8.12" zeromq = { version = "=0.3.4", default-features = false, features = ["tcp-transport", "tokio-runtime"] } zstd.workspace = true diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs index b2e7b2aad..5b3b70c4b 100644 --- a/cli/tools/registry/mod.rs +++ b/cli/tools/registry/mod.rs @@ -221,7 +221,7 @@ async fn get_auth_headers( ring_bell(); println!("{}", colors::gray("Waiting...")); - let _ = webbrowser::open(&auth_url); + let _ = open::that_detached(&auth_url); let interval = std::time::Duration::from_secs(auth.poll_interval); @@ -415,7 +415,7 @@ async fn ensure_scopes_and_packages_exist( colors::cyan_with_underline(&create_package_url) ); println!("{}", colors::gray("Waiting...")); - let _ = webbrowser::open(&create_package_url); + let _ = open::that_detached(&create_package_url); let package_api_url = api::get_package_api_url( ®istry_api_url, |