2 Commits

Author SHA1 Message Date
6e260f85fd style: skip the checkov healthcheck policy
Some checks failed
actionlint check / actionlint check (pull_request) Successful in 5s
Rust check / Rust check (pull_request) Successful in 15m19s
ShellCheck check / ShellCheck check (pull_request) Failing after 14s
checkov check / checkov check (pull_request) Successful in 49s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 4s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 2s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 5s
GitLeaks check / GitLeaks check (pull_request) Successful in 6s
hadolint check / hadolint check (pull_request) Successful in 7s
htmlhint check / htmlhint check (pull_request) Successful in 9s
markdownlint check / markdownlint check (pull_request) Successful in 9s
Prettier check / Prettier check (pull_request) Successful in 11s
Stylelint check / Stylelint check (pull_request) Successful in 14s
yamllint check / yamllint check (pull_request) Successful in 13s
2025-01-03 11:04:51 +01:00
19be0884d0 refactor: build development Tailwind CSS in a separate Docker service
Some checks failed
actionlint check / actionlint check (pull_request) Successful in 8s
checkov check / checkov check (pull_request) Failing after 1m15s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 7s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 3s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 9s
GitLeaks check / GitLeaks check (pull_request) Successful in 13s
hadolint check / hadolint check (pull_request) Successful in 12s
htmlhint check / htmlhint check (pull_request) Successful in 22s
markdownlint check / markdownlint check (pull_request) Successful in 22s
Prettier check / Prettier check (pull_request) Successful in 23s
Rust check / Rust check (pull_request) Successful in 15m59s
ShellCheck check / ShellCheck check (pull_request) Failing after 18s
Stylelint check / Stylelint check (pull_request) Successful in 11s
yamllint check / yamllint check (pull_request) Successful in 15s
2025-01-03 10:41:36 +01:00
17 changed files with 607 additions and 862 deletions

View File

@ -1,11 +1,12 @@
/.git /.dioxus/
/.github /.git/
/node_modules /.github/
/target /debug/
/node_modules/
/static/
/target/
.dockerignore .dockerignore
/docker-compose-dev.yaml /docker-compose-dev.yml
/docker-compose-prod.yaml /docker-compose-prod.yml
/docker-compose.yaml
/docker/dev/*/Dockerfile /docker/dev/*/Dockerfile
/docker/prod/*/Dockerfile /docker/prod/*/Dockerfile

View File

@ -21,9 +21,9 @@ jobs:
run: > run: >
apt-get update && apt-get install -y apt-get update && apt-get install -y
libgtk-3-dev=3.24.33-1ubuntu2.2 libgtk-3-dev=3.24.33-1ubuntu2.2
libjavascriptcoregtk-4.1-dev=2.46.5-0ubuntu0.22.04.1 libjavascriptcoregtk-4.1-dev=2.46.4-0ubuntu0.22.04.1
libsoup-3.0-dev=3.0.7-0ubuntu1 libsoup-3.0-dev=3.0.7-0ubuntu1
libwebkit2gtk-4.1-dev=2.46.5-0ubuntu0.22.04.1 libwebkit2gtk-4.1-dev=2.46.4-0ubuntu0.22.04.1
libxdo-dev=1:3.20160805.1-4 libxdo-dev=1:3.20160805.1-4
- name: Rust toolchain installation - name: Rust toolchain installation
uses: dtolnay/rust-toolchain@0579bb9e1907e560c2f263f705f93655a44a07e5 uses: dtolnay/rust-toolchain@0579bb9e1907e560c2f263f705f93655a44a07e5

View File

@ -25,10 +25,4 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: ShellCheck check - name: ShellCheck check
# https://www.shellcheck.net/wiki/Recursiveness # https://www.shellcheck.net/wiki/Recursiveness
run: | run: find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
if find . -type f -name "*.sh" -print0 | grep -qz .; then
find . -type f -name "*.sh" -print0 | xargs -0 shellcheck
exit 0
else
echo "No shell scripts found. Skipping ShellCheck."
fi

17
.gitignore vendored
View File

@ -1,9 +1,12 @@
/node_modules /target/
/target /dist/
/static/
/.dioxus/
/node_modules/
/**/*.rs.bk **/*.rs.bk
/.DS_Store
/.env
/.env.prod
/docker-compose.yaml .env
.env.prod
docker-compose.yaml

View File

@ -1,63 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<HTMLCodeStyleSettings>
<option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
</HTMLCodeStyleSettings>
<JSCodeStyleSettings version="0">
<option name="FORCE_SEMICOLON_STYLE" value="true" />
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
<option name="FORCE_QUOTE_STYlE" value="true" />
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
<option name="SPACES_WITHIN_IMPORTS" value="true" />
</JSCodeStyleSettings>
<TypeScriptCodeStyleSettings version="0">
<option name="FORCE_SEMICOLON_STYLE" value="true" />
<option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
<option name="FORCE_QUOTE_STYlE" value="true" />
<option name="ENFORCE_TRAILING_COMMA" value="Remove" />
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
<option name="SPACES_WITHIN_IMPORTS" value="true" />
</TypeScriptCodeStyleSettings>
<VueCodeStyleSettings>
<option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
<option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
</VueCodeStyleSettings>
<codeStyleSettings language="HTML">
<option name="SOFT_MARGINS" value="80" />
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="JavaScript">
<option name="SOFT_MARGINS" value="80" />
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="Markdown">
<option name="RIGHT_MARGIN" value="80" />
</codeStyleSettings>
<codeStyleSettings language="TypeScript">
<option name="SOFT_MARGINS" value="80" />
<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="2" />
<option name="TAB_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="Vue">
<option name="SOFT_MARGINS" value="80" />
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="2" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="yaml">
<option name="SOFT_MARGINS" value="80" />
</codeStyleSettings>
</code_scheme>
</component>

View File

@ -1,5 +0,0 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="dataSourceStorageLocal" created-in="RR-243.23654.116"> <component name="dataSourceStorageLocal" created-in="RR-243.22562.230">
<data-source name="todo_baggins@localhost" uuid="1658668c-c2b8-426d-a22f-16fbad9eff0b"> <data-source name="todo_baggins@localhost" uuid="1658668c-c2b8-426d-a22f-16fbad9eff0b">
<database-info product="PostgreSQL" version="16.4 (Debian 16.4-1.pgdg120+1)" jdbc-version="4.2" driver-name="PostgreSQL JDBC Driver" driver-version="42.6.0" dbms="POSTGRES" exact-version="16.4" exact-driver-version="42.6"> <database-info product="PostgreSQL" version="16.4 (Debian 16.4-1.pgdg120+1)" jdbc-version="4.2" driver-name="PostgreSQL JDBC Driver" driver-version="42.6.0" dbms="POSTGRES" exact-version="16.4" exact-driver-version="42.6">
<identifier-quote-string>&quot;</identifier-quote-string> <identifier-quote-string>&quot;</identifier-quote-string>

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +1,2 @@
#n:public #n:public
!<md> [946, 0, null, null, -2147483648, -2147483648] !<md> [785, 0, null, null, -2147483648, -2147483648]

2
.idea/sqldialects.xml generated
View File

@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="SqlDialectMappings"> <component name="SqlDialectMappings">
<file url="file://$PROJECT_DIR$/migrations/00000000000000_diesel_initial_setup/down.sql" dialect="GenericSQL" />
<file url="file://$PROJECT_DIR$/migrations/00000000000000_diesel_initial_setup/up.sql" dialect="PostgreSQL" />
<file url="PROJECT" dialect="PostgreSQL" /> <file url="PROJECT" dialect="PostgreSQL" />
</component> </component>
</project> </project>

241
Cargo.lock generated
View File

@ -500,7 +500,7 @@ dependencies = [
"glib", "glib",
"libc", "libc",
"once_cell", "once_cell",
"thiserror 1.0.63", "thiserror",
] ]
[[package]] [[package]]
@ -690,9 +690,9 @@ dependencies = [
[[package]] [[package]]
name = "const-serialize" name = "const-serialize"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08259976d62c715c4826cb4a3d64a3a9e5c5f68f964ff6087319857f569f93a6" checksum = "26cbdf356b126a2e8bb11ca4665b9a32847de4207345d7c8a2778b5fba3e1e5b"
dependencies = [ dependencies = [
"const-serialize-macro", "const-serialize-macro",
"serde", "serde",
@ -700,9 +700,9 @@ dependencies = [
[[package]] [[package]]
name = "const-serialize-macro" name = "const-serialize-macro"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04382d0d9df7434af6b1b49ea1a026ef39df1b0738b1cc373368cf175354f6eb" checksum = "f82bbc5425ac9ef9a7f8705222dcd18ffb20420d7238f22d7c30d7c6b6fe4381"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -984,9 +984,9 @@ dependencies = [
[[package]] [[package]]
name = "diesel" name = "diesel"
version = "2.2.7" version = "2.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "04001f23ba8843dc315804fa324000376084dfb1c30794ff68dd279e6e5696d5" checksum = "ccf1bedf64cdb9643204a36dd15b19a6ce8e7aa7f7b105868e9f1fad5ffa7d12"
dependencies = [ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"byteorder", "byteorder",
@ -1042,9 +1042,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus" name = "dioxus"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60a247114500f1a78e87022defa8173de847accfada8e8809dfae23a118a580c" checksum = "a2ce361786137509f7fbf6326d1029b8fef6c959650ea0ba587fcf379e593e14"
dependencies = [ dependencies = [
"dioxus-cli-config", "dioxus-cli-config",
"dioxus-config-macro", "dioxus-config-macro",
@ -1066,23 +1066,22 @@ dependencies = [
"dioxus-web", "dioxus-web",
"manganis", "manganis",
"serde", "serde",
"warnings",
] ]
[[package]] [[package]]
name = "dioxus-cli-config" name = "dioxus-cli-config"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdd16948f1ffdb068dd9a64812158073a4250e2af4e98ea31fdac0312e6bce86" checksum = "36c11a6723d6d0e8cfce29f0ed6d462f296054153c3dd5df0c8783d19477d1e8"
dependencies = [ dependencies = [
"wasm-bindgen", "wasm-bindgen",
] ]
[[package]] [[package]]
name = "dioxus-config-macro" name = "dioxus-config-macro"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75cbf582fbb1c32d34a1042ea675469065574109c95154468710a4d73ee98b49" checksum = "183e101722209bd00d560f3f20867fedf0b3545496066b7c167cbc1d5aa6a352"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1090,9 +1089,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-core" name = "dioxus-core"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c03f451a119e47433c16e2d8eb5b15bf7d6e6734eb1a4c47574e6711dadff8d" checksum = "d17c829ce7b8ecf750fc107a91c7da972dc9514a1eed1affd406b8c70377ee24"
dependencies = [ dependencies = [
"const_format", "const_format",
"dioxus-core-types", "dioxus-core-types",
@ -1111,9 +1110,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-core-macro" name = "dioxus-core-macro"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "105c954caaaedf8cd10f3d1ba576b01e18aa8d33ad435182125eefe488cf0064" checksum = "abff76b546af9f10e8c601f219a5a172fe95622fab1e098b194daecff9c69ef6"
dependencies = [ dependencies = [
"convert_case 0.6.0", "convert_case 0.6.0",
"dioxus-rsx", "dioxus-rsx",
@ -1124,21 +1123,20 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-core-types" name = "dioxus-core-types"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "91a82fccfa48574eb7aa183e297769540904694844598433a9eb55896ad9f93b" checksum = "1795086b161d3033e5d769a5ee3a8e3d99c23093d24240832dc5733a0af9d585"
dependencies = [ dependencies = [
"once_cell", "once_cell",
] ]
[[package]] [[package]]
name = "dioxus-desktop" name = "dioxus-desktop"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5b0cca3e7a10a4a3df37ea52c4cc7a53e5c9233489e03ee3f2829471fc3099a" checksum = "5275c023606e38ba2f37a85dbbba22ad098c0abc6c26beb42aa1f60112f1c9d4"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"base64",
"cocoa 0.25.0", "cocoa 0.25.0",
"core-foundation 0.9.4", "core-foundation 0.9.4",
"dioxus-cli-config", "dioxus-cli-config",
@ -1172,7 +1170,7 @@ dependencies = [
"signal-hook", "signal-hook",
"slab", "slab",
"tao", "tao",
"thiserror 1.0.63", "thiserror",
"tokio", "tokio",
"tracing", "tracing",
"tray-icon", "tray-icon",
@ -1183,9 +1181,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-devtools" name = "dioxus-devtools"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712a7300f1e8181218187b03502044157eef04e0a25b518117c5ef9ae1096880" checksum = "a2cca475d00152799b2750f26667d75df9da215e2fd6b60ef92589a6e073f286"
dependencies = [ dependencies = [
"dioxus-core", "dioxus-core",
"dioxus-devtools-types", "dioxus-devtools-types",
@ -1199,9 +1197,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-devtools-types" name = "dioxus-devtools-types"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f62434973c0c9c5a3bc42e9cd5e7070401c2062a437fb5528f318c3e42ebf4ff" checksum = "152852a7de4df2fda36767db93d871a6249e1f698ac586cfc6a81373fe81d09f"
dependencies = [ dependencies = [
"dioxus-core", "dioxus-core",
"serde", "serde",
@ -1209,9 +1207,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-document" name = "dioxus-document"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "802a2014d1662b6615eec0a275745822ee4fc66aacd9d0f2fb33d6c8da79b8f2" checksum = "ac82ac2a41f369f6d2d38375aa4004762297e0c9f7039a62484ed0aa24244260"
dependencies = [ dependencies = [
"dioxus-core", "dioxus-core",
"dioxus-core-macro", "dioxus-core-macro",
@ -1228,9 +1226,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-fullstack" name = "dioxus-fullstack"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe99b48a1348eec385b5c4bd3e80fd863b0d3b47257d34e2ddc58754dec5d128" checksum = "f3806e61071c9b4f9efcaa4d2f28a49d1b51be7a2fe53686305b85944d406a72"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"axum", "axum",
@ -1258,7 +1256,7 @@ dependencies = [
"pin-project", "pin-project",
"serde", "serde",
"server_fn", "server_fn",
"thiserror 1.0.63", "thiserror",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tokio-util", "tokio-util",
@ -1272,9 +1270,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-history" name = "dioxus-history"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ae4e22616c698f35b60727313134955d885de2d32e83689258e586ebc9b7909" checksum = "9b2b24b84c384973e41b9a42beefc0535f86b1e58f01a871a27aac3720bfdc72"
dependencies = [ dependencies = [
"dioxus-core", "dioxus-core",
"tracing", "tracing",
@ -1282,9 +1280,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-hooks" name = "dioxus-hooks"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "948e2b3f20d9d4b2c300aaa60281b1755f3298684448920b27106da5841896d0" checksum = "2eb65a083c01d192478106adcf55609bfae4911816065d1f4fa850ed36eea77a"
dependencies = [ dependencies = [
"dioxus-core", "dioxus-core",
"dioxus-signals", "dioxus-signals",
@ -1299,9 +1297,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-html" name = "dioxus-html"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "59c9a40e6fee20ce7990095492dedb6a753eebe05e67d28271a249de74dc796d" checksum = "676541e90fbacd78fb723d5c492fcbbc13c34177d5693b333c913836e7715253"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"dioxus-core", "dioxus-core",
@ -1324,9 +1322,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-html-internal-macro" name = "dioxus-html-internal-macro"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43ba87b53688a2c9f619ecdf4b3b955bc1f08bd0570a80a0d626c405f6d14a76" checksum = "e9f50f698bffea14525f0576f02faa5d926ad31252ba3717c340706bf50a311a"
dependencies = [ dependencies = [
"convert_case 0.6.0", "convert_case 0.6.0",
"proc-macro2", "proc-macro2",
@ -1336,22 +1334,20 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-i18n" name = "dioxus-i18n"
version = "0.4.2" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a97da8c5cbb956baaa8faffeb7ffba342dc8f2dc02f16aeaf9d94708bcf2b221" checksum = "eaa2df724b94e2a93229609951a0570a4b8807215c588e78f88a8532bdde319f"
dependencies = [ dependencies = [
"dioxus-lib", "dioxus-lib",
"fluent", "fluent",
"thiserror 2.0.11",
"unic-langid", "unic-langid",
"walkdir",
] ]
[[package]] [[package]]
name = "dioxus-interpreter-js" name = "dioxus-interpreter-js"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "330707b10ca75cb0eb05f9e5f8d80217cd0d7e62116a8277ae363c1a09b57a22" checksum = "da2716b62d08dbb2e4e4678f67cd7c9f25204b598eb7c0a569050d68fa3f85e6"
dependencies = [ dependencies = [
"dioxus-core", "dioxus-core",
"dioxus-core-types", "dioxus-core-types",
@ -1369,23 +1365,23 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-isrg" name = "dioxus-isrg"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff7e1701a498e214dd0c4a99fdb71c256405fc019a5c91663678ac975dd26ae6" checksum = "465a99ea0c32a0a55d134ae5e18c3149a22a64cc69b86352ff8f6fc5a5e84952"
dependencies = [ dependencies = [
"chrono", "chrono",
"http", "http",
"lru", "lru",
"rustc-hash 1.1.0", "rustc-hash 1.1.0",
"thiserror 1.0.63", "thiserror",
"tracing", "tracing",
] ]
[[package]] [[package]]
name = "dioxus-lib" name = "dioxus-lib"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5405b71aa9b8b0c3e0d22728f12f34217ca5277792bd315878cc6ecab7301b72" checksum = "56c9150858fae1bf2b3b76751ab30a58871a32d265496ddd432011a2c93d1aa4"
dependencies = [ dependencies = [
"dioxus-config-macro", "dioxus-config-macro",
"dioxus-core", "dioxus-core",
@ -1396,14 +1392,13 @@ dependencies = [
"dioxus-html", "dioxus-html",
"dioxus-rsx", "dioxus-rsx",
"dioxus-signals", "dioxus-signals",
"warnings",
] ]
[[package]] [[package]]
name = "dioxus-liveview" name = "dioxus-liveview"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27b78d90b5d593eb39e96d7892d059c085af5ac4c29b4257b22646e37c1c5ef0" checksum = "2dd06f611b0ba282d1777e92178d36d73e5a5334d59cbb51e0e258ace3449c37"
dependencies = [ dependencies = [
"axum", "axum",
"dioxus-cli-config", "dioxus-cli-config",
@ -1420,7 +1415,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"slab", "slab",
"thiserror 1.0.63", "thiserror",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tokio-util", "tokio-util",
@ -1429,9 +1424,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-logger" name = "dioxus-logger"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "545961e752f6c8bf59c274951b3c8b18a106db6ad2f9e2035b29e1f2a3e899b1" checksum = "c0214f450acfdc4265b09790b149bc615bb37cd30c634e0d835b39bc0bcd5223"
dependencies = [ dependencies = [
"console_error_panic_hook", "console_error_panic_hook",
"dioxus-cli-config", "dioxus-cli-config",
@ -1442,11 +1437,10 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-mobile" name = "dioxus-mobile"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d1295388909f427758993f32a571e0f8698d6ce0f125fa0e81b8bfdec3fa952" checksum = "3707cdf4ea0bbd87c783783307dfcf978e3139c8c0fdd41d14d5ed2f3dfe09f2"
dependencies = [ dependencies = [
"dioxus-cli-config",
"dioxus-desktop", "dioxus-desktop",
"dioxus-lib", "dioxus-lib",
"jni", "jni",
@ -1468,9 +1462,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-router" name = "dioxus-router"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7266a76fc9e4a91f56499d1d1aecfff7168952b6627a6008b4e9748d6bf863e4" checksum = "0299dea6f8759eb766ecf79247d50139f4b640056c3e60e8af254ea6921fb60d"
dependencies = [ dependencies = [
"dioxus-cli-config", "dioxus-cli-config",
"dioxus-history", "dioxus-history",
@ -1484,9 +1478,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-router-macro" name = "dioxus-router-macro"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2743ffb79e9a7d33d779c87d6deea2a6c047d0736012f95d63b909b83f0a6fd2" checksum = "149652f16bb41cdcb4477829947bdefd7847660986e7eabaa26fd7bf43acc985"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1496,9 +1490,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-rsx" name = "dioxus-rsx"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3eb588e05800b5a7eb90b2f40fca5bbd7626e823fb5e1ba21e011de649b45aa1" checksum = "85e3b4c24416463629be0b048b0decd9eaf762597a9e8f46ff4bd1113d2e0c1a"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"proc-macro2-diagnostics", "proc-macro2-diagnostics",
@ -1508,9 +1502,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-signals" name = "dioxus-signals"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "10e032dbb3a2c0386ec8b8ee59bc20b5aeb67038147c855801237b45b13d72ac" checksum = "a2c24e8226b7ce0c6921066ebe4218fd999eda1603b9b7ddcfac3b8450614b03"
dependencies = [ dependencies = [
"dioxus-core", "dioxus-core",
"futures-channel", "futures-channel",
@ -1525,9 +1519,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-ssr" name = "dioxus-ssr"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38e1fac097e71ccec4e9e15d44b68393be2981276e42170703180bceb0b6f122" checksum = "a55c587138f97b1406524e6c116e19e623fa7003f22e0d6afe0239c7ef61f119"
dependencies = [ dependencies = [
"askama_escape", "askama_escape",
"dioxus-core", "dioxus-core",
@ -1537,9 +1531,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus-web" name = "dioxus-web"
version = "0.6.3" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e7c12475c3d360058b8afe1b68eb6dfc9cbb7dcd760aed37c5f85c561c83ed1" checksum = "ad30399877d3e7e476a246077fbb9e3e57dd094401174b915dfb8aaf99142f0a"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"ciborium", "ciborium",
@ -1569,9 +1563,9 @@ dependencies = [
[[package]] [[package]]
name = "dioxus_server_macro" name = "dioxus_server_macro"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "371a5b21989a06b53c5092e977b3f75d0e60a65a4c15a2aa1d07014c3b2dda97" checksum = "533109e4635ce1a74d8f1418949585a44aa8cbd953e8f935c23ad4e320962067"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1892,7 +1886,7 @@ version = "0.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a530c4694a6a8d528794ee9bbd8ba0122e779629ac908d15ad5a7ae7763a33d" checksum = "2a530c4694a6a8d528794ee9bbd8ba0122e779629ac908d15ad5a7ae7763a33d"
dependencies = [ dependencies = [
"thiserror 1.0.63", "thiserror",
] ]
[[package]] [[package]]
@ -1985,9 +1979,9 @@ dependencies = [
[[package]] [[package]]
name = "futures-channel" name = "futures-channel"
version = "0.3.31" version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
dependencies = [ dependencies = [
"futures-core", "futures-core",
"futures-sink", "futures-sink",
@ -1995,9 +1989,9 @@ dependencies = [
[[package]] [[package]]
name = "futures-core" name = "futures-core"
version = "0.3.31" version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
[[package]] [[package]]
name = "futures-executor" name = "futures-executor"
@ -2042,9 +2036,9 @@ dependencies = [
[[package]] [[package]]
name = "futures-sink" name = "futures-sink"
version = "0.3.31" version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
[[package]] [[package]]
name = "futures-task" name = "futures-task"
@ -2180,9 +2174,9 @@ dependencies = [
[[package]] [[package]]
name = "generational-box" name = "generational-box"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a673cf4fb0ea6a91aa86c08695756dfe875277a912cdbf33db9a9f62d47ed82b" checksum = "fb0db311f84454bdb16231ecd63da9169d61ad06a3262d44ea9be794dd19bf2d"
dependencies = [ dependencies = [
"parking_lot", "parking_lot",
"tracing", "tracing",
@ -2242,7 +2236,7 @@ dependencies = [
"once_cell", "once_cell",
"pin-project-lite", "pin-project-lite",
"smallvec", "smallvec",
"thiserror 1.0.63", "thiserror",
] ]
[[package]] [[package]]
@ -2278,7 +2272,7 @@ dependencies = [
"memchr", "memchr",
"once_cell", "once_cell",
"smallvec", "smallvec",
"thiserror 1.0.63", "thiserror",
] ]
[[package]] [[package]]
@ -2317,7 +2311,7 @@ dependencies = [
"keyboard-types", "keyboard-types",
"objc", "objc",
"once_cell", "once_cell",
"thiserror 1.0.63", "thiserror",
"windows-sys 0.52.0", "windows-sys 0.52.0",
"x11-dl", "x11-dl",
] ]
@ -2337,7 +2331,7 @@ dependencies = [
"pin-project", "pin-project",
"serde", "serde",
"serde_json", "serde_json",
"thiserror 1.0.63", "thiserror",
"wasm-bindgen", "wasm-bindgen",
"wasm-bindgen-futures", "wasm-bindgen-futures",
"web-sys", "web-sys",
@ -2927,7 +2921,7 @@ dependencies = [
"combine", "combine",
"jni-sys", "jni-sys",
"log", "log",
"thiserror 1.0.63", "thiserror",
"walkdir", "walkdir",
"windows-sys 0.45.0", "windows-sys 0.45.0",
] ]
@ -2982,9 +2976,9 @@ dependencies = [
[[package]] [[package]]
name = "lazy-js-bundle" name = "lazy-js-bundle"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e49596223b9d9d4947a14a25c142a6e7d8ab3f27eb3ade269d238bb8b5c267e2" checksum = "12eae271f2ceba03bc1dc755b5fb224a80382ca480919aa6d58c31eaf269f9b2"
[[package]] [[package]]
name = "lazy_static" name = "lazy_static"
@ -3124,9 +3118,9 @@ dependencies = [
[[package]] [[package]]
name = "manganis" name = "manganis"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "317af44b15e7605b85f04525449a3bb631753040156c9b318e6cba8a3ea4ef73" checksum = "106aa1cb0b0f3ce6828fb1b38bcbd877aeded09e6195f353e4927a3fb8b2b2fb"
dependencies = [ dependencies = [
"const-serialize", "const-serialize",
"manganis-core", "manganis-core",
@ -3135,9 +3129,9 @@ dependencies = [
[[package]] [[package]]
name = "manganis-core" name = "manganis-core"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c38bee65cc725b2bba23b5dbb290f57c8be8fadbe2043fb7e2ce73022ea06519" checksum = "343aa8aca68981a15232c318ff9575dd28c0b6b91a70b7d2881f0a4fdb35176c"
dependencies = [ dependencies = [
"const-serialize", "const-serialize",
"dioxus-cli-config", "dioxus-cli-config",
@ -3147,11 +3141,10 @@ dependencies = [
[[package]] [[package]]
name = "manganis-macro" name = "manganis-macro"
version = "0.6.2" version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9f4f71310913c40174d9f0cfcbcb127dad0329ecdb3945678a120db22d3d065" checksum = "ad7cab3a5a41455854129b4e90a53c204430622d63005891e037d22fc67d92f9"
dependencies = [ dependencies = [
"dunce",
"manganis-core", "manganis-core",
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -3281,7 +3274,7 @@ dependencies = [
"objc", "objc",
"once_cell", "once_cell",
"png", "png",
"thiserror 1.0.63", "thiserror",
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
@ -3301,7 +3294,7 @@ dependencies = [
"objc2-foundation", "objc2-foundation",
"once_cell", "once_cell",
"png", "png",
"thiserror 1.0.63", "thiserror",
"windows-sys 0.59.0", "windows-sys 0.59.0",
] ]
@ -3351,7 +3344,7 @@ dependencies = [
"ndk-sys", "ndk-sys",
"num_enum", "num_enum",
"raw-window-handle 0.6.2", "raw-window-handle 0.6.2",
"thiserror 1.0.63", "thiserror",
] ]
[[package]] [[package]]
@ -4125,7 +4118,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43"
dependencies = [ dependencies = [
"getrandom 0.2.15", "getrandom 0.2.15",
"libredox", "libredox",
"thiserror 1.0.63", "thiserror",
] ]
[[package]] [[package]]
@ -4419,9 +4412,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_json" name = "serde_json"
version = "1.0.138" version = "1.0.134"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" checksum = "d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d"
dependencies = [ dependencies = [
"itoa 1.0.11", "itoa 1.0.11",
"memchr", "memchr",
@ -4447,7 +4440,7 @@ checksum = "0431a35568651e363364210c91983c1da5eb29404d9f0928b67d4ebcfa7d330c"
dependencies = [ dependencies = [
"percent-encoding", "percent-encoding",
"serde", "serde",
"thiserror 1.0.63", "thiserror",
] ]
[[package]] [[package]]
@ -4536,7 +4529,7 @@ dependencies = [
"serde_json", "serde_json",
"serde_qs", "serde_qs",
"server_fn_macro_default", "server_fn_macro_default",
"thiserror 1.0.63", "thiserror",
"tower 0.4.13", "tower 0.4.13",
"tower-layer", "tower-layer",
"url", "url",
@ -4852,9 +4845,9 @@ dependencies = [
[[package]] [[package]]
name = "tao" name = "tao"
version = "0.30.8" version = "0.30.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6682a07cf5bab0b8a2bd20d0a542917ab928b5edb75ebd4eda6b05cbaab872da" checksum = "2a93f2c6b8fdaeb7f417bda89b5bc767999745c3052969664ae1fa65892deb7e"
dependencies = [ dependencies = [
"bitflags 2.6.0", "bitflags 2.6.0",
"cocoa 0.26.0", "cocoa 0.26.0",
@ -4943,16 +4936,7 @@ version = "1.0.63"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
dependencies = [ dependencies = [
"thiserror-impl 1.0.63", "thiserror-impl",
]
[[package]]
name = "thiserror"
version = "2.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc"
dependencies = [
"thiserror-impl 2.0.11",
] ]
[[package]] [[package]]
@ -4966,17 +4950,6 @@ dependencies = [
"syn 2.0.94", "syn 2.0.94",
] ]
[[package]]
name = "thiserror-impl"
version = "2.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.94",
]
[[package]] [[package]]
name = "thread_local" name = "thread_local"
version = "1.1.8" version = "1.1.8"
@ -5338,7 +5311,7 @@ dependencies = [
"objc2-foundation", "objc2-foundation",
"once_cell", "once_cell",
"png", "png",
"thiserror 1.0.63", "thiserror",
"windows-sys 0.59.0", "windows-sys 0.59.0",
] ]
@ -5362,7 +5335,7 @@ dependencies = [
"log", "log",
"rand 0.8.5", "rand 0.8.5",
"sha1", "sha1",
"thiserror 1.0.63", "thiserror",
"utf-8", "utf-8",
] ]
@ -5380,7 +5353,7 @@ dependencies = [
"log", "log",
"rand 0.8.5", "rand 0.8.5",
"sha1", "sha1",
"thiserror 1.0.63", "thiserror",
"utf-8", "utf-8",
] ]
@ -5843,7 +5816,7 @@ version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3a3e2eeb58f82361c93f9777014668eb3d07e7d174ee4c819575a9208011886" checksum = "a3a3e2eeb58f82361c93f9777014668eb3d07e7d174ee4c819575a9208011886"
dependencies = [ dependencies = [
"thiserror 1.0.63", "thiserror",
"windows", "windows",
"windows-core 0.58.0", "windows-core 0.58.0",
] ]
@ -6237,7 +6210,7 @@ dependencies = [
"sha2", "sha2",
"soup3", "soup3",
"tao-macros", "tao-macros",
"thiserror 1.0.63", "thiserror",
"webkit2gtk", "webkit2gtk",
"webkit2gtk-sys", "webkit2gtk-sys",
"webview2-com", "webview2-com",

View File

@ -8,22 +8,22 @@ edition = "2021"
[dependencies] [dependencies]
chrono = { version = "0.4.39", features = ["serde", "unstable-locales"] } chrono = { version = "0.4.39", features = ["serde", "unstable-locales"] }
dioxus = { version = "0.6.3", features = ["fullstack", "router"] } dioxus = { version = "0.6.1", features = ["fullstack", "router"] }
feruca = { version = "0.10.1" } feruca = { version = "0.10.1" }
serde = { version = "1.0.217" } serde = { version = "1.0.217" }
serde_json = { version = "1.0.138" } serde_json = { version = "1.0.134" }
serde_with = { version = "3.12.0", features = ["chrono_0_4"] } serde_with = { version = "3.12.0", features = ["chrono_0_4"] }
tracing = "0.1.41" tracing = "0.1.41"
unic-langid-impl = { version = "0.9.5", features = ["serde"] } unic-langid-impl = { version = "0.9.5", features = ["serde"] }
validator = { version = "0.19.0", features = ["derive"] } validator = { version = "0.19.0", features = ["derive"] }
diesel = { version = "2.2.7", features = ["chrono", "postgres", "postgres_backend", "serde_json"], optional = true } diesel = { version = "2.2.6", features = ["chrono", "postgres", "postgres_backend", "serde_json"], optional = true }
diesel_migrations = { version = "2.2.0", features = ["postgres"], optional = true } diesel_migrations = { version = "2.2.0", features = ["postgres"], optional = true }
dotenvy = { version = "0.15.7", optional = true } dotenvy = { version = "0.15.7", optional = true }
time = { version = "0.3.37", optional = true } time = { version = "0.3.37", optional = true }
async-std = { version = "1.13.0", optional = true } async-std = { version = "1.13.0", optional = true }
dioxus-i18n = { version = "0.4.2", optional = true } dioxus-i18n = { version = "0.3.0", optional = true }
dioxus-query = { version = "0.6.0", optional = true } dioxus-query = { version = "0.6.0", optional = true }
voca_rs = { version = "1.15.2", optional = true } voca_rs = { version = "1.15.2", optional = true }

View File

@ -3,7 +3,14 @@
# App (Project) Name # App (Project) Name
name = "todo-baggins" name = "todo-baggins"
# For font files to get referenced in CSS files by their original names, without the hash Dioxus appends. # Dioxus App Default Platform
# web, desktop, fullstack
default_platform = "fullstack"
# `build` & `serve` dist path
out_dir = "dist"
# resource (assets) file folder
asset_dir = "assets" asset_dir = "assets"
[web.app] [web.app]
@ -11,17 +18,10 @@ asset_dir = "assets"
# HTML title tag content # HTML title tag content
title = "Todo Baggins" title = "Todo Baggins"
# include `assets` in web platform [web.watcher]
[web.resource]
# Additional CSS style files # when watcher trigger, regenerate the `index.html`
style = [] reload_html = true
# Additional JavaScript files # which files or dirs will be watcher monitoring
script = [] watch_path = ["src", "assets"]
[web.resource.dev]
# Javascript code file
# serve: [dev-server] only
script = []

View File

@ -1,8 +1,7 @@
# 1.83.0-bookworm # 1.83.0-bookworm
FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b
RUN cargo install dioxus-cli --version 0.6.3 \ RUN cargo install dioxus-cli diesel_cli
&& cargo install diesel_cli --version 2.2.7
COPY . /srv/app COPY . /srv/app
WORKDIR /srv/app WORKDIR /srv/app

View File

@ -1,26 +1,23 @@
# 1.83.0-bookworm
FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b AS builder FROM rust@sha256:a45bf1f5d9af0a23b26703b3500d70af1abff7f984a7abef5a104b42c02a292b AS builder
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN cargo install dioxus-cli diesel_cli \
&& apt-get update && apt-get install -y --no-install-recommends \
nodejs=18.19.0+dfsg-6~deb12u2 \ nodejs=18.19.0+dfsg-6~deb12u2 \
npm=9.2.0~ds1-1 \ npm=9.2.0~ds1-1 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/*
&& cargo install dioxus-cli --version 0.6.3 \
&& cargo install diesel_cli --version 2.2.7
COPY . /srv/app COPY . /srv/app
WORKDIR /srv/app WORKDIR /srv/app
RUN npm install \ RUN npm install \
&& npm run build \ && npm run build \
&& dx bundle && dx build --release
# bookworm
FROM debian@sha256:b877a1a3fdf02469440f1768cf69c9771338a875b7add5e80c45b756c92ac20a AS runner FROM debian@sha256:b877a1a3fdf02469440f1768cf69c9771338a875b7add5e80c45b756c92ac20a AS runner
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends libpq5=15.10-0+deb12u1 \ && apt-get install -y --no-install-recommends libpq5=15.8-0+deb12u1 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

View File

@ -35,10 +35,10 @@ pub(crate) fn App() -> Element {
rsx! { rsx! {
document::Link { rel: "icon", href: FAVICON } document::Link { rel: "icon", href: FAVICON }
document::Stylesheet { href: TAILWIND_CSS } document::Link { rel: "stylesheet", href: TAILWIND_CSS }
document::Stylesheet { href: FONTS_CSS } document::Link { rel: "stylesheet", href: FONTS_CSS }
document::Stylesheet { href: INPUT_NUMBER_ARROWS_CSS } document::Link { rel: "stylesheet", href: INPUT_NUMBER_ARROWS_CSS }
document::Stylesheet { href: INPUT_RANGE_CSS } document::Link { rel: "stylesheet", href: INPUT_RANGE_CSS }
document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" } document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" }
div { div {

View File

@ -15,7 +15,7 @@ pub(crate) fn TaskListItem(task: TaskWithSubtasks) -> Element {
div { div {
class: "flex flex-col", class: "flex flex-col",
div { div {
class: "mt-1 grow font-medium", class: "mt-2 grow font-medium",
{task.task().title()} {task.task().title()}
}, },
div { div {