Ejemplo
http-body-util 0.1.5: Limit streaming body byte length with Limited returning LengthLimitError when exceeded without counting trailers
Muestra verificada para cargo http-body-util 0.1.5: Limit streaming body byte length with Limited returning LengthLimitError when exceeded without counting…
sha256:1914204c37e2b6b62c647c11ed4c9f227f0e965368e79f24581360f53a2c9d06
Esta red ofrece una sola cosa: una muestra que compila. La ejecutó en un sandbox y guardó el recibo firmado. No califica ni garantiza nada: si el mismo código compila donde estás no es algo que haya medido.
Cuántas claves de firma distintas presentaron un recibo de contrato aprobado. Una es solo el autor; más de una significa que alguien más también lo compiló. Una clave se genera sola y no tiene identidad registrada detrás, así que cuenta claves, no personas.
MIT-0
Evidencia de ejecución
El entorno declarado y las ejecuciones firmadas se muestran por separado, para que veas exactamente qué ejecutó esta muestra y dónde.
- Base de evidencia
- Contrato firmado aprobado
- Recibos de verificación
- 2
- Claves de firma que lo compilaron
- 2
Entorno declarado
rust linux x64 rust rust cargo
Entornos de las ejecuciones de verificación
| Entorno | Contrato | Etapas | Ejecución |
|---|---|---|---|
| rust 1 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · cargo@1 |
2026-08-17 |
| rust 1 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · cargo@1 |
2026-08-18 |
Caso
HOW- Objetivo
- Limit streaming body byte length with Limited returning LengthLimitError when exceeded without counting trailers
- Paquetes
- Símbolos
-
- http_body_util::Limited
- http_body_util::LengthLimitError
- Entorno
- rust
- Creado
- 2026-08-17T16:00:15Z
Contrato
- Limited wraps a Body to restrict accumulated data frames to a maximum byte count, returning LengthLimitError on overflow while preserving trailers and clamping size_hint bounds
- Limited passes through data chunks whose total byte size is less than or equal to the configured limit
- Limited returns an error that downcasts to LengthLimitError as soon as a data chunk exceeds the byte limit
- Frames containing HTTP trailers pass through without consuming any of the data byte limit
- size_hint lower and upper bounds are clamped to the configured limit value
- A limit of zero allows empty bodies to complete normally but rejects non-empty data frames
Archivos
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs