* Remove unused example module.
* Helpers for setting up site pkg static routes
- This provides a function that construct an underlying `ServeDir`
service and a function that constructs the typical path to serve the
assets from.
* Provide the error handler as a service
- Combined with the previous static ServeDir service, these two can work
together to provide the existing functionality, or be combined with
other tower services to allow more control and flexibility as they may
be composed with other services, while `file_and_error_handler` does
not permit such a level of reuse.
* Need to test default feature manually.
- For whatever reason the default feature isn't automatically added by
`cargo-all-features`.
* Integration tests for `leptos_axum`.
- Ensure the different ways to configure the services are tested to be
sure they will keep serving asset files and the expected error pages.
* Test for #4394
- This is separated out mostly to show how a new test case might be
added for an integration case viewable as a patch.
* Configure cargo-nextest to make new tests work
- Refer to comments added to relevant files for the issue this fixes.
* Remove hardcoding ports for axum test services
- Manuallying specifying ports will become annoying to keep track of for
every different tests, instead require the server to report the port
it started with and have parse that output into a helper type, which
in turn provides a method to construct uri required for testing.
* Improve `cargo-nextest` setup for leptos_axum
- Define `cargo-nextest` setup-script for the leptos_axum integration
tests so that `cargo leptos build` will run for the intended target,
while also disable the running of that by the test itself if the
environment variable associated with `cargo-nextest` is set.
- Instead of doing it directly from cargo as a more cross-platform
approach, using an actual script must be done given the need to pass
the environment variable in, hence both shell script and batch file
are provided.
* feat: switch `extract()` helper to use `ServerFnErrorErr`
This provides much better compatibility with server functions using
custom errors while still working as before with server functions using
`ServerFnError`
* style: apply autofix diff
* fix(CI): pre-install tailwind and sass
* chore: retrigger CI
* fix(CI): properly set `erased_mode` in examples
* fix(CI): workflow logic install deps locally
* chore(CI): organized tailwind and sass versions
* fix: properly ignore nightly features on stable rustc
* fix(CI): typo
* fix: missing cfg attr
* fix: properly gate nightly module in `reactive_graph``
* fix: complete `rustc_nightly` cfg gate
* fix(CI): making even more space for CI workers
* fix: missing one more rustc_nightly gated feature
* fix: maximize the speed of cargo-all-features by limiting combinations to 2
integrations/actix
leptos/server
oco
server_fn
This is a defensive PR - Putting the crate definition into the root
workspcace makes it less likely to get difficult to trace version
slip bugs.
This does not help where sede_json is optional so care manual review
is required.