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
4034aa9c11
feature: add isomorphic <Redirect/> component ( closes #412 ) ( #466 )
2023-02-04 10:02:17 -05:00
Gentle
f698f8badd
use latest tokio in leptos_axum ( #443 )
2023-02-02 17:00:49 -05:00
Bruno De Simone
e2cdbc746f
Add leptos_routes functions for integrations ( #415 )
...
* added leptos_routes_with_context
* added leptos_routes_with_handler for axum integration
2023-01-31 09:09:58 -05:00
Ben Wishovich
48cf8d9382
Switch RwLock to parking_lot so they are no longer async ( #414 )
2023-01-30 20:11:56 -05:00
Greg Johnston
62061f90ea
Add <Html/> and <Body/> components in leptos_meta ( #407 )
...
Closes #376 .
2023-01-29 19:07:48 -05:00
Greg Johnston
b861f84e40
Fix a large number of small issues in docs ( #386 )
...
* Fix example links in docs
* Restore missing CSR READMEs
* Document need to enable features on `leptos_router` and `leptos_meta`
* Add "Is it production ready?" to FAQs
* Document which types are provided as contexts in server integrations
* Fix broken links and other issues in docs
2023-01-26 21:44:01 -05:00
Gentle
815c2e6dc2
leptos_axum::handle_server_fns was also duplicated ( #383 )
2023-01-26 15:53:31 -05:00
Gentle
679692e202
cloning is not needed here ( #381 )
2023-01-26 13:05:44 -05:00
Gentle
be1343fa88
refactor to eliminate duplicate code ( #380 )
2023-01-26 13:04:59 -05:00
Ben Wishovich
9b0fb63632
Add methods to take Actix/Axum Extractors/Route Info/Stuff and pass it to Leptos ( #359 )
2023-01-23 07:28:05 -05:00
benwis
300cc4f54c
Actually Do It
2023-01-17 09:27:09 -08:00
benwis
70d92c7f42
Path and Query
2023-01-17 05:52:38 -08:00
benwis
81a937277d
Simplify URI matching solution
2023-01-16 22:35:22 -08:00
benwis
355e711964
Fix issue with https pathing for Axum integration
2023-01-16 22:18:39 -08:00
hakesson
884297706a
Search https://github.com/gbj/ and replace with https://github.com/leptos-rs/
2023-01-13 09:03:11 +01:00
Greg Johnston
cdf709fb09
0.1.0
2023-01-12 09:57:08 -05:00
Greg Johnston
a16540ccc5
Merge pull request #302 from martinfrances107/invalid_toml
...
Minor: "leptos.workspace = true" is invalid.
2023-01-11 20:48:51 -05:00
Martin
1621b86d8f
Minor: "leptos.workspace = true" is invalid.
2023-01-11 17:09:10 +00:00
hakesson
6471af8b89
Let data_fn return DataResponse
2023-01-11 12:08:44 +01:00
hakesson
abf54b832e
Improve naming and doc
2023-01-11 09:56:58 +01:00
hakesson
91e839c71a
data_fn returns Result
2023-01-11 09:08:07 +01:00
hakesson
339c920b19
Make data_fn take cloned HttpRequest
2023-01-10 18:55:45 +01:00
hakesson
3f036ee321
Fix refactoring error
2023-01-10 18:48:05 +01:00
hakesson
4e00ec2348
Add leptos_data_routes
2023-01-10 18:27:35 +01:00
hakesson
9c59b720b7
Improve fmt
2023-01-10 18:26:11 +01:00
hakesson
da4340894f
Extract fn provide_contexts
2023-01-10 18:18:25 +01:00
hakesson
02f5c3891c
Extract fn leptos_corrected_path
2023-01-10 18:06:24 +01:00
hakesson
087e67466f
Extract fn html_parts & stream_app
2023-01-10 18:03:11 +01:00
Greg Johnston
1613616008
Merge branch 'main' into workflow_cargo_fmt
2023-01-10 09:36:53 -05:00
Greg Johnston
8a01880ade
Merge pull request #293 from benwis/remove-deps
...
Remove a couple extra deps from the axum integration
2023-01-10 09:36:15 -05:00
hakesson
0547b4f846
Add missing semi-colon
2023-01-10 10:01:23 +01:00
henrik
75659ce674
Merge branch 'main' into workspace-multi-projects
2023-01-10 09:59:44 +01:00
hakesson
1f556cefb0
Default to serve root
2023-01-10 09:52:21 +01:00
hakesson
6a68ef67f3
Add LEPTOS prefix to OUTPUT_NAME in all files
2023-01-10 09:26:10 +01:00
Martin
23bbd90c81
Policy change ( part 2 ) added rule of enforcing cargo fmt.
2023-01-10 08:20:02 +00:00
benwis
27b8553076
Remove a couple extra deps from the axum integration
2023-01-09 23:46:07 -08:00
Greg Johnston
b8cafeb650
Merge pull request #289 from gbj/forbid-unsafe
...
Forbid `unsafe` code in all packages
2023-01-09 20:45:28 -05:00
Greg Johnston
5df89b0d25
Fix query parsing in Axum integration
2023-01-09 20:44:06 -05:00
Greg Johnston
4df3687463
Forbid unsafe code in all packages
2023-01-09 19:48:51 -05:00
Martin
c56806713e
Keeping up with changes to main.
2023-01-09 12:47:50 +00:00
Martin
3d25e86c23
Policy change: Workflow now enforce "cargo fmt".
2023-01-09 12:44:30 +00:00
benwis
dc60c35b58
Rewrite file handlers for Axum, and update all examples to use the new
...
generated routes. Fix a few issues in the integrations, and reduce the
number of warnings
2023-01-08 14:18:51 -08:00
benwis
1b8175e2fa
Add missing tokio dep for RwLock
2023-01-07 20:27:05 -08:00
Ben Wishovich
1d25134213
Merge branch 'main' into generated_routes
2023-01-07 14:58:26 -08:00
benwis
de73622949
Change Axum's "" matching
2023-01-07 14:53:38 -08:00
benwis
5d3cfc6483
Actix seems to be working now, plus applied Henrik's path recommendations
2023-01-07 14:49:25 -08:00
Greg Johnston
af7b93fa1e
Merge pull request #128 from akesson/workspace-features
...
Workspace features
2023-01-07 14:19:56 -05:00
Greg Johnston
a5e2587555
Merge pull request #261 from martinfrances107/Clippy_removed_clone_where_possible
...
Clippy: Removed stray calls to .clone().
2023-01-07 12:47:06 -05:00
Greg Johnston
af8889fab2
Merge pull request #262 from martinfrances107/uninlined_format_args
...
Minor: Clippy format!() all variables now inlined.
2023-01-07 12:42:56 -05:00