mod-alloc 1.0.0

Allocation profiling for Rust. Counters, peak resident, and call-site grouping with inline backtrace capture. Zero external dependencies in the hot path. Lean dhat replacement targeting MSRV 1.75.
Documentation

Build #3313674 2026-05-18 09:36:08

# rustc version rustc 1.97.0-nightly (507271bc1 2026-05-17)

# docs.rs version docsrs 0.0.0 (e50152ed411bb913753b1dfd203f22cb8711f097 2026-05-17 )

# 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" "52b7cef9fb265dd22c2f92fa61fdfdecacb9ff909290d9f77b62bab08c1014b7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260517-1.97.0-nightly-507271bc1\", \"--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: mod-alloc@1.0.0: mod-alloc: the `backtraces` feature is enabled but RUSTFLAGS does not include `-C force-frame-pointers=yes`. The inline FP walker requires frame pointers; without them traces will be empty or shallow on release builds. Add to .cargo/config.toml: [build] rustflags = ["-C", "force-frame-pointers=yes"] [INFO] [stderr] Scraping mod-alloc v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting mod-alloc v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/mod_alloc/index.html [INFO] running `Command { std: "docker" "inspect" "52b7cef9fb265dd22c2f92fa61fdfdecacb9ff909290d9f77b62bab08c1014b7", kill_on_drop: false }`