Skip to content

Instantly share code, notes, and snippets.

View johndotpub's full-sized avatar
🤓
¯\_(ツ)_/¯

Github johndotpub

🤓
¯\_(ツ)_/¯
View GitHub Profile
@johndotpub
johndotpub / recoil.rs
Created September 6, 2025 01:45 — forked from rtyler/recoil.rs
use std::time::Duration;
use tokio_stream::StreamExt as _ ;
use axum::body::Bytes;
use futures::{stream, StreamExt};
use axum::{body::Body, routing::get, Router};
use std::net::SocketAddr;
use tokio::net::TcpListener;
#[tokio::main]
async fn main() -> anyhow::Result<()> {