toad 0.19.1

Universal implementation of the CoAP networking protocol
Documentation

Build #3431073 2026-05-30 11:41:43

# rustc version rustc 1.98.0-nightly (6368fd52c 2026-05-29)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "ee25406512cf90a777e286188d36b320dffc6a53a480bdb08c22bdc142712c81" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260529-1.98.0-nightly-6368fd52c\", \"--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: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand_chacha` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `serde_json` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `tinyvec` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-array` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-hash` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-len` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-map` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-stem` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-string` dependency) [INFO] [stderr] warning: Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `toad-writable` dependency) [INFO] [stderr] warning: `toad` (manifest) generated 12 warnings [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: server, server_minimal, server_traffic [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting toad v0.19.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `toad_common::Map` [INFO] [stderr] --> src/todo.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | /// A [`Map`](toad_common::Map) stored completely on the stack [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no item named `toad_common` in scope [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RetryTimer.what_should_i_do` [INFO] [stderr] --> src/retry.rs:182:17 [INFO] [stderr] | [INFO] [stderr] 182 | /// Result of [`RetryTimer.what_should_i_do`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `RetryTimer.what_should_i_do` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RFC3986` [INFO] [stderr] --> src/option.rs:167:42 [INFO] [stderr] | [INFO] [stderr] 167 | #[doc = toad_macros::rfc_7252_doc!("5.10.1")] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/req/builder.rs:146:3 [INFO] [stderr] | [INFO] [stderr] 146 | common_options!(P); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] Note: Fragments ([RFC3986], Section 3.5) are not part of the request [INFO] [stderr] ^^^^^^^ [INFO] [stderr] = note: no item named `RFC3986` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: this warning originates in the macro `crate::option::builder_method` which comes from the expansion of the macro `common_options` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `BLOCK` [INFO] [stderr] --> src/option.rs:187:42 [INFO] [stderr] | [INFO] [stderr] 187 | #[doc = toad_macros::rfc_7252_doc!("5.10.9")] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/req/builder.rs:146:3 [INFO] [stderr] | [INFO] [stderr] 146 | common_options!(P); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] of bytes. Its main use is with block-wise transfers [BLOCK]. In the [INFO] [stderr] ^^^^^ [INFO] [stderr] = note: no item named `BLOCK` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: this warning originates in the macro `crate::option::builder_method` which comes from the expansion of the macro `common_options` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `RFC3986` [INFO] [stderr] --> src/option.rs:202:42 [INFO] [stderr] | [INFO] [stderr] 202 | #[doc = toad_macros::rfc_7252_doc!("5.10.2")] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/req/builder.rs:146:3 [INFO] [stderr] | [INFO] [stderr] 146 | common_options!(P); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] The option value is an absolute-URI ([RFC3986], Section 4.3). [INFO] [stderr] ^^^^^^^ [INFO] [stderr] = note: no item named `RFC3986` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: this warning originates in the macro `crate::option::builder_method` which comes from the expansion of the macro `common_options` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `observe::Observe::cmp_observe_requests` [INFO] [stderr] --> src/step/mod.rs:111:101 [INFO] [stderr] | [INFO] [stderr] 111 | ...ng](observe::Observe::cmp_observe_requests) subscribers to be removed) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Observe` has no field or associated item named `cmp_observe_requests` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `observe::Observe::cmp_requests` [INFO] [stderr] --> src/step/mod.rs:116:31 [INFO] [stderr] | [INFO] [stderr] 116 | /// Based on [`cmp_requests`](observe::Observe::cmp_requests), equivalent requests will be combined. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Observe` has no field or associated item named `cmp_requests` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `observe::cmp_requests` [INFO] [stderr] --> src/step/mod.rs:124:45 [INFO] [stderr] | [INFO] [stderr] 124 | /// * the default [`observe::cmp_requests`](observe::cmp_requests) function (which considers requests with different query paramete... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no item named `cmp_requests` in module `observe` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `toad_msg::to_bytes::MessageToBytesError` [INFO] [stderr] --> src/platform.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | /// Convert a [`toad_msg::to_bytes::MessageToBytesError`] to PlatformError [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `to_bytes` in module `toad_msg` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `toad_common::Array` [INFO] [stderr] --> src/option.rs:57:36 [INFO] [stderr] | [INFO] [stderr] 57 | /// - bytes (anything that impls [`toad_common::Array`]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no item named `toad_common` in scope [INFO] [stderr] [INFO] [stderr] warning: `toad` (lib doc) generated 10 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/toad/index.html [INFO] running `Command { std: "docker" "inspect" "ee25406512cf90a777e286188d36b320dffc6a53a480bdb08c22bdc142712c81", kill_on_drop: false }`