feat: add browser-launcher crate and integrate with authentication flow

This commit is contained in:
Kevin Yue committed 2026-07-06 14:45:13 +08:00
1 parent ca221e3488
commit 293cd56930
6 files changed
+251 -99

No files matched your search

+2 -6
View File
@@ -17,9 +17,7 @@ log.workspace = true
tokio.workspace = true
# Browser auth dependencies
webbrowser = { version = "1", optional = true }
open = { version = "5", optional = true }
which = { workspace = true, optional = true }
browser-launcher = { path = "../browser-launcher", default-features = false, features = ["launcher"], optional = true }
tiny_http = { version = "0.12", optional = true }
uuid = { version = "1", optional = true, features = ["v4"] }
@@ -40,9 +38,7 @@ objc2-web-kit = { version = "0.3", optional = true }
[features]
browser-auth = [
"dep:webbrowser",
"dep:open",
"dep:which",
"dep:browser-launcher",
"dep:tiny_http",
"dep:uuid",
]