ap_manual 0.2.0

A rust package to cannonically interact with manual AP worlds
Documentation
#[cfg(feature="file_io")]
mod test{
    use std::{fs::File, io};
    use ap_manual::{game, location, ItemOrList, *};
    #[test]
    fn read(){
        let f=File::open("./tests/manual_celestestrawberryjam_gregovin.zip").unwrap();
        let o =apworld_writer::read_apworld(f).unwrap();
        assert_eq!(o.game.game,"CelesteStrawberryJam");
    }
    #[test]
    #[cfg(feature="test_write")]
    fn write(){
        let tst = APWorld::simple(game::Game::builder()
            .with_creator("gregovin".to_string())
            .with_game("CelesteStrawberryJam".to_string())
            .with_filler_item_name("Filler".to_string())
        ).with_region("start".to_string(),region::Region{
            requires: ItemOrList::default(),
            connects_to: vec![],
            starting: true,
            exit_requires: ItemOrList::default(),
            entrance_requires: ItemOrList::default()
        }).with_item(item::Item::new("Strawberry".to_string()).as_useful())
        .with_location(location::Location::builder("test".to_string()).with_region("start".to_string()));
        let f=File::create("./tests/manual_celesteTEST.apworld").unwrap();
        apworld_writer::write_apworld(f,"manual_celesteTEST",&tst,zip::CompressionMethod::Deflated).unwrap();
    }
}