docsrs-cli 1.3.0

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 = "1.3.0"
authors = ["Danilo Aguiar <daniloaguiarbr@proton.me>"]
build = false
include = [
    "/src/**",
    "/tests/fixtures/**",
    "/docs/**",
    "/scripts/**",
    "/skills/**",
    "/Cargo.toml",
    "/Cargo.lock",
    "/deny.toml",
    "/rust-toolchain.toml",
    "/LICENSE",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
    "/README.pt-BR.md",
    "/CHANGELOG.md",
    "/CHANGELOG.pt-BR.md",
    "/CONTRIBUTING.md",
    "/CONTRIBUTING.pt-BR.md",
    "/CODE_OF_CONDUCT.md",
    "/CODE_OF_CONDUCT.pt-BR.md",
    "/INTEGRATIONS.md",
    "/INTEGRATIONS.pt-BR.md",
    "/SECURITY.md",
    "/SECURITY.pt-BR.md",
    "/llms.txt",
    "/llms.pt-BR.txt",
    "/llms-full.txt",
]
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 = []

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

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

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

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "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.httpdate]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls-no-provider",
    "http2",
    "system-proxy",
    "json",
    "gzip",
    "brotli",
    "stream",
]
default-features = false

[dependencies.rustls]
version = "0.23.18"
features = [
    "std",
    "tls12",
    "ring",
]
default-features = false

[dependencies.scraper]
version = "0.27"

[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",
]
default-features = false

[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"

[dependencies.webpki-roots]
version = "1"

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

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

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

[dev-dependencies.regex]
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"
overflow-checks = true
strip = "symbols"

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