[go: up one dir, main page]

http-client 6.5.3

Types and traits for http clients.
Documentation
Build #579307 2022-06-21 10:07:27
# rustc version
rustc 1.63.0-nightly (5750a6aa2 2022-06-20)# docs.rs version
docsrs 0.6.0 (c280b04 2022-05-30)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/http-client-6.5.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/http-client-6.5.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-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" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "docs" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"feature=\\\"docs\\\"\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220620-1.63.0-nightly-5750a6aa2\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", 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] e9dd840f8dd67236fb9cb5fdb55b73fe15210870f605e6a9e7dbc421a60c9043
[INFO] running `Command { std: "docker" "start" "-a" "e9dd840f8dd67236fb9cb5fdb55b73fe15210870f605e6a9e7dbc421a60c9043", kill_on_drop: false }`
[INFO] [stderr]  Documenting http-client v6.5.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples`
[INFO] [stderr]  --> src/lib.rs:9:23
[INFO] [stderr]   |
[INFO] [stderr] 9 | #![warn(missing_docs, missing_doc_code_examples, unreachable_pub)]
[INFO] [stderr]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/lib.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / //! Types and traits for http clients.
[INFO] [stderr] 2 | | //!
[INFO] [stderr] 3 | | //! This crate has been extracted from `surf`'s internals, but can be used by any http client impl.
[INFO] [stderr] 4 | | //! The purpose of this crate is to provide a unified interface for multiple HTTP client backends,
[INFO] [stderr] 5 | | //! so that they can be abstracted over without doing extra work.
[INFO] [stderr]   | |_________________________________________________________________^
[INFO] [stderr]   |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]  --> src/lib.rs:9:23
[INFO] [stderr]   |
[INFO] [stderr] 9 | #![warn(missing_docs, missing_doc_code_examples, unreachable_pub)]
[INFO] [stderr]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/isahc.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! http-client implementation for isahc
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/isahc.rs:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | /// Curl-based HTTP Client.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/isahc.rs:26:1
[INFO] [stderr]    |
[INFO] [stderr] 26 | / impl IsahcClient {
[INFO] [stderr] 27 | |     /// Create a new instance.
[INFO] [stderr] 28 | |     pub fn new() -> Self {
[INFO] [stderr] 29 | |         Self::from_client(isahc::HttpClient::new().unwrap())
[INFO] [stderr] ...  |
[INFO] [stderr] 38 | |     }
[INFO] [stderr] 39 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/isahc.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 |     /// Create a new instance.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/isahc.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     /// Create from externally initialized and configured client.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/native.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! http-client implementation for curl + fetch
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/h1/mod.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! http-client implementation for async-h1, with connection pooling ("Keep-Alive").
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/h1/mod.rs:38:1
[INFO] [stderr]    |
[INFO] [stderr] 38 | /// async-h1 based HTTP Client, with connection pooling ("Keep-Alive").
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/h1/mod.rs:90:1
[INFO] [stderr]     |
[INFO] [stderr] 90  | / impl H1Client {
[INFO] [stderr] 91  | |     /// Create a new instance.
[INFO] [stderr] 92  | |     pub fn new() -> Self {
[INFO] [stderr] 93  | |         Self {
[INFO] [stderr] ...   |
[INFO] [stderr] 121 | |     }
[INFO] [stderr] 122 | | }
[INFO] [stderr]     | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/h1/mod.rs:91:5
[INFO] [stderr]    |
[INFO] [stderr] 91 |     /// Create a new instance.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]    --> src/h1/mod.rs:101:5
[INFO] [stderr]     |
[INFO] [stderr] 101 |     /// Create a new instance.
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]  --> src/hyper.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! http-client implementation for reqwest
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/hyper.rs:32:1
[INFO] [stderr]    |
[INFO] [stderr] 32 | /// Hyper-based HTTP Client.
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/hyper.rs:39:1
[INFO] [stderr]    |
[INFO] [stderr] 39 | / impl HyperClient {
[INFO] [stderr] 40 | |     /// Create a new client instance.
[INFO] [stderr] 41 | |     pub fn new() -> Self {
[INFO] [stderr] 42 | |         let https = HttpsConnector::new();
[INFO] [stderr] ...  |
[INFO] [stderr] 60 | |     }
[INFO] [stderr] 61 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/hyper.rs:40:5
[INFO] [stderr]    |
[INFO] [stderr] 40 |     /// Create a new client instance.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/hyper.rs:51:5
[INFO] [stderr]    |
[INFO] [stderr] 51 |     /// Create from externally initialized and configured client.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:50:1
[INFO] [stderr]    |
[INFO] [stderr] 50 | / /// An abstract HTTP client.
[INFO] [stderr] 51 | | ///
[INFO] [stderr] 52 | | /// __note that this is only exposed for use in middleware. Building new backing clients is not
[INFO] [stderr] 53 | | /// recommended yet. Once it is we'll likely publish a new `http_client` crate, and re-export this
[INFO] [stderr] ...  |
[INFO] [stderr] 60 | | /// though middleware for one of its own requests, and in order to do so should be wrapped in an
[INFO] [stderr] 61 | | /// `Rc`/`Arc` to enable reference cloning.
[INFO] [stderr]    | |___________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:64:5
[INFO] [stderr]    |
[INFO] [stderr] 64 |     /// Perform a request.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 67 | /     /// Override the existing configuration with new configuration.
[INFO] [stderr] 68 | |     ///
[INFO] [stderr] 69 | |     /// Config options may not impact existing connections.
[INFO] [stderr]    | |___________________________________________________________^
[INFO] [stderr] 
[INFO] [stderr] warning: missing code example in this documentation
[INFO] [stderr]   --> src/lib.rs:77:5
[INFO] [stderr]    |
[INFO] [stderr] 77 |     /// Get the current configuration.
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `http-client` (lib doc) generated 22 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.91s
[INFO] running `Command { std: "docker" "inspect" "e9dd840f8dd67236fb9cb5fdb55b73fe15210870f605e6a9e7dbc421a60c9043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9dd840f8dd67236fb9cb5fdb55b73fe15210870f605e6a9e7dbc421a60c9043", kill_on_drop: false }`
[INFO] [stdout] e9dd840f8dd67236fb9cb5fdb55b73fe15210870f605e6a9e7dbc421a60c9043