hyper-openssl
hyper-openssl copied to clipboard
example
Can't find any example of how this library is supposed to be used, for client or server. (specifically I need server.) Could this be added to the documentation?
Original case: kube-rs/kube#991 This PR adds setting `server_name` which can be explicitly configured by user. When this setting is set, it is passed as-is to openssl instead of parsing URL.
Closes #43 by emitting a `rustc-check-cfg` directive to the compiler ([[relevant section of rustc book]](https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html#cargorustc-check-cfg-for-buildrsbuild-script)). Although the rustc book recommends using two colons, doing so in this repo gives this...
On current `master` (`81243fa10351f97eb3871aacdd43eace2aee134d`) with Rust 1.82.0 (`rustc 1.82.0 (f6e511eec 2024-10-15)`, `cargo 1.82.0 (8f40fc59f 2024-08-21)`), running `cargo check --tests` emits with the following warning: ``` Checking hyper-openssl v0.10.2 (/home/phoenix/repos/h3stuff/hyper-openssl) warning:...