docs.rs failed to build etcd-client-0.10.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
etcd-client-0.12.4
etcd-client
An etcd v3 API client for Rust. It provides asynchronous client backed by tokio and tonic.
Features
- etcd API v3
- asynchronous
Supported APIs
- KV
- Watch
- Lease
- Auth
- Maintenance
- Cluster
- Lock
- Election
Usage
Add this to your Cargo.toml
:
[]
= "0.10"
= { = "1.0", = ["full"] }
To get started using etcd-client
:
use ;
async
Examples
Examples can be found in examples
.
Feature Flags
tls
: Enables therustls
-based TLS connection. Not enabled by default.tls-roots
: Adds system trust roots torustls
-based TLS connection using therustls-native-certs
crate. Not enabled by default.pub-response-field
: Exposes structs used to create regularetcd-client
responses including internal protobuf representations. Useful for mocking. Not enabled by default.tls-openssl
: Enables theopenssl
-based TLS connections. This would make your binary dynamically link tolibssl
.tls-openssl-vendored
: Liketls-openssl
, however compile openssl from source code and statically link to it.
Test
We test this library with etcd 3.5.
Notes that we use a fixed etcd
server URI (localhost:2379) to connect to etcd server.
Rust version requirements
The minimum supported version is 1.56. The current etcd-client
version is not guaranteed to build on Rust versions earlier than the minimum supported version.
License
This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in etcd-client
by you, shall be licensed as MIT, without any additional
terms or conditions.