Testing a small http-client on Linux using no_std & embedded reqwless.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Document RNG backends in README with usage examples

rektide 6c3bcb99 7982c4d2

+11 -3
+11 -3
README.md
··· 24 24 - `backend-rustix` is available as an alternate transport backend 25 25 - DNS mode is selected independently via `dns-getaddrinfo` or `dns-ip-only` 26 26 - Alternate DNS mode `dns-ip-only` rejects hostnames and only accepts literal IP hosts 27 - - HTTPS is optional via `--features https` and currently uses `TlsVerify::None` (insecure baseline) 27 + - HTTPS is optional via `--features https` and requires an RNG backend 28 + - HTTPS currently uses `TlsVerify::None` (insecure baseline) 29 + - RNG backends: `rng-dummy` (fixed seed), `rng-dev-urandom` (reads `/dev/urandom`), `rng-getrandom` (syscall) 28 30 - Uses fixed-size stack buffers for request/response and output chunks 29 31 - Performs best-effort low-allocation operation (no `String`/`Vec` in app code) 30 32 ··· 34 36 # Default build: posix-libc backend + getaddrinfo DNS mode 35 37 cargo run -- http://example.com 36 38 37 - # HTTPS on default backend/DNS mode 38 - cargo run --features https -- https://example.com 39 + # HTTPS with dev-urandom RNG (recommended for production) 40 + cargo run --no-default-features --features backend-posix-libc,dns-getaddrinfo,https,rng-dev-urandom -- https://example.com 41 + 42 + # HTTPS with getrandom syscall RNG 43 + cargo run --no-default-features --features backend-posix-libc,dns-getaddrinfo,https,rng-getrandom -- https://example.com 44 + 45 + # HTTPS with dummy RNG (testing only, insecure) 46 + cargo run --no-default-features --features backend-posix-libc,dns-getaddrinfo,https,rng-dummy -- https://example.com 39 47 40 48 # Minimal DNS mode (literal IP hosts only) 41 49 cargo run --no-default-features --features backend-posix-libc,dns-ip-only -- http://93.184.216.34