tcpproxy
rustpad
tcpproxy | rustpad | |
---|---|---|
3 | 23 | |
111 | 3,082 | |
- | - | |
5.3 | 0.0 | |
3 months ago | 6 months ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tcpproxy
-
Learning Async Rust with Too Many Web Servers
Thanks. Perhaps I did go overboard with that disclaimer.. probably because I myself made the mistake of initially using [0] the oh-so-convenient tokio::io::copy() instead of writing my own copy method that would drop the other half of the connection when one side was closed.
The copy_with_abort() routine is still taking the easy way out in this not-optimized-for-heavy-production-use sample because it uses a broadcast channel per connection to reactively signal that the other half of the connection should be closed (rather than timing out every x ms to see if an abort flag has been set). In the real world, I'd probably replace the join! macro with a manual event loop to be able to do the same but without creating a broadcast channel per-connection.
(I maintain an extremely lightweight "awaitable bools" library for rust [1] that is perfect for this kind of thing (roughly equivalent to a "bounded broadcast_channel<()> of queue length 1, but each "channel" is only a single (optionally stack-allocated) byte) — but it's for event loops in synchronous code and not async executor compatible.)
[0]: https://github.com/mqudsi/tcpproxy/commit/0164ef836a49f2f738...
[1]: https://github.com/neosmart/rsevents
- Example of tcp proxy using tokio?
rustpad
-
Stashpad launches Google Docs alternative you can use without any login
Take a look at https://github.com/ekzhang/rustpad
-
Software similar to https://rustpad.io
I'm looking for software similar to https://rustpad.io but with login and password. Docker would be nice :)
-
Could someone suggest a editable, no-account, password protected paste-bin?
You could try rustpad
- Ask HN: Is there a site that is just a text scratchpad?
- Paste server for local network
-
Let's Markdown: A self-hosted, open source collaborative markdown editor
Looks pretty similar to https://rustpad.io/
-
Let's Markdown: A real-time collaborative markdown editor built with Rust, WebAssembly, and React!
Awesome! I requested this in rustpad but it was closed with wontfix. I suppose it is out of scope of rustpad but I'm really glad to see that there's this project to add it.
-
Have you ever started a project in Rust but switched to a different language? If so, why?
Just adding an example to the other side, I wrote https://rustpad.io/ in Rust, which is a collaborative text editor that uses WebSockets and resolves edit conflicts in real time using an operational transformation algorithm. It's a fairly complex bit of logic. But I actually thought Rust was the best language for this application because of performance, data race-safety, Serde, and the borrow checker. (My second choice would have been Go with stress tests run under `the -race flag.)
- Rustpad – Collaborative Code Editor
What are some alternatives?
rsevents - Auto- and manual-reset events for rust
iced - A cross-platform GUI library for Rust, inspired by Elm
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
mkdocs-material - Documentation that simply works
sea-orm - 🐚 An async & dynamic ORM for Rust
async-tungstenite - Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
tarpc - An RPC framework for Rust with a focus on ease of use.
nativeshell - Experimental embedder for Flutter
automerge - A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
docs-deploy - Deploys a VuePress docs repo to GitHub Pages
warp - A super-easy, composable, web server framework for warp speeds.
web-view - Rust bindings for webview, a tiny cross-platform library to render web-based GUIs for desktop applications