Skip to main content

phoenix_chan/
lib.rs

1//! Client library for Phoenix channels.
2
3#![warn(
4    missing_docs,
5    rustdoc::missing_crate_level_docs,
6    clippy::todo,
7    rustdoc::broken_intra_doc_links
8)]
9
10pub mod builder;
11pub mod client;
12pub mod error;
13pub mod message;
14
15/// Payload sent as last argument of a [`Message`].
16pub type Map = rustc_hash::FxHashMap<String, String>;
17
18pub use self::builder::Builder;
19pub use self::client::Client;
20pub use self::error::Error;
21pub use self::message::Message;
22
23// pub dependencies
24pub use rustls;
25pub use serde_json;
26pub use tungstenite;