(json: &str)
| 2 | use anyhow::{Result, anyhow}; |
| 3 | |
| 4 | fn parse_request_json(json: &str) -> Result<Request> { |
| 5 | serde_json::from_str(json).map_err(Into::into) |
| 6 | } |
| 7 | |
| 8 | fn parse_event_json(json: &str) -> Result<ServerEvent> { |
| 9 | serde_json::from_str(json).map_err(Into::into) |
no outgoing calls
no test coverage detected