-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update to 1.2 #5
Comments
Hi! We have been working on this also. Besides the changes you did, we are replacing the custom http and xml libraries for hyper and xml-rs. We got a bit delayed on making some changes to the xmlrpc library (to use the new libs and add some functionality). The xmlrpc library is located here: https://github.com/creativa77/xmlrpc-rs |
cool. In my branch, I think I've updated all the API changes that caused syntactical errors, but now I'm scratching my head over a type lifetime issue that's preventing compilation. Perhaps someone with more Rust experience than I can advise:
|
"H" is the type of the handler function, in this case, "handler_clone". Since this is a move closure, I would expect it to make a new copy of handler_clone anyway, so the lifetime shouldn't matter (I think?). So I'm not sure what is happening here. I only wrote that http stuff because there wasn't a clear good http library when i started. I think that using hyper is the right way to do it. @tulku how well does |
Indeed, I can try integrating xmlrpc-rs if @tulku and co think it's ready
|
Hi! Unfortunately, it is not ready... It's able to start a http server using hyper. I have a client that it is not merged. It has the beginning of a xml request parser, which only passes the one test. Hopefully I'll be able to put more hours into it these days. However, if somebody want to contribute to it, in any way, it's more than welcomed. |
1.2.0 is the latest stable version of Rust.
I started the effort in this branch, though it doesn't currently compile:
https://github.com/jacquelinekay/ros_rust/tree/update_to_1.2
(note: updating this library is my first foray into Rust, so no guarantees that anything I've done is correct!)
The text was updated successfully, but these errors were encountered: