Skip to main content

osc7501_parser/
lib.rs

1#![doc = include_str!("../README.md")]
2#![no_std]
3
4mod base64;
5mod constants;
6mod error;
7mod parse;
8/// Streaming decoder and resumable callback errors.
9pub mod stream;
10mod types;
11
12pub use constants::{
13    MAX_APP, MAX_DEPTH, MAX_ID, MAX_KEY, MAX_MESSAGE, MAX_MESSAGE_ENCODED, MAX_SEGMENT,
14    MAX_SEQUENCE, MAX_TITLE, MAX_TITLE_ENCODED,
15};
16pub use error::Error;
17pub use parse::{parse_body, parse_sequence};
18pub use stream::Decoder;
19pub use types::{
20    Action, AppId, Capabilities, EncodedText, Event, Kind, Limit, Progress, RecordId, Report, State,
21};