|
20 | 20 | //! implementation based on [`hyper`], [`tower`] and [`tokio`]. Enabled by default. |
21 | 21 | //! - `codegen`: Enables all the required exports and optional dependencies required |
22 | 22 | //! for [`tonic-build`]. Enabled by default. |
23 | | -//! - `openssl`: Enables the `openssl` based tls options for the `transport` feature`. Not |
| 23 | +//! - `tls`: Enables the `ruslts` based TLS options for the `transport` feature`. Not |
24 | 24 | //! enabled by default. |
25 | | -//! - `openssl-roots`: Adds system trust roots to `openssl`-based gRPC clients using the |
26 | | -//! `openssl-probe` crate. Not enabled by default. `openssl` must be enabled to use |
27 | | -//! `openssl-roots`. |
28 | | -//! - `rustls`: Enables the `ruslts` based tls options for the `transport` feature`. Not |
29 | | -//! enabled by default. |
30 | | -//! - `rustls-roots`: Adds system trust roots to `rustls`-based gRPC clients using the |
31 | | -//! `rustls-native-certs` crate. Not enabled by default. `rustls` must be enabled to use |
32 | | -//! `rustls-roots`. |
| 25 | +//! - `tls-roots`: Adds system trust roots to `rustls`-based gRPC clients using the |
| 26 | +//! `rustls-native-certs` crate. Not enabled by default. `tls` must be enabled to use |
| 27 | +//! `tls-roots`. |
33 | 28 | //! - `prost`: Enables the [`prost`] based gRPC [`Codec`] implementation. |
34 | 29 | //! |
35 | 30 | //! # Structure |
|
48 | 43 | //! and [`Server`]. These implementations are built on top of [`tokio`], [`hyper`] and [`tower`]. |
49 | 44 | //! It also provides many of the features that the core gRPC libraries provide such as load balancing, |
50 | 45 | //! tls, timeouts, and many more. This implementation can also be used as a reference implementation |
51 | | -//! to build even more feature rich clients and servers. This module also provides the ability to choose |
52 | | -//! between [`rustls`] and [`openssl`] for the tls backend. |
| 46 | +//! to build even more feature rich clients and servers. This module also provides the ability to |
| 47 | +//! enable TLS using [`rustls`], via the `tls` feature flag. |
53 | 48 | //! |
54 | 49 | //! [gRPC]: https://grpc.io |
55 | 50 | //! [`tonic`]: https://github.com/hyperium/tonic |
|
63 | 58 | //! [`Channel`]: transport/struct.Channel.html |
64 | 59 | //! [`Server`]: transport/struct.Server.html |
65 | 60 | //! [`rustls`]: https://docs.rs/rustls |
66 | | -//! [`openssl`]: https://www.openssl.org |
67 | 61 | //! [`client`]: client/index.html |
68 | 62 | //! [`transport`]: transport/index.html |
69 | 63 |
|
|
0 commit comments