//! Index a normal text file and read a given line directly
useindexed_file::{Indexable, ReadByLine};fnmain(){// Open and index file
letmut file =indexed_file::File::open_raw("<some unindexed file>").unwrap();// Get line count efficiently without reading the entire file
let _line_count = file.total_lines();// Read line 30
let _line_30 = file.read_line(30).unwrap();}