fpagliughi / rust-industrial-io

Rust interface to the Linux Industrial I/O subsystem
MIT License
44 stars 21 forks source link

Added function `from_uri` to create context from URI #2

Closed knightshrub closed 5 years ago

knightshrub commented 5 years ago

This pull request adds a function from_uri to Context which allows the creation of a IIO context using a URI string. I have updated the error handling such that it doesn't panic and hopefully provides a meaningful error message.

fpagliughi commented 5 years ago

Merged into the 'develop' branch