← Back to Pull requests

docs: explain no_std configuration and allocator requirement #626

Closed
unknown closed this pull request without merging on Oct 16, 2026 07:03 UTC
View on GitHub
unknown unknown commented on Oct 16, 2026 05:41 UTC
Author

Document how to disable the default std feature for RON and Serde, and explain that a global allocator is still required. Clarify the available string/byte APIs, the gated std::io APIs, and features that can enable std again.

Fixes #574. This documents the existing implementation; it does not add an optional alloc feature.

Validation: extracted the dependency snippet into an independent no_std consumer; host roundtrip/error checks and a wasm32 library check pass. A wasm32 executable without an allocator fails with the expected missing-global-allocator diagnostic. cargo check --lib --no-default-features, rustfmt, and all-features rustdoc with warnings denied pass; doctests: 25 passed, 11 ignored. No-default-features rustdoc reports the same five existing broken links as the unmodified base. The MSRV/nightly feature matrix was not run.

  • I've included my change in CHANGELOG.md
  • AI-assisted documentation change developed and checked with Codex.

    Diff: 122 lines (+91 / -31) across 1 files Reviewer: juntyr Review duration: 81m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.55) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.55 · 122 lines diff across 1 files
    0.55
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.289
    Diff Size diff_size
    0.288
    Sensitive Paths sensitive_paths
    0.055
    Real PR Conversation Timeline
    1 comments
    "Review active on #626"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 55.0% (MEDIUM) · Higher = larger blast radius
    55.0%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 23.8% · Safe to merge
    23.8%
    Repository