mirror of
https://github.com/OMGeeky/google_youtube.git
synced 2025-12-26 16:17:24 +01:00
add copy and clone trait for PrivacyStatus
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
[package]
|
||||
name = "google_youtube"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
downloader_config = { git = "https://github.com/OMGeeky/downloader_config" }
|
||||
exponential_backoff = { version="0.2", git = "https://github.com/OMGeeky/exponential_backoff" }
|
||||
exponential_backoff = { version = "0.2", git = "https://github.com/OMGeeky/exponential_backoff" }
|
||||
|
||||
google-youtube3 = "5.0.2"
|
||||
|
||||
@@ -29,4 +29,4 @@ yup-oauth2 = { version = "8.1.1", git = "https://github.com/OMGeeky/yup-oauth2",
|
||||
|
||||
[features]
|
||||
default = []
|
||||
tracing = ["dep:tracing","exponential_backoff/tracing", "downloader_config/tracing"]
|
||||
tracing = ["dep:tracing", "exponential_backoff/tracing", "downloader_config/tracing"]
|
||||
|
||||
@@ -40,7 +40,7 @@ impl Debug for YoutubeClient {
|
||||
f.debug_struct("YoutubeClient").finish()
|
||||
}
|
||||
}
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub enum PrivacyStatus {
|
||||
Public,
|
||||
Unlisted,
|
||||
|
||||
Reference in New Issue
Block a user