mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-22 07:36:31 -05:00
feat: add browser-launcher crate and integrate with authentication flow
This commit is contained in:
6 files changed
+251
-99
No files matched your search
@@ -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",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user