smart_open 0.1.3

opens files for reading.
Documentation
1
2
3
4
5
6
extern crate smart_open as sm;

pub fn main() {
    let text = sm::smart_open("tests/foo.txt").unwrap();
    println!("{}", text);
}