You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add some background, this is an effort to make telegram-rs usabe in a wasm cloud runtime.
SideVM is a WASM-based serverless runtime on a decentralized cloud computing network, Phala Network. This PR will enable developer to deploy telegram-rs bots on Phala cloud. SideVM programs are compiled to standard WASM. However, compared with WASI, it additionally provides a socket implementation (since WASI doesn't have the full socket support). So we can provide the full network support to the developer, with all the common libraries like tokio, Hyper, etc.
We would sincerely request the team to review and give feedback to this PR. Not only because it's an attempt to enable writing bots in WASM, but also a few teams really want to build their telegram bots on decentralized cloud.
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
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.
This PR adds support running telegram-bot under Phala network's sidevm environment.
The sidevm is a smart contract platform where
tokio runtimeis not available and it provides asidevm runtimeinstead.