### Line numbers 1-3 Source: https://docs.rs/crate/oozextract/latest/source/build.rs A simple code block showing line numbers 1, 2, and 3. This appears to be a placeholder or example of line numbering. ```text 1 2 3 ``` -------------------------------- ### Dockerfile for perf profiling environment Source: https://docs.rs/crate/oozextract/latest/source/perf.Dockerfile Sets up a Rust container with linux-perf and cargo-flamegraph, disables perf_event_paranoid, and mounts /build/target as a volume. Includes commented-out CMD and perf script conversion for Firefox profiler. ```Dockerfile FROM rust:latest RUN apt-get update && apt-get install -y linux-perf RUN cargo install flamegraph RUN echo "kernel.perf_event_paranoid = -1" >>/etc/sysctl. VOLUME /build/target ENV CARGO_PROFILE_RELEASE_DEBUG=true WORKDIR /build/perf # FIXME: CMD spews binary output to console, for now just do # docker run -it -v .:/build rust-perf bash # cargo flamegraph --bench criterion #CMD ["cargo", "flamegraph", "--bench", "criterion"] # convert to a format readable by profiler.firefox.com: # perf script -F +pid > perf.data.firefox ``` -------------------------------- ### build.rs main function with cargo::rustc-check-cfg Source: https://docs.rs/crate/oozextract/latest/source/build.rs The build script for the oozextract crate. It defines a main function that emits a cargo directive to check the 'nightly' configuration flag. ```rust fn main() { println!("cargo::rustc-check-cfg=cfg(nightly)"); } ``` -------------------------------- ### Cargo.toml.orig for oozextract Source: https://docs.rs/crate/oozextract/latest/source/Cargo.toml.orig The complete Cargo.toml.orig manifest for the oozextract crate. It defines the package as a library and binary, lists dependencies including optional ones for CLI, async, and WASM support, and configures features and benchmarks. ```toml [package] name = "oozextract" description = "Open source Kraken / Mermaid / Selkie / Leviathan / LZNA / Bitknit decompressor" repository = "https://github.com/lvlvllvlvllvlvl/oozextract" version = "0.5.5" edition = "2021" license = "MIT" exclude = ["testdata", "verify"] [lib] crate-type = ["cdylib", "rlib"] [[bin]] name = "unoodle" path = "src/main.rs" [dependencies] bytemuck = "1.19.0" bytes = "1.8.0" clap = { version = "4.5.20", optional = true, features = ["derive"] } futures = "0.3.31" log = "0.4.22" test-log = "0.2.16" tokio = { version = "1.41.0", optional = true, features = ["io-util"] } wasm-bindgen = { version = "0.2.95", optional = true } wide = "0.7.28" [dev-dependencies] criterion = "0.5.1" tokio = { version = "1.41.0", features = ["full"] } tokio-util = { version = "0.7.12", features = ["io"] } [package.metadata.docs.rs] all-features = true # use this cfg value to enable nightly-only features such as `doc_auto_cfg` # when built by docs.rs https://stackoverflow.com/a/61417700/2063518 rustdoc-args = ["--cfg", "nightly"] [package.metadata.wasm-pack.profile] dev.wasm-opt = false profiling.wasm-opt = ['-O4', '-g'] release.wasm-opt = ['-O4'] [[bench]] name = "criterion" harness = false [features] x86_sse = [] async = [] tokio = ["async", "dep:tokio"] wasm = ["dep:wasm-bindgen"] verbose_errors = [] cli = ["dep:clap"] ``` -------------------------------- ### Build failure log for oozextract 0.5.5 Source: https://docs.rs/crate/oozextract/latest/builds/4109342 The build log from docs.rs showing the failure. The build command uses `cargo rustdoc` with nightly and all features. The error is `error[E0557]: feature has been removed` for `feature(doc_auto_cfg)` in `src/lib.rs:8:30`. The feature was removed in Rust 1.92.0 and merged into `doc_cfg`. ```text # error kind ExecutionFailed # pre-build errors command failed: exit status: 101 # rustc version rustc 1.99.0-nightly (3d6c19bb9 2026-08-11) # docs.rs version docsrs 0.0.0 (34a12160ded44b303795066b8c53e4bdae865e51 2026-08-11 ) # 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" "f0fa6d98442ed191ff3adb2fa6640de4cdf3e82011ccf9002dab528011420e15" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"nightly\", \"-Z\", \"unstable-options\", \"--emit=html-non-static-files\", \"--resource-suffix\", \"-20260811-1.99.0-nightly-3d6c19bb9\", \"--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\"" "-j6" "--target" "x86_64-unknown-linux-gnu" "-Zrustdoc-scrape-examples", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting oozextract v0.5.5 (/opt/rustwide/workdir) [INFO] [stderr] error[E0557]: feature has been removed [INFO] [stderr] --> src/lib.rs:8:30 [INFO] [stderr] | [INFO] [stderr] 8 | #![cfg_attr(nightly, feature(doc_auto_cfg))] [INFO] [stderr] | ^^^^^^^^^^^^ feature has been removed [INFO] [stderr] | [INFO] [stderr] = note: removed in 1.92.0; see for more information [INFO] [stderr] = note: merged into `doc_cfg` [INFO] [stderr] [INFO] [stderr] error: Compilation failed, aborting rustdoc [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0557`. [INFO] [stderr] error: could not document `oozextract` [INFO] running `Command { std: "docker" "inspect" "f0fa6d98442ed191ff3adb2fa6640de4cdf3e82011ccf9002dab528011420e15", kill_on_drop: false }` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.