1#![doc = include_str!("../README.md")]
2#![forbid(unsafe_code)]
3#![warn(missing_docs)]
4#![cfg_attr(docsrs, feature(doc_cfg))]
5#![cfg_attr(not(any(feature = "tokio", feature = "target", test)), no_std)]
6
7extern crate alloc;
8
9pub mod amf0;
10pub mod chunk;
11pub mod client;
12#[cfg(feature = "tokio")]
13mod codec;
14pub mod error;
15pub mod flv;
16pub mod handshake;
17pub mod ids;
18#[cfg(feature = "tokio")]
19#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
20pub mod io;
21pub mod message;
22pub mod server;
23#[cfg(feature = "target")]
24#[cfg_attr(docsrs, doc(cfg(feature = "target")))]
25pub mod target;
26
27pub use error::RtmpError;
28pub use message::ChunkSize;
29
30pub const RTMP_VERSION: &str = "RTMP 1.0";