mirror of
https://github.com/TeamPiped/piped-rust-sdk.git
synced 2024-08-14 23:56:06 +00:00
Update deps and add some fields.
This commit is contained in:
parent
5654524e72
commit
125fdee6c2
4 changed files with 20 additions and 16 deletions
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue