use std::io::{Read, Write}; use yrs::{Doc, Options}; fn main() { let mut base = Vec::new(); std::io::stdin().read_to_end(&mut base).unwrap(); let doc = Doc::with_options(Options::with_guid_and_client_id( "edit-wire".into(), u32::MAX as u64, )); docs_core::apply_update(&doc, &base).unwrap(); let text = "Edited