coding-agent-hooks 0.7.2

Agent-agnostic hook protocol types and adapters for AI coding agents
Documentation

Build #3289887 2026-05-14 16:48:04

# rustc version rustc 1.97.0-nightly (ff9a9ea07 2026-05-13)

# docs.rs version docsrs 0.0.0 (e3981f6f5e851656470d52001364bbb946056a06 2026-05-14 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder3/builds/coding-agent-hooks-0.7.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder3/builds/coding-agent-hooks-0.7.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "6442450944" "--cpuset-cpus" "20-25" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 96b695be605af7cd07bf655f49d2acc4aaeb2030da59b6685b1c385806cf052e [INFO] running `Command { std: "docker" "start" "96b695be605af7cd07bf655f49d2acc4aaeb2030da59b6685b1c385806cf052e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "96b695be605af7cd07bf655f49d2acc4aaeb2030da59b6685b1c385806cf052e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260513-1.97.0-nightly-ff9a9ea07\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting coding-agent-hooks v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | //! - [`HookProtocol`](protocol::HookProtocol) abstracts agent-specific JSON formats. [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 10 - //! - [`HookProtocol`](protocol::HookProtocol) abstracts agent-specific JSON formats. [INFO] [stderr] 10 + //! - [`HookProtocol`] abstracts agent-specific JSON formats. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | //! - [`ToolUseHookInput`](input::ToolUseHookInput) and friends are the normalized [INFO] [stderr] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 11 - //! - [`ToolUseHookInput`](input::ToolUseHookInput) and friends are the normalized [INFO] [stderr] 11 + //! - [`ToolUseHookInput`] and friends are the normalized [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | //! - [`HookOutput`](output::HookOutput) is a structured response type (used [INFO] [stderr] | ------------ ^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 13 - //! - [`HookOutput`](output::HookOutput) is a structured response type (used [INFO] [stderr] 13 + //! - [`HookOutput`] is a structured response type (used [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:19:32 [INFO] [stderr] | [INFO] [stderr] 19 | //! Implement [`HookProtocol`](protocol::HookProtocol) — only two methods are [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 19 - //! Implement [`HookProtocol`](protocol::HookProtocol) — only two methods are [INFO] [stderr] 19 + //! Implement [`HookProtocol`] — only two methods are [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `coding-agent-hooks` (lib doc) generated 4 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/coding_agent_hooks/index.html [INFO] running `Command { std: "docker" "stop" "-t" "1" "96b695be605af7cd07bf655f49d2acc4aaeb2030da59b6685b1c385806cf052e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96b695be605af7cd07bf655f49d2acc4aaeb2030da59b6685b1c385806cf052e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b695be605af7cd07bf655f49d2acc4aaeb2030da59b6685b1c385806cf052e", kill_on_drop: false }` [INFO] [stdout] 96b695be605af7cd07bf655f49d2acc4aaeb2030da59b6685b1c385806cf052e