Skip to main content

wechat_protocol/
lib.rs

1//! Native transport and numbered WeChat protocol codecs.
2//!
3//! This library does not launch or load the official client. All peer responses
4//! pass pinned MMTLS signature and record authentication before business decode.
5//! Network methods are blocking; async services must use a blocking worker.
6pub mod business;
7mod client;
8mod lan_login;
9pub use lan_login::login_lan_error_reason;
10pub mod contact_sync;
11pub mod crypto;
12pub mod file_upload;
13pub mod media;
14pub mod media_send;
15pub mod mmtls;
16mod notice;
17pub mod protobuf;
18pub mod push;
19pub mod quote_send;
20pub mod silk;
21pub mod wire;
22pub use client::*;
23
24pub const MAX_MESSAGE_BYTES: usize = 16 * 1024 * 1024;