Skip to content

Commit 7f27836

Browse files
committed
Add feature flags
1 parent 99d96f2 commit 7f27836

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ Examples can be found in [`examples`](./examples).
7272
representations. Useful for mocking. Not enabled by default.
7373
- `tls-openssl`: Enables the `openssl`-based TLS connections. This would make your binary dynamically link to `libssl`.
7474
- `tls-openssl-vendored`: Like `tls-openssl`, however compile openssl from source code and statically link to it.
75+
- `build-server`: Builds a server variant of the etcd protobuf and re-exports it under the same `proto` package as the `pub-response-field` feature does.
7576

7677
## Test
7778

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
//! - `tls`: Enables the `rustls`-based TLS connection. Not enabled by default.
5252
//! - `tls-roots`: Adds system trust roots to `rustls`-based TLS connection using the `rustls-native-certs` crate. Not enabled by default.
5353
//! - `pub-response-field`: Exposes structs used to create regular `etcd-client` responses including internal protobuf representations. Useful for mocking. Not enabled by default.
54+
//! - `tls-openssl`: Enables the `openssl`-based TLS connections. This would make your binary dynamically link to `libssl`.
55+
//! - `tls-openssl-vendored`: Like `tls-openssl`, however compile openssl from source code and statically link to it.
56+
//! - `build-server`: Builds a server variant of the etcd protobuf and re-exports it under the same `proto` package as the `pub-response-field` feature does.
5457
5558
#![cfg_attr(docsrs, feature(doc_cfg))]
5659

0 commit comments

Comments
 (0)