chore: bump the Dioxus and Diesel CLI (#117)

This commit was merged in pull request #117.
This commit is contained in:
2026-01-24 09:44:33 +00:00
committed by Gitea
4 changed files with 7 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ edition = "2024"
[dependencies] [dependencies]
chrono = { version = "0.4.43", features = ["serde", "unstable-locales"] } chrono = { version = "0.4.43", features = ["serde", "unstable-locales"] }
# Remember to update the CLI as well.
dioxus = { version = "0.7.3", features = ["fullstack", "router"] } dioxus = { version = "0.7.3", features = ["fullstack", "router"] }
# TODO: Remove this once https://github.com/DioxusLabs/dioxus/issues/4765 is resolved. # TODO: Remove this once https://github.com/DioxusLabs/dioxus/issues/4765 is resolved.
dioxus-html = { version = "0.7.3", features = ["serialize"] } dioxus-html = { version = "0.7.3", features = ["serialize"] }
@@ -19,6 +20,7 @@ tracing = "0.1.44"
unic-langid-impl = { version = "0.9.6", features = ["serde"] } unic-langid-impl = { version = "0.9.6", features = ["serde"] }
validator = { version = "0.20.0", features = ["derive"] } validator = { version = "0.20.0", features = ["derive"] }
# Remember to update the CLI as well.
diesel = { version = "2.3.6", features = [ diesel = { version = "2.3.6", features = [
"chrono", "chrono",
"postgres", "postgres",

View File

@@ -6,6 +6,7 @@ services:
networks: networks:
- default - default
- web-server-network - web-server-network
ports: ["8000:80"]
restart: always restart: always
depends_on: ["db"] depends_on: ["db"]

View File

@@ -5,8 +5,8 @@ RUN useradd -m -u 1000 -s /bin/bash app_user \
USER app_user USER app_user
RUN cargo install --git https://github.com/diesel-rs/diesel --rev 2e85ba060d3d70ea605ea58a79b8a435749a7adc --locked diesel_cli \ RUN cargo install --git https://github.com/diesel-rs/diesel --rev 207604888d28a490061698f07a25090438be42fe --locked diesel_cli \
&& cargo install --git https://github.com/DioxusLabs/dioxus --rev 8f8b58ea80ba0ec8057807bcd58fb609f7a5f2b1 --locked dioxus-cli && cargo install --git https://github.com/DioxusLabs/dioxus --rev 22b06badde44ba1af0fcf339c91b66483175b660 --locked dioxus-cli
COPY --chown=app_user . /srv/app COPY --chown=app_user . /srv/app
WORKDIR /srv/app WORKDIR /srv/app

View File

@@ -1,7 +1,7 @@
FROM rust:1.92.0-bookworm@sha256:9676d0547a259997add8f5924eb6b959c589ed39055338e23b99aba7958d6d31 AS builder_base FROM rust:1.92.0-bookworm@sha256:9676d0547a259997add8f5924eb6b959c589ed39055338e23b99aba7958d6d31 AS builder_base
RUN cargo install --git https://github.com/diesel-rs/diesel --rev 2e85ba060d3d70ea605ea58a79b8a435749a7adc --locked diesel_cli \ RUN cargo install --git https://github.com/diesel-rs/diesel --rev 207604888d28a490061698f07a25090438be42fe --locked diesel_cli \
&& cargo install --git https://github.com/DioxusLabs/dioxus --rev 8f8b58ea80ba0ec8057807bcd58fb609f7a5f2b1 --locked dioxus-cli --features disable-telemetry && cargo install --git https://github.com/DioxusLabs/dioxus --rev 22b06badde44ba1af0fcf339c91b66483175b660 --locked dioxus-cli --features disable-telemetry
COPY . /srv/app COPY . /srv/app
WORKDIR /srv/app WORKDIR /srv/app