modified: Cargo.lock
modified: Cargo.toml modified: src/lib.rs
This commit is contained in:
parent
41510cba17
commit
22f02cfa43
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1036,7 +1036,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "soundcloud"
|
name = "soundcloud"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hyper-util",
|
"hyper-util",
|
||||||
"regex",
|
"regex",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "soundcloud"
|
name = "soundcloud"
|
||||||
version = "0.1.3"
|
version = "0.1.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "A small rust crate for fetching data from soundcloud without developer account"
|
description = "A small rust crate for fetching data from soundcloud without developer account"
|
||||||
authors = ["alterwain"]
|
authors = ["alterwain"]
|
||||||
|
@ -64,8 +64,6 @@ pub async fn get_app() -> Result<Option<String>, Box<dyn Error>> {
|
|||||||
.text()
|
.text()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
println!("Resp: {}", resp);
|
|
||||||
|
|
||||||
let json: serde_json::Value = serde_json::from_str(&resp).expect("JSON was not well-formatted");
|
let json: serde_json::Value = serde_json::from_str(&resp).expect("JSON was not well-formatted");
|
||||||
|
|
||||||
Ok(
|
Ok(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user