amtk 0.1.0

decrypts data from the maps.amtrak.com endpoints
Documentation
1
2
3
4
5
6
7
8
9
use std::{env, fs};
use amtk::decrypt;

fn main() {
    let p = env::args().nth(1).expect("pass a path");
    let d = fs::read_to_string(p).expect("can't read");
    
    println!("{}", decrypt(&d).expect("decryption error"));
}