Skip to content

130 implement http clients#180

Merged
AlixANNERAUD merged 2 commits intomainfrom
130-implement-http-clients
Mar 28, 2026
Merged

130 implement http clients#180
AlixANNERAUD merged 2 commits intomainfrom
130-implement-http-clients

Conversation

@AlixANNERAUD
Copy link
Copy Markdown
Contributor

@AlixANNERAUD AlixANNERAUD commented Mar 28, 2026

This pull request introduces support for an HTTPS client device in the shared drivers crate. The main changes add dependencies and code to enable HTTPS communication, as well as expose the new device for use in the system. The most important changes are grouped below:

New HTTPS client device:

  • Added a new https_client module and corresponding HttpsClientDevice to drivers/shared/src/devices, and exposed it for use.
  • Registered the HttpsClientDevice as a character device at /devices/https_client in the native example, making it available for testing or demonstration.

Dependency updates:

  • Added embedded-tls with alloc feature and no default features to the root Cargo.toml to enable TLS support.
  • Added several dependencies to drivers/shared/Cargo.toml to support networking, async I/O, TLS, random number generation, and synchronization for the new HTTPS client device.

General codebase changes:

  • Added extern crate alloc; to drivers/shared/src/lib.rs to support heap allocations required by the new device and dependencies.

@AlixANNERAUD AlixANNERAUD enabled auto-merge (squash) March 28, 2026 22:54
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 28, 2026

Codecov Report

❌ Patch coverage is 14.18093% with 351 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
drivers/shared/src/devices/https_client.rs 14.18% 351 Missing ⚠️

📢 Thoughts on this report? Let us know!

@AlixANNERAUD AlixANNERAUD merged commit a16ff20 into main Mar 28, 2026
1 of 2 checks passed
@AlixANNERAUD AlixANNERAUD deleted the 130-implement-http-clients branch March 28, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant