Files
hyper-custom-cert/crates/example/Cargo.toml
Geoff Seemueller bbc21abc2b cleanup (#1)
* 0.3.4

* Add `RequestOptions` for per-request customization with headers and timeouts

- Introduced the `RequestOptions` struct for flexible HTTP request configurations.
- Added `request_with_options` and `post_with_options` methods.
- Deprecated `request` and `post` in favor of the new methods.
- Updated examples and tests to reflect the new API.

* run cargo fmt

* Update HTTP client methods to use `request_with_options` for improved flexibility. Adjusted related test cases and examples accordingly.

* Format `request_with_options` calls for improved readability.

* - Downgrade `edition` from 2024 to 2021 in Cargo.toml files for compatibility.
- Fix nested `if let` statements to improve readability and correctness.
- Reorganize imports for consistency and structure.

* Restore github old workflows

* update ci

---------

Co-authored-by: geoffsee <>
2025-08-28 15:25:28 -04:00

21 lines
602 B
TOML

[package]
name = "example"
version = "0.1.0"
edition = "2021"
[features]
# No-op features used only by the example to allow conditional compilation in docs/examples.
# They are intentionally empty — the example file uses these cfg names to show feature-specific examples.
native-tls = []
rustls = []
insecure-dangerous = []
[dependencies]
tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] }
axum = "0.8.4"
hyper-custom-cert = { path = "../hyper-custom-cert", features = ["rustls", "insecure-dangerous"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"