Re-exports§
pub use wacore_appstate as appstate;pub use chrono;pub use wacore_noise as noise;pub use wacore_libsignal as libsignal;
Modules§
- adv
- ADV (Advanced Device Verification) key index utilities.
- appstate_
sync - bot_
message - Meta AI / fbid bot
<enc type="msmsg">decryption. - client
- client_
profile - Identity presented in the noise-handshake
ClientPayload.UserAgent. Independent ofDeviceProps. Default isClientProfile::web. - comment
- Encrypted channel comment (CAG) encryption.
- companion_
reg companion_platform_id+companion_platform_displayemission. Encoding only.- crypto
- Runtime-agnostic cryptographic primitives shared across protocol features.
- download
- event
- Event response encryption.
- framing
- handshake
- history_
sync - ib
- IB stanza types for unified session telemetry.
- iq
- media_
retry - Media retry protocol: crypto + node building for requesting media reupload.
- message_
edit - E2E-encrypted message edit envelope (
secret_encrypted_messagewithsecret_enc_type = MESSAGE_EDIT). - message_
processing - Pure functions for message processing logic.
- messages
- msg_
secret - Retention policy for the per-message
messageSecretstore. - net
- pair
- pair_
code - Pair code authentication for phone number linking.
- poll
- Poll vote encryption/decryption.
- prekeys
- proto_
helpers - protocol
- reaction
- Encrypted reaction (CAG) encryption.
- reporting_
token - Reporting Token Implementation for WhatsApp
- request
- runtime
- secret_
enc_ addon - Secret-encrypted addon envelope (HKDF-SHA256 + AES-256-GCM).
- send
- session
- Session establishment constants.
- shortcake
- SHORTCAKE_PASSKEY companion-linking — platform-independent crypto + protobuf.
- stanza
- Stanza types for WhatsApp protocol notifications.
- stats
- Per-session resource accounting: wire I/O counters, retained-memory estimation and a runtime-agnostic task instrumentation hook.
- sticker_
pack - Sticker pack creation helpers.
- store
- sync_
marker - Conditional
Send + Syncbound. - telemetry
- Optional metrics emission via the
metricsfacade. - time
- Pluggable time providers.
- types
- upload
- usync
- version
- webp
- WebP format utilities.
- xml
Macros§
- define_
empty_ node - Macro for defining an empty protocol node (tag only, no attributes or children).
- define_
simple_ node - Macro for defining simple protocol nodes with only attributes (no children).
- define_
validated_ string - Macro for defining validated string newtypes with a maximum length constraint.
Derive Macros§
- Empty
Node - Derive macro for empty protocol nodes (tag only, no attributes).
- Protocol
Node - Derive macro for implementing
ProtocolNodeon structs with attributes. - Wire
Enum