Bump version & update simple.toml with the newest template

This commit is contained in:
OMGeeky
2023-09-18 18:42:31 +02:00
parent 947cc4a2fa
commit edf8e09d69
3 changed files with 54 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "backup-config"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -82,7 +82,7 @@ pub struct Youtube {
/// The default tags to use for youtube videos.
///
/// can be overridden per user
#[config(default = "[]")]
#[config(default = [])]
pub default_tags: Vec<String>,
/// The default description template to use for youtube videos.
///

View File

@@ -71,3 +71,55 @@ client_secret = "YOUR_CLIENT_SECRET_HERE"
#
# Default value: "twitchbackup-1"
#project_id = "twitchbackup-1"
[google.youtube]
# The path to the client secret file for the youtube API
#
# Default value: "auth/youtube_client_secret.json"
#client_secret_path = "auth/youtube_client_secret.json"
# The default tags to use for youtube videos.
#
# can be overridden per user
#
# Default value: []
#default_tags = []
# The default description template to use for youtube videos.
#
# can be overridden per user
#
#
# Default value: "test description for \"$$video_title$$\""
#default_description_template = "test description for \"$$video_title$$\""
# The default for the targeted duration (in minutes) a youtube video should be.
#
# If the video is longer than the hard cap it will be split so
# each part except for the last will have the length of the soft cap.
#
# can be overridden per user
#
# Default value: 300
#default_video_length_minutes_soft_cap = 300
# The default for the maximum duration (in minutes) a youtube video should be.
#
# If the video is longer than this, it will be split into multiple
# videos (each besides the last the length of the soft cap).
#
# can be overridden per user
#
# Default value: 359
#default_video_length_minutes_hard_cap = 359
[google.bigquery]
# The path to the service account file for the BigQuery API
#
# Default value: "auth/bigquery_service_account.json"
#service_account_path = "auth/bigquery_service_account.json"
# The dataset ID for the BigQuery dataset
#
# Default value: "backup_data"
#dataset_id = "backup_data"