[codex] feat(signal-safe-http-client): add no_std HTTP client#2118
Draft
pawelchcki wants to merge 1 commit into
Draft
[codex] feat(signal-safe-http-client): add no_std HTTP client#2118pawelchcki wants to merge 1 commit into
pawelchcki wants to merge 1 commit into
Conversation
|
Contributor
📚 Documentation Check Results📦
|
Contributor
Clippy Allow Annotation ReportComparing clippy allow annotations between branches:
Summary by Rule
Annotation Counts by File
Annotation Stats by Crate
About This ReportThis report tracks Clippy allow annotations for specific rules, showing how they've changed in this PR. Decreasing the number of these annotations generally improves code quality. |
Contributor
🔒 Cargo Deny Results📦
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Adds a new
libdd-signal-safe-http-clientcrate as a no-default-features,no_stdfacade overreqwless.The crate keeps
alloc,std, and TLS backend integration opt-in. It inherits workspace lints and exposes the embedded I/O traits and reqwless request/response/client types for caller-provided transports and buffers.This also adds a Linux-only
origin+rustixexample that builds forx86_64-unknown-linux-nonewithout default features. The example streams a fixed Alpine ISO over HTTP, hashes it with SHA-256, and verifies the result against a hardcoded digest.DNS/example details
The example resolver is no-alloc and does not call the libc resolver. It checks
/etc/hosts, parses/etc/resolv.conf, supportssearch/domain,options ndots:n, CNAME chasing, UDP A-record lookups throughlow_dns, and TCP fallback for truncated DNS replies.Validation
cargo +nightly-2026-02-08 fmt --all -- --checkcargo check -p libdd-signal-safe-http-client --no-default-featurescargo test -p libdd-signal-safe-http-client --no-default-featurescargo +stable clippy -p libdd-signal-safe-http-client --all-targets --no-default-features --features std,alloc,mbedtls,esp-mbedtls -- -D warningsRUSTFLAGS='-C target-feature=+crt-static -C relocation-model=static' cargo +nightly-2026-02-08 build -p libdd-signal-safe-http-client --example http_only_no_std --no-default-features --target x86_64-unknown-linux-none -Zbuild-std=core,compiler_builtins -Zbuild-std-features=compiler-builtins-memRUSTFLAGS='-C target-feature=+crt-static -C relocation-model=static' cargo +nightly-2026-02-08 clippy -p libdd-signal-safe-http-client --example http_only_no_std --no-default-features --target x86_64-unknown-linux-none -Zbuild-std=core,compiler_builtins -Zbuild-std-features=compiler-builtins-mem -- -D warnings/etc/hostsinjected, including SHA-256 verificationalloc,std,mbedtls,embedded-tls, oresp-mbedtlson the linux-none pathgetaddrinfo,freeaddrinfo,mallocfamily,mbedtls, orrustlssymbols in the linux-none example binaryNotes
LICENSE-3rdparty.csvis intentionally not regenerated here; the commit hook/normal license workflow should handle that.