Coder Social home page Coder Social logo

Comments (6)

jimmycuadra avatar jimmycuadra commented on June 11, 2024 1

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.

jimmycuadra avatar jimmycuadra commented on June 11, 2024 1

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.

cmdln avatar cmdln commented on June 11, 2024

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.

cmdln avatar cmdln commented on June 11, 2024

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.

cmdln avatar cmdln commented on June 11, 2024

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.

cmdln avatar cmdln commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.