Skip to content

Commit

Permalink
Some minor dependencies updated
Browse files Browse the repository at this point in the history
  • Loading branch information
felipet committed Jan 16, 2025
1 parent 39ca13f commit e3bbc23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
config = { version = "0.14", features = ["yaml"] }
secrecy = { version = "0.8", features = ["serde"] }
serde = { version = "1.0.200", features = ["serde_derive"] }
config = { version = "0.15.6", features = ["yaml"] }
secrecy = { version = "0.10.3", features = ["serde"] }
serde = { version = "1.0.217", features = ["serde_derive"] }
teloxide = { version = "0.12.2", features = ["macros", "ctrlc_handler"] }
tokio = {version = "1.8", features = ["rt-multi-thread", "macros"]}
serde_derive = "1.0"
tracing = { version = "0.1", features = ["log"] }
tracing-subscriber = "0.3.0"
pretty_assertions = "1.4.0"
rstest = "0.24.0"
toml = "0.8.11"
toml = "0.8.19"
scraper = "0.18.1"
date-rs = "0.1.2"
reqwest = { version = "0.12.4", features = ["json"] }
thiserror = "1.0.61"
thiserror = "2.0.11"
4 changes: 2 additions & 2 deletions src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//! are meant to be used within this module shall use the prefix _SHORTBOT_.
use config::{Config, ConfigError, Environment, File};
use secrecy::Secret;
use secrecy::SecretString;
use serde_derive::Deserialize;

/// Name of the directory in which configuration files will be stored.
Expand All @@ -52,7 +52,7 @@ pub struct Settings {
#[derive(Debug, Deserialize)]
#[allow(unused)]
pub struct ApplicationSettings {
pub api_token: Secret<String>,
pub api_token: SecretString,
}

impl Settings {
Expand Down

0 comments on commit e3bbc23

Please sign in to comment.