about summary refs log tree commit diff
path: root/kittybox-rs/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/Cargo.toml')
-rw-r--r--kittybox-rs/Cargo.toml11
1 files changed, 8 insertions, 3 deletions
diff --git a/kittybox-rs/Cargo.toml b/kittybox-rs/Cargo.toml
index 16b617e..8c1497d 100644
--- a/kittybox-rs/Cargo.toml
+++ b/kittybox-rs/Cargo.toml
@@ -7,13 +7,14 @@ default-run = "kittybox"
 autobins = false
 
 [features]
-default = ["rustls"]
+default = ["rustls", "postgres"]
 #util = ["anyhow"]
 #migration = ["util"]
 webauthn = ["openssl", "dep:webauthn"]
-openssl = ["reqwest/native-tls-vendored", "reqwest/native-tls-alpn"]
-rustls = ["reqwest/rustls-tls-webpki-roots"]
+openssl = ["reqwest/native-tls-crate", "reqwest/native-tls-alpn", "sqlx/runtime-tokio-native-tls"]
+rustls = ["reqwest/rustls-tls-webpki-roots", "sqlx/runtime-tokio-rustls"]
 cli = ["clap"]
+postgres = ["sqlx", "kittybox-util/sqlx"]
 
 [[bin]]
 name = "kittybox"
@@ -139,3 +140,7 @@ features = ["derive"]
 optional = true
 [dependencies.thiserror]
 version = "1.0.35"
+[dependencies.sqlx]
+version = "0.6"
+features = ["uuid", "chrono", "json", "postgres"]
+optional = true
\ No newline at end of file