Compare commits
No commits in common. "87614c2a10c30f7d3e4b3cb0f8973d62ffec7916" and "d4d51c64e9225763f6d40a7f450c673ab6e36ddf" have entirely different histories.
87614c2a10
...
d4d51c64e9
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1036,7 +1036,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "soundcloud"
|
||||
version = "0.1.1"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"hyper-util",
|
||||
"regex",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "soundcloud"
|
||||
version = "0.1.1"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "A small rust crate for fetching data from soundcloud without developer account"
|
||||
authors = ["alterwain"]
|
||||
|
@ -1,9 +1,9 @@
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize)]
|
||||
pub struct CloudPlaylists {
|
||||
pub collection: Vec<CloudPlaylist>
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize)]
|
||||
pub struct CloudPlaylist {
|
||||
pub artwork_url: Option<String>,
|
||||
pub description: String,
|
||||
@ -16,7 +16,7 @@ pub struct CloudPlaylist {
|
||||
pub tracks: Vec<CloudTrack>
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize)]
|
||||
pub struct CloudTrack {
|
||||
pub artwork_url: Option<String>,
|
||||
pub created_at: Option<String>,
|
||||
@ -30,12 +30,12 @@ pub struct CloudTrack {
|
||||
pub media: Option<CloudTranscodings>
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize)]
|
||||
pub struct CloudTranscodings {
|
||||
pub transcodings: Vec<CloudTranscoding>
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, Clone)]
|
||||
#[derive(Debug, serde::Deserialize)]
|
||||
pub struct CloudTranscoding {
|
||||
pub duration: u32,
|
||||
pub preset: String,
|
||||
|
Loading…
x
Reference in New Issue
Block a user