serde_json_bytes 0.2.5

a JSON Value object with strings backed by Bytes, parsed by serde_json
Documentation

Build #3848801 2026-07-14 05:51:22

# rustc version rustc 1.99.0-nightly (daf2e5e18 2026-07-13)

# docs.rs version docsrs 0.0.0 (964c90a45859fd8f9076e3cbe58470a5a4f4d4f7 2026-07-01 )

# 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" "fee642a2cbc027071a32d2c274b7078549c36d9d5bcc713089270c85c38a6962" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260713-1.99.0-nightly-daf2e5e18\", \"--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 serde_json_bytes v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `no_btreemap_get_key_value` [INFO] [stderr] --> src/map.rs:107:47 [INFO] [stderr] | [INFO] [stderr] 107 | #[cfg(any(feature = "preserve_order", not(no_btreemap_get_key_value)))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 33 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_get_key_value)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_get_key_value)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `no_btreemap_retain` [INFO] [stderr] --> src/map.rs:279:15 [INFO] [stderr] | [INFO] [stderr] 279 | #[cfg(not(no_btreemap_retain))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_retain)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_retain)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `no_btreemap_remove_entry` [INFO] [stderr] --> src/map.rs:157:51 [INFO] [stderr] | [INFO] [stderr] 157 | #[cfg(any(feature = "preserve_order", not(no_btreemap_remove_entry)))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_remove_entry)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_remove_entry)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `no_btreemap_remove_entry` [INFO] [stderr] --> src/map.rs:161:13 [INFO] [stderr] | [INFO] [stderr] 161 | no_btreemap_remove_entry, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_remove_entry)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_remove_entry)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `no_btreemap_get_key_value` [INFO] [stderr] --> src/map.rs:162:17 [INFO] [stderr] | [INFO] [stderr] 162 | not(no_btreemap_get_key_value), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_get_key_value)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_get_key_value)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `no_btreemap_remove_entry` [INFO] [stderr] --> src/map.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | no_btreemap_remove_entry, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_remove_entry)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_remove_entry)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `no_btreemap_get_key_value` [INFO] [stderr] --> src/map.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | no_btreemap_get_key_value, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_get_key_value)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_get_key_value)");` to the top of the `build.rs` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/mod.rs:104:7 [INFO] [stderr] | [INFO] [stderr] 104 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/de.rs:109:27 [INFO] [stderr] | [INFO] [stderr] 109 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/de.rs:304:15 [INFO] [stderr] | [INFO] [stderr] 304 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/de.rs:801:15 [INFO] [stderr] | [INFO] [stderr] 801 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/de.rs:1217:11 [INFO] [stderr] | [INFO] [stderr] 1217 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/de.rs:1246:19 [INFO] [stderr] | [INFO] [stderr] 1246 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/de.rs:1260:19 [INFO] [stderr] | [INFO] [stderr] 1260 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:856:7 [INFO] [stderr] | [INFO] [stderr] 856 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:859:7 [INFO] [stderr] | [INFO] [stderr] 859 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:864:7 [INFO] [stderr] | [INFO] [stderr] 864 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:254:19 [INFO] [stderr] | [INFO] [stderr] 254 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:297:11 [INFO] [stderr] | [INFO] [stderr] 297 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:393:19 [INFO] [stderr] | [INFO] [stderr] 393 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:416:19 [INFO] [stderr] | [INFO] [stderr] 416 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:426:19 [INFO] [stderr] | [INFO] [stderr] 426 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:635:19 [INFO] [stderr] | [INFO] [stderr] 635 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `raw_value` [INFO] [stderr] --> src/value/ser.rs:654:19 [INFO] [stderr] | [INFO] [stderr] 654 | #[cfg(feature = "raw_value")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `alloc`, `arbitrary_precision`, `default`, `indexmap`, `preserve_order`, and `std` [INFO] [stderr] = help: consider adding `raw_value` as a feature in `Cargo.toml` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `serde_json_bytes` (lib doc) generated 24 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.85s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/serde_json_bytes/index.html [INFO] running `Command { std: "docker" "inspect" "fee642a2cbc027071a32d2c274b7078549c36d9d5bcc713089270c85c38a6962", kill_on_drop: false }`