Files
artcraft/crates/lib/sqlite_queries/Cargo.toml
Brandon Thomas bd4644098f Upgrade sqlx to latest (0.7.2)
Hypothetically this unblocks native rustls over IP address. If so, we
can drop native OpenSSL and Ubuntu packages and make a much simpler
build.

See this issue:
https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828

Had to deal with a few migration issues,

- changes to transactor types:
  https://github.com/launchbadge/sqlx/issues/2606

- changes to sqlx_core that impacted our serialization/deserialization macros
2023-11-19 23:25:52 -05:00

40 lines
1002 B
TOML

[package]
name = "sqlite_queries"
edition = "2018"
version = "0.0.1"
authors = [
"Brandon Thomas <bt@brand.io>",
"Brandon Thomas <echelon@gmail.com>",
]
publish = false
[lib]
name = "sqlite_queries"
path = "src/lib.rs"
[dependencies]
# Internal
enums = { path = "../../_types/enums" }
errors = { path = "../../lib/errors" }
tokens = { path = "../../_types/tokens" }
# External
chrono = { version = "=0.4.22", features = ["serde"] }
dotenv = "0.15.0"
log = "0.4.14"
# Needed to safety check some queries we can't use escaping for
once_cell = "1.9.0"
regex = "1.5.4"
# SQlite Database
# "offline" supports typesafe builds without a live database
# "rustls" doesn't appear to work with IP addresses, per:
# https://github.com/launchbadge/sqlx/issues/1095#issuecomment-798050828
# ^^^ Granted, this applies to *MySQL* and probably not SQLite for our use case here ^^^
sqlx = { version = "0.7.2", features = [ "sqlite", "runtime-tokio-native-tls", "chrono" ] }
[dev-dependencies]
# None yet