Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
455 changes: 288 additions & 167 deletions Cargo.lock

Large diffs are not rendered by default.

24 changes: 17 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,34 @@ panic = "abort"
codegen-units = 2

[dependencies]
sqlx = { package = "sqlx-oldapi", version = "0.6.56", default-features = false, features = [
"any",
"runtime-tokio-rustls",
sqlx = { version = "0.9.0", default-features = false, features = [
"runtime-tokio",
"tls-rustls",
"migrate",
"sqlite",
"sqlite-load-extension",
"postgres",
"mysql",
"mssql",
"odbc",
"chrono",
"bigdecimal",
"json",
"uuid",
] }
sqlx-sqlserver = { version = "0.0.3", features = [
"bigdecimal",
"chrono",
"migrate",
"uuid",
] }
sqlx-odbc = { version = "0.0.1", features = ["runtime-tokio"] }
# sqlx-sqlserver currently uses native-tls. Enable vendored OpenSSL so Docker cross-builds
# do not depend on target-architecture OpenSSL development packages.
openssl = { version = "0.10", features = ["vendored"] }
libsqlite3-sys = "0.37"
chrono = "0.4.23"
actix-web = { version = "4", features = ["rustls-0_23", "cookies"] }
percent-encoding = "2.2.0"
url = "2"
handlebars = "6.2.0"
log = "0.4.17"
mime_guess = "2.0.4"
Expand Down Expand Up @@ -77,7 +88,6 @@ clap = { version = "4.5.17", features = ["derive"] }
tokio-util = "0.7.12"
openidconnect = { version = "4.0.0", default-features = false, features = ["accept-rfc3339-timestamps"] }
encoding_rs = "0.8.35"
odbc-sys = { version = "0", optional = true }
regex = "1"

# OpenTelemetry / tracing
Expand All @@ -95,7 +105,7 @@ opentelemetry-semantic-conventions = { version = "0.32", features = ["semconv_ex

[features]
default = []
odbc-static = ["odbc-sys", "odbc-sys/vendored-unix-odbc"]
odbc-static = ["sqlx-odbc/vendored-unix-odbc"]
lambda-web = ["dep:lambda-web", "odbc-static"]

[dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions scripts/setup-cross-compilation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ BUILDARCH="$2"
BINDGEN_EXTRA_CLANG_ARGS=""

apt-get update
apt-get install -y perl

if [ "$TARGETARCH" = "$BUILDARCH" ]; then
TARGET="$(rustup target list --installed | head -n1)"
Expand Down
Loading