Compare commits
4 commits
f090fbafe7
...
c059da9d73
Author | SHA1 | Date | |
---|---|---|---|
c059da9d73 | |||
5881b5f058 | |||
aa92de3f3e | |||
27c735cf79 |
2 changed files with 3 additions and 4 deletions
|
@ -6,8 +6,8 @@ edition = "2024"
|
|||
[dependencies]
|
||||
actix-web = "4.10"
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
sqlx = "0.8"
|
||||
toml = "0.8.21"
|
||||
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-native-tls", "postgres"] }
|
||||
toml = "0.8"
|
||||
url = { version = "2.5.4", features = ["serde"] }
|
||||
|
||||
[dependencies.tokio]
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
use serde::Deserialize;
|
||||
use tokio::fs::read_to_string;
|
||||
use crate::Error;
|
||||
use url::Url;
|
||||
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct ConfigBuilder {
|
||||
|
@ -15,6 +13,7 @@ pub struct Database {
|
|||
username: String,
|
||||
password: String,
|
||||
hostname: String,
|
||||
database: String,
|
||||
port: u16
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue