Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document tls example with compilation instruction (#896)
It was clear that I didn't need the #[cfg(feature ...)] in order to get a Server that could respond to .tls(), but I wasn't immediately sure if just adding the tls feature to the warp dependency (in Cargo.toml) was enough, or I had to specify some transitive dependency with it, or something else. And as the feature wasn't enabled, the docs produced with `cargo doc --workspace` didn't include Server.tls, so I started to question if the example I was looking at even matched the warp version I was working with. Eventually I just tried adding it to the warp dep and it (of course) just worked, but for the sake of others I reckon a more explicit pointing in the right direction could be helpful.
- Loading branch information