Comments (6)
You're not missing anything—the auth API just hasn't been implemented yet. It's mentioned in the crate docs, but not in the README. Sorry that wasn't more clear!
from rust-etcd.
I finished implementing the auth API a week ago, but still need to flesh out the docs and examples before I publish another version to crates.io. If you want to use the Git master now, you'll be fine. There won't be any more changes to the public API before the release.
from rust-etcd.
https://coreos.com/etcd/docs/latest/v2/auth_api.html
Seems like since for my use I have to use Client::custom
for now I can execute a few requests with the hyper Client
instance. Regardless, it would be nice to have the auth API included, especially since the members API is already included.
from rust-etcd.
Thanks for clarifying. I have something workable, for now, as I mentioned, and will wait to see this implement in due course. Thanks again for this fantastic crate--I am just now catching up with the hyper 0.11 changes. Thankfully I had done some work with the tokio based version in another project so everything here feels pretty comfortable and idiomatic to tokio and futures.
from rust-etcd.
Excellent, thank you! I will update my dep to point to master, tomorrow, and start re-working my hyper based REST calls to use your API instead.
from rust-etcd.
Works well for me--I await the new version to hit crates.io and the updated docs.
Thanks again!
from rust-etcd.
Related Issues (14)
- Mimic --forever option of etcdctl watch HOT 2
- Build failure under Rust 0.11.0 HOT 3
- Support for etcd3 HOT 16
- Multithread support HOT 2
- Connection leak from watch timeout. HOT 5
- watch_recursive test is not deterministic HOT 1
- There is no isLeader attribute in the result of member list HOT 2
- 0.9.0 does not with tokio 1.x
- Allow using certificates to connect to the cluster.
- Relicense under dual MIT/Apache-2.0
- etcd 2.2 HOT 3
- build fails to resolve syntex::Registry HOT 1
- Any way to cancel watch? HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-etcd.