docsrs-cli 0.1.2

One-shot stdin/stdout CLI that fetches crates.io and docs.rs docs for LLM agents without a daemon
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"
rust-version = "1.88"
name = "docsrs-cli"
version = "0.1.2"
authors = ["Danilo Aguiar <daniloaguiarbr@proton.me>"]
build = false
exclude = [
    "docs_rules/",
    "/CLAUDE.md",
    "/AGENTS.md",
    "/MEMORY.md",
    ".serena/",
    ".claude/",
    ".grok/",
    ".vscode/",
    "logs/",
    "memory/",
    "target/",
    "rust_out",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One-shot stdin/stdout CLI that fetches crates.io and docs.rs docs for LLM agents without a daemon"
homepage = "https://github.com/danilo-aguiar-br/docsrs-cli"
documentation = "https://docs.rs/docsrs-cli"
readme = "README.md"
keywords = [
    "docs",
    "crates",
    "cli",
    "rustdoc",
    "llm",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/danilo-aguiar-br/docsrs-cli"

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "aarch64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "aarch64-apple-darwin",
    "x86_64-pc-windows-msvc",
]

[badges.maintenance]
status = "actively-developed"

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

[[bin]]
name = "docsrs-cli"
path = "src/main.rs"

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

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

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

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

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

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

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

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

[dependencies.aquamarine]
version = "0.6"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "cargo",
    "wrap_help",
    "color",
    "unicode",
]

[dependencies.clap_complete]
version = "4"

[dependencies.directories]
version = "6"

[dependencies.fs4]
version = "1.1.0"
features = ["sync"]

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

[dependencies.htmd]
version = "0.5"

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
    "gzip",
    "stream",
]
default-features = false

[dependencies.scraper]
version = "0.22"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.sys-locale]
version = "0.3"

[dependencies.thiserror]
version = "2"

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "std",
    "fmt",
    "ansi",
    "env-filter",
    "registry",
    "tracing-log",
]
default-features = false

[dependencies.url]
version = "2"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.pretty_assertions]
version = "1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
    "test-util",
]

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

[profile.bench]
lto = "fat"
codegen-units = 1
inherits = "release"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"

[profile.release.package."*"]
opt-level = 3