Update deps and add some fields.

This commit is contained in:
FireMaskterK 2021-10-04 12:55:06 +01:00
parent 5654524e72
commit 125fdee6c2
4 changed files with 20 additions and 16 deletions

View file

@ -6,8 +6,8 @@ version = "0.0.0"
[dev-dependencies]
piped = {path = "../piped"}
reqwest = "0.11.3"
tokio = {version = "1.5.0", features = ["macros", "rt-multi-thread"]}
reqwest = "0.11.4"
tokio = {version = "1.12.0", features = ["macros", "rt-multi-thread"]}
[[example]]
name = "channel"

View file

@ -12,7 +12,7 @@ async fn main() {
let client = PipedClient::new(httpclient, instance);
let streams = client.get_trending().await.unwrap();
let streams = client.get_trending("US".to_string()).await.unwrap();
println!("{:?}", streams);
}