-
Notifications
You must be signed in to change notification settings - Fork 12
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
refactor(tauri): new tunnel state api #1967
base: develop
Are you sure you want to change the base?
Conversation
#[derive(Default, Debug, Clone, Serialize, PartialEq, TS, strum::Display)] | ||
#[ts(export)] | ||
#[serde(rename_all = "camelCase")] | ||
pub enum TunnelState { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. A bit unfortunate that you can't reuse the nym-vpn-lib-types
and From
conversions provided by #1950.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja that's fine. having full control over my own proto types translation is the way. Simple.
No need an extra traslation layer.
Protobuf is there to enforce the type system cross boundary anyway.
ca81be2
to
005107d
Compare
add watch tunnel state routine
rust some refactoring
88f4a3e
to
a8eb198
Compare
be9ee77
to
38a0985
Compare
in short switch to the new tunnel state API WIP
This change is