martin frances
777b5e1e54
chore: examples - bumped version numbers for sqlx and this error. ( #4126 )
2025-07-19 21:19:32 -04:00
Saber Haj Rabiee
8bc4fd4198
Introducing cargo all-features clippy|nextest part of build process ( #3767 )
...
* fix: intoducing cargo all-features clippy
* fix: change check to clippy for better diagnostics
* chore: build is redundant
* fix: lint task
* feat: speed up tests by 2x with cargo-nextest
* fix: re-add flags
* fix: router example build process
* fix: correct clippy arguments
* fix: adapt examples makefile to new tools
* fix(CI): add cargo-all-features part of CI dep
* fix: just warn if there is no tests
* fix(CI): add clippy and rustfmt components
* fix: nextest in examples
* fix: clippy should not run on empty set of features in examples
(quickfix)
* fix: pin cargo-all-features installation to a branch
* fix: nextest --no-tests=warn?
* fix: do not use built-in cargo-make workflows
* fix: remove --all-targets
* fix: do not run tests in parallel in certain examples
* fix: disable nextest for examples
* fix: properly override the make task
* chore: run tests with no-deps
* fix: hackernews_islands_axum
* fix(CI): properly use --no-deps
* fix(CI): --no-deps is not supported in tests
* fix(CI): run doctests separately due to stable rust limitation in nextest
* fix(examples): makefile lint recursion
* fix(CI): run tests correctly
* fix: remove unused clear in test makefile
* fix: --no-deps positional arg in clippy
* fix: run doctests for all-features
* fix: running cargo-all-features over doctests
* fix: improve playwright makefile
2025-04-07 08:57:01 -07:00
Saber Haj Rabiee
f24e804985
fix(CI): toolchain will be determined and test against by CI ( #3778 )
...
* fix(CI): toolchain will be determined and test against by CI
* chore: formatting examples
* fix: clippy
2025-03-23 10:10:52 -07:00
Greg Johnston
713abb3072
chore: ensure WASM target is installed for examples with provided rust-toolchain.toml ( closes #3717 ) ( #3752 )
2025-03-21 16:38:35 -04:00
Saber Haj Rabiee
35e6f17930
chore: upgrade axum to v0.8 ( #3439 )
2025-01-17 13:38:37 -05:00
zakstucke
396327b667
feat: Option<T> read-like traits & deprecate MaybeSignal ( #3098 )
2024-10-25 13:41:26 -04:00
Saber Haj Rabiee
e01dfbf497
fix: update to wasm-bindgen 0.2.93 ( #2827 )
2024-08-13 15:21:57 -07:00
Saber Haj Rabiee
b3e2040ec9
chore: upgrade dependencies ( #2765 )
2024-08-10 20:01:41 -04:00
Ben Wishovich
c676cf921d
Make get_configuration sync ( #2647 )
...
* Made get_configuraiton sync
* Update examples
2024-08-01 19:42:49 -04:00
Greg Johnston
ae14644806
update static file serving in Axum examples
2024-08-01 19:42:21 -04:00
Greg Johnston
417d345b83
examples: errors_axum
2024-08-01 19:42:21 -04:00
Rakshith Ravi
98ea18009d
Update import statements in examples ( #2625 )
2024-08-01 19:41:56 -04:00
Greg Johnston
ab1c4ca7a6
chore(ci): run all examples under stable and fix remaining linting issue ( #2503 )
2024-04-05 16:09:23 -04:00
mahmoud-eltahawy
a1a989011a
chore(ci): move all examples to run on stable ( #2501 )
2024-04-05 14:57:48 -04:00
Sam Judelson
ca07d29db5
stable examples change ( #2497 )
2024-04-04 20:11:28 -07:00
Greg Johnston
41f3c46830
chore: bump nightly version in examples ( #2479 )
2024-04-01 15:16:53 -04:00
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
8f07818687
nicer formatting, remove cfg-if
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
Greg Johnston
3f2a9facf8
change: enable inline children for For by switching to children and bind: ( #1773 )
2023-09-26 14:24:02 -04:00
Nico Burniske
38d1727e9c
change: generate_route_list no longer async in any integration ( #1485 )
2023-09-22 15:42:58 -04:00
Joseph Cruz
e384d53996
doc(examples): reference run instructions ( #1705 )
2023-09-13 19:57:50 -04:00
Joseph Cruz
c11c4b0e3e
build(examples): make it easier to run examples ( #1697 )
...
* build(examples): support process management
* build(examples): manage trunk
* build(examples): manage cargo leptos
* doc(examples): add run instructions
2023-09-12 10:46:16 -04:00
Greg Johnston
689022661d
change: move logging macros into a logging module to avoid name conflicts with log and tracing ( #1658 )
2023-09-08 07:42:58 -04:00
Greg Johnston
dbc707adcd
feat/change: adopt reactive ownership model and drop cx/Scope ( #918 )
2023-08-21 19:31:37 -04:00
Joseph Cruz
8c5ab99fa7
build(examples): pull up compile tasks ( #1417 )
...
* build(examples): pull up compile tasks
* build(examples): set toolchain for compiles tasks
* build(examples): set toolchain for build and check
* build(examples): set toolchain of other examples
2023-07-24 11:35:34 -04:00
Greg Johnston
cc52c94348
docs/examples: use shorthand form for <Route/> views when possible ( #1375 )
2023-07-20 16:28:43 -04:00
Greg Johnston
ee7dbafc85
change: migrate to nightly and csr features rather than stable and default-features = false ( #1227 )
2023-06-26 21:12:14 -04:00
Greg Johnston
2cb8171105
docs: document <ErrorBoundary/>/<Suspense/> relationship ( #1210 )
2023-06-21 11:17:20 -04:00
Greg Johnston
bb10b32200
feat: register server functions automatically ( #1154 )
2023-06-11 09:09:21 -04:00
agilarity
53e09279a2
ci(examples): verify examples ( #1125 )
2023-06-01 22:12:18 -04:00
agilarity
dfd03d4f27
fix(examples): verification errors ( #1113 ) ( #1115 )
...
* fix(examples/counters): unexpected each item comment
* fix(examples/errors_axum): format error
* fix(examples/ssr_modes_axum): format error
* fix(examples/ssr_modes_axum): unused import
* build(examples/timer): add common tasks
* fix(examples/timer) clippy error
2023-05-28 18:00:42 -04:00
Ben Wishovich
06d28f7d67
feat: use Axum SubStates to enable .with_state in Axum router ( #1085 )
2023-05-24 08:34:17 -04:00
Matt Crane
add13fd6a4
change: migrate Axum integration to use with_state over layer(Extension) ( #1032 )
2023-05-14 06:37:39 -04:00
agilarity
9997487a9c
test: lint examples with --all-features ( #1008 )
...
* test: lint all features
* fix(counter_isomorphic): check-style issues
* fix(errors_axum): check-style issues
* fix(hackernews): check-style issues
* fix(hackernews_axum): check-style issues
* fix(session_auth_axum): check-style issues
* build(session_auth_axum): add common tasks
* fix(ssr_modes): check-style issues
* build(ssr_modes_axum): add common tasks
* fix(ssr_modes_axum): check-style issues
* build(tailwind): add common tasks
* fix(tailwind): check-style issues
* fix(todo_app_sqlite_axum): check-style issues
* fix(todo_app_sqlite_viz): check-style issues
2023-05-05 22:25:29 -04:00
agilarity
b4996769c1
fix: lint issues in errors_axum example ( #988 )
2023-05-05 11:23:59 -04:00
Greg Johnston
328d42656d
docs: compile error on mutually-exclusive features ( #911 )
2023-04-21 12:25:21 -04:00
Igor Shevchenko
98a9ec8335
chore(docs): fix a few typos ( #756 )
2023-03-27 20:06:34 -04:00
Álvaro Mondéjar
509223ab2e
chore: Upgrade console_log to stable ( #724 )
2023-03-22 18:21:53 -04:00
Elliot Waite
a9f778459a
examples: remove duplicate console_error_panic_hook::set_once() calls ( #692 )
2023-03-17 16:27:24 -04:00
Greg Johnston
38daaf3b72
chore: apply cargo machete systematically ( #671 )
2023-03-13 10:16:20 -04:00
martin frances
a13468228a
Bumped tower-http upto 0.4. ( #638 )
2023-03-07 14:03:54 -05:00
Greg Johnston
00a796d204
change: tweak API of Errors and implement IntoIter ( #522 )
2023-02-15 14:03:16 -05:00
Greg Johnston
1dbcfe2861
change: reorganize module exports and reexports ( #503 )
2023-02-12 17:04:36 -05:00
Greg Johnston
c24874d9c8
change: add Scope to view function in <For/> to avoid memory "leak" ( #492 )
2023-02-08 20:28:04 -05:00
Greg Johnston
a2b31a51d9
fix: errors on 404 page in axum_errors example ( #485 )
2023-02-07 09:51:52 -05:00
Ben Wishovich
76aeb573bf
fix: convert site_address to site_addr to match cargo-leptos ( #462 )
2023-02-04 16:37:41 -05:00
Greg Johnston
6373fd42fb
Switch examples to check instead of build (for CI resources) and add missing examples ( #437 )
2023-02-01 20:36:37 -05:00