Rick And Morty Rust Helper

This is a rust crate for working with the rick and morty api here. Primarily a learning (rust) experience for me. Contributions welcome!


Usage

```rust extern crate rickandmorty as rm;

async fn get_character() -> () { let c = rm::character::get(1).await; match c { Ok(res) => println!("{:?}", res), Err(e) => println!("{:?}", e), } } ```

```rust extern crate rickandmorty as rm;

async fn getcharacters() -> () { let c = rm::character::getall().await; match c { Ok(res) => println!("{:?}", res), Err(e) => println!("{:?}", e), } }

```

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.