Commit Graph

11 Commits

Author SHA1 Message Date
Joseph Cruz 65b7603192
fix(ci): address clippy issue (#2278)
* fix(ci): address clippy issue
* fix(ci): add missing nightly specifications
* fix(ci):  set all nightly references
* chore(ci): do not lint example crates
2024-02-09 16:30:11 -05:00
Steffen 06721c5fcd
examples: fix typos in examples (#2260) 2024-02-05 05:20:53 -05:00
Greg Johnston 7d1ce45a57
chore: minimize features activated with `leptos_axum`'s default feature (#1846) (#2213)
- `leptos_axum` default feature:
  - remove `tokio/full`, `axum/macros`
  - add `tokio/fs`, `tokio/sync`
- example `leptos-tailwind-axum`:
  - enable `tokio`'s `rt-multi-thread` and `macros` features
- example `ssr_modes_axum`:
  - enable `tokio`'s `rt-multi-thread` and `macros` features

Co-authored-by: Paul Nettleton <paulnett7@hotmail.com>
2024-01-21 15:22:46 -05:00
Greg Johnston 1d1de4ac38 remove `cfg-if` from all examples 2024-01-19 14:16:58 -05:00
Greg Johnston 31b2b9e94c remove explicit `handle_server_fns` in most cases because it's now included in `.leptos_routes()` 2024-01-19 14:16:58 -05:00
Daniel Santana cadd217078 Update integration with support for axum 0.7 (#2082)
* chore: update to axum 0.7

Removed http, since it's included in axum, and replaced hyper by http-body-util, which is a smaller.

* chore: update samples to work with nre axum

Missing sessions_axum_auth, pending PR merge.

* chore: all dependencies update to axum 0.7

* chore: cargo fmt

* chore: fix doctests

* chore: Fix example that in reality doesn't use axum.

Fixed anyway.

* chore: more examples support for axum 0.7

* Small tweak
2024-01-19 14:13:55 -05:00
webmstk 2d70229608
chore: add rust-toolchain.toml to examples (closes #2151) (#2161) 2024-01-07 15:29:54 -05:00
Simon Richard b578ec82d7
examples: change output names to clarify Tailwind examples (#2102) 2023-12-11 20:25:10 -05:00
martin frances 731b028b11
chore: Bump http from 0.2.8 to 0.2.11. (#2068) 2023-11-29 07:36:03 -05:00
Greg Johnston b578660624
docs: make it easy to see how to run each example in its README (#2085) 2023-11-28 11:47:56 -05:00
Azzam S.A 07f2cbfbba
examples: rename Tailwind examples (#1875) 2023-10-13 16:20:26 -04:00