sqlx: no default features (derive+migrate); drop SQLX_OFFLINE
This commit is contained in:
@@ -1,5 +1,2 @@
|
||||
[env]
|
||||
SQLX_OFFLINE = "true"
|
||||
|
||||
[registries.gitea]
|
||||
index = "sparse+https://git.gabrielkaszewski.dev/api/packages/GKaszewski/cargo/"
|
||||
|
||||
@@ -4,7 +4,7 @@ target/
|
||||
*.db
|
||||
*.db-shm
|
||||
*.db-wal
|
||||
# .cargo and .sqlx are needed at build time (SQLX_OFFLINE mode)
|
||||
# .cargo is needed at build time (registry config)
|
||||
docs/
|
||||
dev.db
|
||||
spa/node_modules/
|
||||
|
||||
@@ -47,10 +47,12 @@ async-trait = "0.1.92"
|
||||
uuid = { version = "1.23.0", features = ["v4", "v5", "serde"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
chrono-tz = "0.10"
|
||||
sqlx = { version = "0.8.6", features = [
|
||||
sqlx = { version = "0.8.6", default-features = false, features = [
|
||||
"runtime-tokio",
|
||||
"sqlite",
|
||||
"uuid",
|
||||
"derive",
|
||||
"migrate",
|
||||
] }
|
||||
rand = "0.9"
|
||||
tempfile = "3"
|
||||
|
||||
Reference in New Issue
Block a user