Skip to main content

hpx_emulation/
lib.rs

1#![deny(unused)]
2#![deny(unsafe_code)]
3#![cfg_attr(docsrs, feature(doc_cfg))]
4#![cfg_attr(test, deny(warnings))]
5#![cfg_attr(not(test), warn(unused_crate_dependencies))]
6//! # hpx-emulation
7//!
8//! Browser emulation utilities for hpx.
9//!
10//! This crate provides browser emulation capabilities for the `hpx` HTTP client:
11//!
12//! - **Emulation**: Browser emulation profiles (TLS fingerprinting, HTTP/2 settings).
13
14use hpx as _;
15#[cfg(feature = "emulation-serde")]
16use serde as _;
17
18#[cfg(feature = "emulation")]
19pub mod emulation;
20
21#[cfg(feature = "emulation")]
22pub use self::emulation::{Emulation, EmulationOS, EmulationOption};