1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! Pure core of opentele2.
//!
//! This crate holds every Telegram Desktop `tdata` format and crypto rule
//! shared by the Python and Node bindings. Its contract:
//!
//! - **Pure**: the core transforms bytes and values it is given; it walks no
//! filesystem beyond explicit paths passed by the caller.
//! - **No async**: every function is synchronous; there is no runtime
//! dependency such as tokio.
//! - **No network**: the core opens no sockets and speaks no `MTProto`
//! transport.
//! - **No FFI**: bindings live in separate crates; this crate exports a plain
//! Rust API and forbids `unsafe` code.
//!
//! Every fallible operation returns [`Result`], whose error type [`Error`]
//! carries a stable [`Error::code`] that bindings map onto their own
//! exception types.
//!
//! The default feature `parallel` runs the [`batch`] entry points over
//! independent folders on a dedicated rayon pool; without it they run
//! sequentially with identical results.
pub use ;