fix rustdoc warnings on transport links

- Re-export TransportHandle / TransportReader / TransportWriter alongside
  SubprocessTransport. Without these in the public API, rustdoc refused
  to resolve [`TransportHandle::close`] from SubprocessTransport's docs.
- Inline the close()/end_input() link prose where the broken-link
  warning fired.

cargo doc --no-deps now builds clean.
This commit is contained in:
Sulkta 2026-05-14 08:06:10 -07:00
parent ecdb97f455
commit 76a790972f
2 changed files with 5 additions and 6 deletions

View file

@ -125,7 +125,7 @@ pub use messages::{
};
pub use options::{ClaudeAgentOptions, Effort, McpServersConfig, PermissionMode, SystemPrompt};
pub use query::query;
pub use transport::SubprocessTransport;
pub use transport::{SubprocessTransport, TransportHandle, TransportReader, TransportWriter};
/// Crate version, as set in `Cargo.toml`. Sent to the CLI as
/// `CLAUDE_AGENT_SDK_VERSION` in the subprocess env.