mount jetstream as a userspace character device on linux

excuse: use hose.cam instead

Signed-off-by: oppiliappan <me@oppi.li>

oppi.li 7d0c8d00 60523c09

verified
Changed files
+2 -1
src
+2 -1
src/main.rs
··· 9 use tokio_tungstenite::{connect_async, tungstenite::Message}; 10 11 const DEV: &str = "jetstream"; 12 13 struct CuseDevice { 14 buffer: Arc<Mutex<VecDeque<u8>>>, ··· 59 ) { 60 loop { 61 info!("connecting to jetstream..."); 62 - match connect_async("wss://jetstream1.us-west.bsky.network/subscribe").await { 63 Ok((mut ws, _)) => { 64 info!("connected to jetstream ... "); 65
··· 9 use tokio_tungstenite::{connect_async, tungstenite::Message}; 10 11 const DEV: &str = "jetstream"; 12 + const URL: &str = "wss://jetstream1.us-east.fire.hose.cam/subscribe"; 13 14 struct CuseDevice { 15 buffer: Arc<Mutex<VecDeque<u8>>>, ··· 60 ) { 61 loop { 62 info!("connecting to jetstream..."); 63 + match connect_async(URL).await { 64 Ok((mut ws, _)) => { 65 info!("connected to jetstream ... "); 66