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
38
39
40
41
42
43
44
//! Convenience re-exports for the most-used types.
//!
//! Bring everything an SDK consumer typically needs into scope with
//! a single glob import:
//!
//! ```rust
//! use captchaforge::prelude::*;
//! ```
//!
//! The prelude intentionally excludes:
//!
//! - **Trait implementations and internal types** that a typical
//! consumer doesn't construct (`Detector`, `CaptchaProvider`,
//! `ProviderRegistry`, `ChainConfig`, …) — import them from
//! their home modules when you need them.
//! - **Helpers tied to a single module's contract** (e.g.
//! `apply_default_warmup`, `evaluate_in_all_frames`,
//! `escape_js_string`, …) — these stay namespaced so the calling
//! code reads as `frame::evaluate_in_all_frames(…)`, which is
//! easier to grep and tells the reader where to look.
//!
//! What lives here is the surface a 30-second hello-world would
//! reach for: detection, the chain, the SDK one-call helpers, the
//! `StealthProfile` enum, and the captured-cookie type.
//!
//! Adding to the prelude is a SemVer-minor change; removing is
//! SemVer-major. Be conservative.
// Top-level SDK helpers (re-exported from `crate::sdk` at crate root).
pub use crate::;
// Most-used types — also re-exported at the crate root.
pub use crate::;
// Detection — `detect`, `is_captcha`, and the `CaptchaInfo` /
// `DetectedCaptcha` shapes a consumer routinely matches on.
pub use crate;