Rust reference
Four crates, version 2.0.0, edition 2024, Rust 1.89 or newer. Every item is documented on docs.rs; these pages list the main types and functions of each crate and its features.
cargo add opentele2-core| Crate | Licence | Holds | Features | Links |
|---|---|---|---|---|
opentele2-core | MIT | tdata, sessions, API profiles, devices, fingerprint checks, login and consistency rules, MTProto crypto | parallel (default), telethon-sqlite | docs.rs · crates.io |
opentele2-browser | Apache-2.0 | Browser headers and fingerprints from the Apify datapoints | — | docs.rs · crates.io |
opentele2-versions | MIT | Current official client versions and stable Chrome and Firefox | — | docs.rs · crates.io |
opentele2-grammers | MIT | grammers 0.11 sessions and connection params; client flows | client | docs.rs · crates.io |
opentele2-corepure · no async · no networkopentele2-browserApache-2.0opentele2-versionsblocking HTTPopentele2-grammersgrammers 0.11
tdata::TData, session, api, devices, fingerprint, auth, crypto, kdf, batch.
generate_headers, generate_fingerprint, HeaderGenerator, FingerprintGenerator, Rng.
fetch_all, VersionsPatch, parse.
session_data, account_from_session, connection_params and the client flows.
opentele2-core depends on opentele2-browser for the web device pool; opentele2-versions and
opentele2-grammers depend on opentele2-core without its default features.
Last updated on