Cargo Features

[dependencies]
chromey = { version = "2.38.3", default-features = false, features = ["collect_metrics", "stream", "fetcher", "bytes", "adblock", "simd", "firewall", "firewall-default", "firewall-rustls", "chrome_tls_connection", "default-tls", "rust-tls", "serde0", "auto-detect-executable", "dynamic-versions", "cache", "cache_mem", "serde_stacker", "spider_chromiumoxide_fetcher"] }
default = auto-detect-executable, bytes, default-tls, serde0, simd

These default features are set whenever chromey is added without default-features = false somewhere in the dependency tree.

collect_metrics
stream

Enables stream of tokio-tungstenite

fetcher

Affects chromey::fetcher

bytes default
adblock

Enables adblock

simd default

Enables sonic-rs

firewall firewall-default? firewall-rustls?

Enables spider_firewall

firewall-default = firewall

Enables spider_firewall

firewall-rustls = firewall

Enables rustls of spider_firewall

chrome_tls_connection

Enables native-tls of tokio-tungstenite

default-tls default

Enables default-tls of reqwest ^0.12

rust-tls

Enables rustls-tls of reqwest ^0.12

serde0 default

Enables serde0 of spider_chromiumoxide_cdp

auto-detect-executable default

Enables which

dynamic-versions

Enables dynamic-versions of spider_fingerprint

cache = _cache

Enables cache of http-global-cache

cache_mem = _cache

Enables cache_mem of http-global-cache

serde_stacker

Enables serde_stacker and unbounded_depth of serde_json

serde_json:

Provide a method disable_recursion_limit to parse arbitrarily deep JSON structures without any consideration for overflowing the stack. When using this feature, you will want to provide some other way to protect against stack overflows, such as by wrapping your Deserializer in the dynamically growing stack adapter provided by the serde_stacker crate. Additionally you will need to be careful around other recursive operations on the parsed result which may overflow the stack after deserialization has completed, including, but not limited to, Display and Debug and Drop impls.

_cache cache? cache_mem?

Enables auto_encoder, blake3, dashmap, hex, http-cache ^0.20, http-cache-reqwest ^0.15, http-cache-semantics ^2, http-global-cache, lol_html, and tokio-stream

Affects network::NetworkManager.cache_site_key, network::NetworkManager.cache_policy, chromey::cache, chromey::http

Features from optional dependencies

spider_chromiumoxide_fetcher implicit feature

Enables spider_chromiumoxide_fetcher

spider_chromiumoxide_fetcher:

Contains a chromium and chrome for testing fetcher