servo-fetch-cli 0.12.2

A browser engine in a binary — fetch, render, and extract web content as Markdown, JSON, or screenshots. Powered by Servo.
# 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"
rust-version = "1.86.0"
name = "servo-fetch-cli"
version = "0.12.2"
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A browser engine in a binary — fetch, render, and extract web content as Markdown, JSON, or screenshots. Powered by Servo."
homepage = "https://github.com/konippi/servo-fetch"
readme = "README.md"
keywords = [
    "servo",
    "headless-browser",
    "fetch",
    "mcp",
    "cli",
]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/konippi/servo-fetch"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/servo-fetch-v{ version }-{ target }{ archive-suffix }"
bin-dir = "servo-fetch-v{ version }-{ target }/{ bin }{ binary-ext }"
disabled-strategies = [
    "quick-install",
    "compile",
]

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"

[[bin]]
name = "servo-fetch"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

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

[dependencies.libc]
version = "0.2"

[dependencies.rmcp]
version = "1"
features = [
    "server",
    "transport-io",
    "transport-streamable-http-server",
    "macros",
]

[dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]
default-features = false

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.servo-fetch]
version = "0.12.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "trace",
    "request-id",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.ureq]
version = "3"
features = [
    "gzip",
    "rustls-no-provider",
    "rustls-webpki-roots",
]
default-features = false

[dependencies.url]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.rmcp]
version = "1"
features = [
    "server",
    "transport-io",
    "transport-streamable-http-server",
    "macros",
    "client",
    "transport-child-process",
]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
cast_possible_truncation = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
implicit_clone = "warn"
missing_assert_message = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
redundant_clone = "warn"
redundant_type_annotations = "warn"
use_self = "warn"

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"