Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign high-level API #5

Open
panicbit opened this issue Oct 29, 2018 · 1 comment
Open

Redesign high-level API #5

panicbit opened this issue Oct 29, 2018 · 1 comment

Comments

@panicbit
Copy link
Member

The original API has been written a few years ago when I was still getting started with Rust, so it probably doesn't reflect past or current best practices.

Ontop of that, the API currently only covers basic usage.

@lutter
Copy link
Member

lutter commented Oct 30, 2018

I agree with that sentiment.

What I'd like to get to is a lower level API, that's a pretty direct translation of the C API (along the lines of PR #10, though I am not sure how rustaceous that is) and a more comfortable API for traversing the tree along the lines of what I did in mruby That should internally still be based on string paths, but it will require something like an Rc<Augeas> to get memory management right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants