Merged
Conversation
2ff3134 to
120e2ae
Compare
# Conflicts: # src/easytier/mod.rs
|
没看懂怎么用😨 |
|
我怎么只看到了一个start,你是打算在rust里实现整个软件的主要流程吗,我感觉这么搞不太行,一方面没法接ui,另一方面像vpn service这种东西没法通过rust实现。最后是封装一些关键函数,比如运行ET实际,比如setTunFd,这些函数都得在java/kt的vpnservice里调用。其他的包括parse/genInviteCode这些最后也封装了,包括那些log相关的 |
|
我看ET新搞了个Android jni封装,那玩意儿就和我做的差不多,只不过我在他基础上有实现了陶瓦的功能,我还没看你这里怎么实现的,不过基本可以肯定运行ET实例的函数肯定得放Java/kt里调用。https://github.com/EasyTier/EasyTier/tree/main/easytier-contrib/easytier-android-jni |
Owner
Author
|
我将控制有限状态机的代码也暴露出来了。现在调用 start 后会只会初始 tokio 环境,且不再使用 rocket 作为 API 框架 |
52d3bf5 to
f3125e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.