Skip to content

Commit

Permalink
sqlx: enable feature depending on db impl
Browse files Browse the repository at this point in the history
  • Loading branch information
gauteh committed Jan 27, 2025
1 parent 76b0154 commit 6d7ff75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sfy-data/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ bytes = "1.1.0"
futures-util = "0.3.18"
serde_json = "1.0.72"
sanitize-filename = "0.3.0"
sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls", "sqlite", "postgres", "any", "macros", "migrate", "offline", "chrono" ] }
sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls", "any", "macros", "migrate", "offline", "chrono" ] }
percent-encoding = "2.1.0"
base64 = "0.13.0"

[features]
sqlite = []
postgres = []
sqlite = [ "sqlx/sqlite" ]
postgres = [ "sqlx/postgres" ]
default = ["sqlite"]

0 comments on commit 6d7ff75

Please sign in to comment.