llmweb 0.2.0

Extract any webpage to structured data with headless Chrome + LLM
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 = "2024"
name = "llmweb"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Extract any webpage to structured data with headless Chrome + LLM"
homepage = "https://github.com/zTgx/llmweb"
documentation = "https://docs.rs/llmweb"
readme = "README.md"
keywords = [
    "llm",
    "web",
    "scraper",
    "extraction",
    "openai",
]
categories = [
    "web-programming",
    "parsing",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/zTgx/llmweb"

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

[[bin]]
name = "llmweb"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

[[test]]
name = "llmweb"
path = "tests/llmweb.rs"

[dependencies.async-openai]
version = "0.40"
features = ["chat-completion"]

[dependencies.async-stream]
version = "0.3"

[dependencies.base64]
version = "0.22"

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

[dependencies.futures]
version = "0.3"

[dependencies.headless_chrome]
version = "1.0.17"

[dependencies.htmd]
version = "0.5"

[dependencies.regex]
version = "1.0"

[dependencies.scraper]
version = "0.27"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]