Compare commits

..

No commits in common. "c059da9d7310563c71bd7c8cdd0340a1b1e33849" and "f090fbafe73f4a1711f84c3576098c8e01d8f37a" have entirely different histories.

2 changed files with 4 additions and 3 deletions

View file

@ -6,8 +6,8 @@ edition = "2024"
[dependencies]
actix-web = "4.10"
serde = { version = "1.0.219", features = ["derive"] }
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-native-tls", "postgres"] }
toml = "0.8"
sqlx = "0.8"
toml = "0.8.21"
url = { version = "2.5.4", features = ["serde"] }
[dependencies.tokio]

View file

@ -1,6 +1,8 @@
use serde::Deserialize;
use tokio::fs::read_to_string;
use crate::Error;
use url::Url;
#[derive(Debug, Deserialize)]
pub struct ConfigBuilder {
@ -13,7 +15,6 @@ pub struct Database {
username: String,
password: String,
hostname: String,
database: String,
port: u16
}