headless-engine 1.1.2

A high-performance, lightweight (<30MB RAM) headless browser engine written in Rust for AI agents, web automation, and LLM data ingestion.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "headless-engine"
version = "1.1.2"
authors = ["Headless Engine Contributors <maintainers@headless-engine.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "headless-engine"
description = "A high-performance, lightweight (<30MB RAM) headless browser engine written in Rust for AI agents, web automation, and LLM data ingestion."
homepage = "https://github.com/yutuknown/headless-engine"
documentation = "https://docs.rs/headless-engine"
readme = "README.md"
keywords = [
    "headless-browser",
    "ai-agent",
    "mcp",
    "scraping",
    "stealth",
]
categories = [
    "web-programming",
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yutuknown/headless-engine"

[lib]
name = "headless_engine"
path = "src/lib.rs"

[[bin]]
name = "demo_scrape"
path = "src/bin/demo_scrape.rs"

[[bin]]
name = "headless-engine"
path = "src/main.rs"

[[example]]
name = "agentic_chatgpt_prompt_execution"
path = "examples/agentic_chatgpt_prompt_execution.rs"

[[example]]
name = "autonomous_agent_loop"
path = "examples/autonomous_agent_loop.rs"

[[example]]
name = "capture_perfect_screenshots"
path = "examples/capture_perfect_screenshots.rs"

[[example]]
name = "demonstrate_all_features"
path = "examples/demonstrate_all_features.rs"

[[example]]
name = "multitab_concurrent"
path = "examples/multitab_concurrent.rs"

[[example]]
name = "scrape_to_markdown"
path = "examples/scrape_to_markdown.rs"

[[example]]
name = "screenshot_demo"
path = "examples/screenshot_demo.rs"

[[example]]
name = "test_all_31_google_capabilities"
path = "examples/test_all_31_google_capabilities.rs"

[[example]]
name = "test_chatgpt_and_google"
path = "examples/test_chatgpt_and_google.rs"

[[example]]
name = "test_default_google_search"
path = "examples/test_default_google_search.rs"

[[example]]
name = "test_dump_dom"
path = "examples/test_dump_dom.rs"

[[example]]
name = "test_google_html_fetch"
path = "examples/test_google_html_fetch.rs"

[[example]]
name = "test_google_markdown_fix"
path = "examples/test_google_markdown_fix.rs"

[[example]]
name = "test_html_css_rendering"
path = "examples/test_html_css_rendering.rs"

[[example]]
name = "test_real_thumbnail_screenshot"
path = "examples/test_real_thumbnail_screenshot.rs"

[[example]]
name = "test_search_modes"
path = "examples/test_search_modes.rs"

[[example]]
name = "test_youtube_screenshot"
path = "examples/test_youtube_screenshot.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22"

[dependencies.boa_engine]
version = "0.17"

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.html5ever]
version = "0.26"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "gzip",
    "brotli",
    "deflate",
    "cookies",
    "http2",
    "json",
    "socks",
    "blocking",
]
default-features = false

[dependencies.resvg]
version = "0.44"

[dependencies.scraper]
version = "0.20"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.url]
version = "2.5.8"

[dependencies.urlencoding]
version = "2.1.3"